Cookie Consent Banners Under GDPR and CCPA
What makes a banner legal on each side of the Atlantic - reject as easy as accept, nothing pre-ticked, GPC honored - and the fines behind each rule.
The cookie banner is the most-seen piece of marketing-adjacent design on the internet and most of them are illegal where they operate. Not subtly illegal, either. The two biggest failure patterns, no real reject option and interfaces tilted to manufacture a yes, are the exact things European regulators have fined nine figures over and written taskforce reports about. I wrote this guide because the banner usually belongs to marketing’s consent platform and nobody else claims it, so a marketer ends up owning a legal surface by default. It belongs to the ethics and privacy topic, next to the consent management guide that covers what happens after someone clicks.
The EU rules, reduced to four tests
Europe’s cookie rules come from the ePrivacy directive’s consent requirement plus GDPR’s definition of what consent is, and the case law has made the requirements concrete enough to design against. Four tests cover a banner.
Consent comes before the cookies. Non-essential cookies wait until the person agrees. A banner that “informs” while the trackers already fired is decoration on a violation.
Nothing pre-ticked, nothing passive. The Court of Justice settled this in Planet49: consent “is not validly constituted by way of a pre-checked checkbox which that user must deselect to refuse.” Scrolling and continued browsing don’t count either. Somebody has to actively say yes.
Refusing is as easy as accepting. This follows from Article 7’s conditions on consent being freely given, and it’s the test that caught the giants. In the CNIL’s decision against Facebook of 31 December 2021, a 60 million euro fine with a further 100,000 euros per day until fixed, the French regulator’s reasoning cited research that burying the refuse option one level deep raises consent rates by an average of 23.1 percentage points. That number deserves a moment, because it’s the quiet confession of the whole genre: the one-click-accept, three-click-reject banner isn’t a design accident. It’s a conversion optimization, measured and priced, and the regulator treated it as exactly that. The CNIL sanctioned Google the same day on the same reasoning, with an even larger penalty.
Choices are per purpose. Analytics, advertising and personalization get separate toggles, per the granularity requirement I unpacked in the consent management guide. “Accept all or go away” fails the freely-given test.
If you want the field survey of how banners fail these tests, the EDPB’s cookie banner taskforce report reads like a catalogue of what not to ship: a vast majority of authorities treat the absence of any reject option on the first layer as an infringement, and the report walks through the deceptive variants, reject links styled to vanish, button colors and contrast engineered to steer the click. Every one of those patterns is a cousin of the dark patterns the FTC fines on the US side.
The US rules run the other way
California’s model, and the US state-law pattern generally, is opt-out rather than opt-in: you don’t need prior consent to set cookies, but you must honor the person who says stop, and “says stop” includes their browser saying it for them. That last clause is the one marketers miss. In the Sephora settlement, $1.2 million in penalties, California’s Attorney General was explicit: “businesses must treat opt-out requests made by user-enabled global privacy controls the same as requests made by users who have clicked the ‘Do Not Sell My Personal Information’ link.” Sephora’s adtech stack counted as selling data and its site simply ignored the Global Privacy Control signal. No banner design saves you from that one, because GPC isn’t a banner interaction at all. It’s a header your site either respects or doesn’t, and testing it is a ten-minute job for whoever owns your consent platform.
So a US-facing banner strategy is less about the banner and more about the plumbing: the opt-out link where the law wants it, the GPC signal wired to actually suppress the adtech, and the vendor list honest about what counts as a sale or share. The full California picture is in my CCPA guide, and the EU legal map in the GDPR one.
The banner I’d actually ship
One design passes everywhere I operate, and I hold the opinion that it’s also the commercially smart one. First layer: a plain sentence about what you use cookies for, an Accept all button, a Reject all button of identical size and visual weight, and a Settings link. Settings layer: per-purpose toggles, all off by default, with purpose descriptions a human can parse. GPC honored automatically, no banner interaction required. Essential cookies exempt and genuinely essential. The consent record stored per visitor, because Article 7 makes you the one who has to prove it.
The commercial logic: the consent you lose by offering a real choice was mostly worthless anyway, a tracking permission from someone who’d have objected if asked honestly, feeding retargeting pools that perform worse than they report. The trust you gain is with exactly the visitors a first-party data strategy depends on. And the regulatory exposure you shed is the kind that arrives with per-day penalties attached.
FAQ
Do I need a banner at all if I only use analytics cookies? In most of Europe, yes, analytics cookies generally still need consent unless they qualify for narrow exemptions some countries carve out. In the US, a banner may not be required, but the opt-out machinery still is if your tools share data in ways state laws count as selling. The honest first step is a cookie audit: most sites are setting far more than anyone remembers installing.
Is “legitimate interest” a way around consent for cookies? No. The consent requirement for non-essential cookies comes from the ePrivacy rules, which don’t offer legitimate interest as an alternative for the storage and reading of cookies. Vendors who preload dozens of “legitimate interest” toggles in their consent platform are shipping you their legal risk.
Will a compliant banner tank my ad performance? It shrinks your consented pool and the measurable performance of what remains is more honest. The teams that feel this worst are the ones whose reporting leaned on attribution the consented pool no longer supports, which is a measurement problem with its own playbook, not a reason to run an illegal banner.
We’re US-only. Can I skip all the EU stuff? If you genuinely have no EU audience, the EU rules don’t reach you, but check the analytics before believing that, and note the US direction of travel: more states, GPC enforcement, dark-pattern scrutiny. Building the honest banner once costs less than rebuilding under a deadline with a regulator’s letter on the desk.
This guide belongs to the ethics and privacy topic. What valid consent requires after the click is in consent management for first-party data, the design tricks to avoid are in dark patterns in AI marketing, and the two legal maps are GDPR and CCPA.