Not legal advice. This is a plain-English explanation to help you prepare — not a substitute for a lawyer.
The rule behind cookie banners is short: nothing that is not strictly necessary runs until the visitor actively chooses it. Analytics included. Everything else — the buttons, the colours, the settings panel — is machinery for getting that one choice honestly.
Cookies sit under the ePrivacy rules, which operate alongside the GDPR. A replacement regulation was formally withdrawn in February 2025, so the existing Directive and the national laws built on it still govern what you may store on someone’s device, while the GDPR governs the standard that consent has to meet. For a founder, the practical effect is a single question: did the visitor say yes before anything fired?
What “strictly necessary” actually covers
A narrow list: session cookies, authentication, a shopping basket, and the security or load-balancing pieces that keep the service working. That is it. A cookie that only remembers a language or a theme still needs consent under most authorities’ reading — convenience is not necessity.
Analytics, advertising, heatmaps and social pixels are all non-essential. Where you use a legitimate-interest claim for other processing, it does not rescue a non-essential cookie: consent is the only basis that works.
What counts as consent
An active, affirmative step. Scrolling, closing the banner, or continuing to browse does not count, and neither does a pre-ticked box. A banner that looks tidy but sits on top of a tracker that already fired has not obtained anything at all.
The visitor’s choice also has to be real. Accepting and refusing must be equally easy — comparable wording, colour, size and position. Where a banner offers a consent button but no refusal option anywhere behind it, the European Data Protection Board’s own taskforce found that a large majority of authorities read that as an infringement. So put Refuse all on the first layer, one click, next to Accept.
Honesty about the edge: a minority of authorities test how much effort refusing takes rather than which layer the button sits on, and one large member state’s regulators fall into that group. So the design that survives everywhere is the one-click first-layer refusal — not because every authority insists on the layer, but because it satisfies all of them. What you cannot rely on is any reading that lets refusal take longer than consent.
The dark patterns to remove
- Accept highlighted, refusal rendered as a dim text link.
- Refusal tucked behind a settings menu that the visitor has to find.
- “Manage preferences” as the only visible alternative to accepting.
- Pre-ticked categories on the second layer.
- Withdrawal that takes more clicks than giving consent did.
Withdrawal, repeat asks, and records
Withdrawing has to be as easy as agreeing, which in practice means a permanent, visible route back into the settings — not a support email. Re-ask roughly once a year, and again whenever you add a tool that changes what the site does.
Then keep the evidence. Who consented, to what, when, and proof that nothing non-essential fired beforehand. Consent is not a state of mind you remember; it is a record you can show.
Test it in ten minutes
Open the site in a clean browser session with the network panel open and watch whether any third-party call fires before you touch the banner. Then count the clicks required to refuse, from the first screen. If the tracing fires early, or refusal costs more than acceptance, the banner needs fixing regardless of how it looks.
When to call a lawyer
Advertising technology you cannot classify, consent involving children, or a regulator’s question about a banner whose behaviour you cannot evidence.
If you change one thing this week
Put Refuse all on the first layer, one click, beside Accept — and make sure nothing non-essential fires before either button is pressed. Those two changes answer the finding regulators act on most often, and they cost you less than a banner that traces first and asks later. Everything else on this page is refinement.
Then write the date you checked it. A banner you tested once, and can describe, is worth more than a design you copied and cannot explain.
Not legal advice. Your national rules and your own setup decide the details, so verify both — and take a close call to a lawyer.
Last reviewed 9 November 2026. Where this page and a regulator disagree, the regulator is right: the ICO’s guidance at ico.org.uk for GDPR, and the California Attorney General’s page at oag.ca.gov/privacy for CCPA. Corrections that change this page get their own write-up on the blog.
Next: consent is a prerequisite, not a deliverable. The privacy-policy guide covers the notice that describes what your cookies do, the GDPR checklist places this at step four of twelve, and data subject requests is what happens when someone asks you to stop. Or go back to all the guides. Enforcement stories that change how a banner is read are collected on the blog.