The basic rule
Cookies and similar technologies that are not strictly necessary need the visitor's consent first. Consent must be freely given, specific, informed and clear.
What counts as necessary
Cookies that make a requested service work, such as a shopping basket or login, are usually exempt. Analytics and advertising usually are not, although some regulators treat limited analytics more leniently.
What a banner must do
Explain what the cookies do, let people accept or refuse as easily as each other and not load non-essential scripts until they agree.
Records and changes
Keep a record of consent and let people change their mind later.
Elsewhere
Some places only require notice and an opt-out. A cookie policy that names your tools helps in every case.
