GDPR cookie consent, without the dark patterns
Reject as easy as accept, region-aware banners, and the consent records regulators ask for.
Key takeaways
- In the EU, non-essential cookies and trackers generally need consent before they run, with limited exceptions that depend on the country and configuration. Since February 2026 the UK exempts some first-party analytics.
- Rejecting should be as easy as accepting, and regulators have fined companies whose banners made it harder.
- You must be able to prove consent: what each visitor chose, when, and which banner version they saw.
When a website needs cookie consent
The ePrivacy Directive (opens in a new tab) requires consent to store or read anything on a visitor's device unless it's strictly necessary for a service they asked for. The GDPR (opens in a new tab) defines what valid consent means.
In the EU, analytics, ad pixels, session replay and embedded video players usually need consent. Some regulators, such as France's CNIL, allow narrow exemptions for audience measurement set up under strict conditions. Login, cart, security and consent-choice cookies don't need consent.
The UK's 2026 exemption for some first-party analytics needs clear notice and an easy way to object, and never covers advertising; see the ICO's guidance on storage and access technologies (opens in a new tab).
What valid consent looks like
Article 4(11) of the GDPR (opens in a new tab) requires consent that is:
- Freely given: access can't depend on accepting.
- Specific: analytics and advertising chosen separately.
- Informed: says who collects data and why.
- Unambiguous: a click on Accept, not scrolling or a pre-ticked box (Planet49 judgment (opens in a new tab), 2019).
Article 7 (opens in a new tab) adds that withdrawing must be as easy as consenting; the EDPB's Guidelines 05/2020 on consent (opens in a new tab) explain how.
The dark patterns regulators fine
In January 2022 the CNIL fined Google €150 million and Facebook €60 million (opens in a new tab) because accepting took one click and refusing took several. The EDPB's cookie banner taskforce report (opens in a new tab) lists other common problems:
- No reject option on the first layer.
- Pre-ticked purpose boxes.
- Reject as a faint link while accept is a prominent button.
- Non-essential cookies labeled essential, or justified by legitimate interest.
A widely recommended design: Accept all and Reject all as equal buttons on the first screen, Customize beside them, and a persistent link to reopen the choices.
One banner, many regions
| Region | Model | What the banner must do |
|---|---|---|
| EU and EEA | Opt-in | Block non-essential cookies until accepted; reject as easy as accept |
| UK | Opt-in, with exemptions | Same as the EU, minus qualifying first-party analytics |
| California and other U.S. states with privacy laws | Opt-out | A Do Not Sell or Share link, and honor Global Privacy Control |
| Most other regions | Notice | Explain cookie use; follow local rules |
California requires businesses to treat a Global Privacy Control (opens in a new tab) signal as an opt-out; see our CCPA page. The ComplyMo cookie manager can apply different consent settings by visitor region from one install: opt-in controls for Europe, and opt-out controls elsewhere by default, including U.S. states.
The consent records you need to keep
Article 7(1) puts the burden of proof on you. A useful record captures:
- A pseudonymous visitor or browser ID, not a name.
- Date, time and choice by category.
- The banner version and region that applied.
- Later changes, including withdrawals.
ComplyMo keeps this consent log automatically and exports it to CSV. Start a free trial to turn on the banner with auto-blocking, and read ADA website compliance in 2026 for the accessibility side.
Google Consent Mode v2
Since March 2024 Google has expected banners on EEA traffic to send Consent Mode v2 (opens in a new tab) signals, or it limits audience building and ad personalization. Consent Mode isn't blocking: other trackers still need holding back, as our guide to why trackers fire before consent explains.
General information, not legal advice. Confirm your obligations with counsel.

