Skip to content
Websites & online business

Cookie consent rules, and why most banners do not comply

A cookie banner is not a notice. In the EU and UK it is the mechanism by which consent is obtained before anything is written to a visitor's device, and if it appears after the tags have loaded it has recorded nothing. The US works the other way round — opt-out, increasingly through a browser signal rather than a button. This is what each regime actually demands, and where the common implementations fail.

7 min readPublished How we write these

The short version

  • In the EU and UK, consent must be obtained before a non-essential tracker is set. A banner that appears while the tags are already loading has recorded nothing.
  • Refusing must be as easy as accepting. The ICO expects an equally prominent "reject all" on the first layer; the CNIL has been ordering sites to add one since 2021.
  • Analytics is not "strictly necessary" anywhere. Since the Data (Use and Access) Act 2025 the UK has a separate statutory exception for it that runs on opt-out; the EU still requires consent.
  • Eleven US states require you to honour a universal opt-out signal such as Global Privacy Control from January 2026. That is code on your site, not a paragraph in a policy.

Two rules do almost all the work, and both are about sequence rather than wording. Consent has to arrive before the tracker does, and refusing has to cost the visitor no more effort than agreeing. Nearly every banner that has been found unlawful failed one of those two, with entirely reasonable text sitting on top of it.

The rule in the EU and UK comes from the ePrivacy Directive, implemented in the UK as regulation 6 of PECR: you may not store information on, or read information from, a user's device unless they have been given clear and comprehensive information and have consented. The consent standard is the GDPR one — a freely given, specific, informed and unambiguous positive act.

The consequence is an ordering requirement, and it is where implementations break. In September 2025 the CNIL fined Shein's Irish operating company €150 million after finding that advertising cookies were placed as soon as users arrived on the site, before they had interacted with the banner at all — and that when users did click "refuse all" or withdraw consent, new cookies were still set and existing ones were still read. The banner text was not the problem. The tag manager was.

The same visit, under two regimes

EU / UK (ePrivacy)

  • Consent before setting
  • Applies to any device storage
  • Analytics needs a basis
  • Reject on the first layer

Both

  • Name the third parties
  • Withdrawal always available
  • Honour the choice in code

US state laws

  • Opt-out after the fact
  • Sale and targeted ads only
  • Browser signal is binding
  • Sensitive data may need consent
The middle column is where both regimes agree, and it is the part most sites skip: a durable way to change your mind that is not the first-visit banner.

The strictly necessary exception is narrow and it is judged from the user's point of view, not the business's. A session cookie, a load balancer, a security token, the contents of a basket: essential to a service the user asked for. Analytics is not, however useful it is to you — the user did not ask to be measured.

The UK diverged here in 2025. The Data (Use and Access) Act added new exceptions to PECR, and the ICO finalised its guidance on 29 April 2026. Low-risk analytics can now fall inside a "statistical purposes" exception, and adapting how a site looks to a stated preference inside an "appearance" exception. Neither removes the transparency duty: you must still describe what you are doing and give a simple, free way to object. The EU has no equivalent, so a site serving both markets is running two rules at once.

How much permission each category needs

Session, security, basket
Site analyticsLanguage, layout
A/B testing
Advertising, social pixels

No consent, no opt-out

No consent, opt-out required (UK)

Consent before setting

Consent plus named third parties

The statistical and appearance bands are UK-only and run on objection, not consent. In the EU the same tags sit one band to the right.

Reject has to be as easy as accept

The ICO's published checklist for consent mechanisms is explicit: the mechanism must make it as easy to refuse as to accept, it must require a positive action before non-exempt technologies are set, and its good-practice illustration shows equally prominent "accept all" and "reject all" buttons on the first layer. Its bad-practice illustration is a banner offering "accept all" and "more options" with no reject.

The CNIL has been issuing formal orders on exactly this point since 2021, and the design failures it names are familiar: a coloured accept button beside a grey link, a reject that needs two clicks, a "continue browsing" that is treated as agreement. Article 7(3) of the GDPR adds the other half — it must be as easy to withdraw consent as to give it, which means a durable control somewhere on the site and not only a first-visit banner.

What a compliant mechanism has to do

  • Block every non-exempt tag until a choice is made, in the tag manager rather than in the banner script.
  • Show accept and reject with equal prominence on the first layer, in the same style and size.
  • Leave every non-essential toggle off by default on the second layer.
  • Name the third parties receiving data, or link clearly to where they are named.
  • Provide a persistent way back — a footer link or settings icon — to change or withdraw a choice.
  • Treat "continue browsing", scrolling and closing the banner as no answer at all.

Cookie policy template

The full text, free — the category descriptions, third-party disclosure and withdrawal language a banner has to be backed by. Draft it against your actual tag list, not the other way round.

Open

The US model is opt-out, and the signal is the hard part

US state privacy law does not require prior consent for ordinary tracking. It gives residents a right to opt out of the sale of personal information and of targeted advertising, and requires you to make that right easy to exercise. As of June 2026, 24 states have enacted comprehensive privacy statutes, with Indiana, Kentucky and Rhode Island among those taking effect during 2026.

The part that catches people is the universal opt-out mechanism. From January 2026, Connecticut and Oregon joined California, Colorado, Delaware, Maryland, Minnesota, Montana, New Hampshire, New Jersey and Texas in requiring sites to recognise a browser-level signal — in practice Global Privacy Control. Your site has to read the header and act on it without the visitor doing anything else. California's updated regulations went further from 1 January 2026 and require a business to show on the site that the signal has been processed.

If you sell into both markets, build for prior consent and let the opt-out fall out of it. The reverse does not work: an opt-out architecture cannot be retrofitted into consent-before-setting, because the tags have already fired. The same logic applies to the vendors behind the tags — whether they are your processors and what they may do with the data is a data processing agreement question, and it decides whether a US-style "we do not sell data" claim survives contact with your ad stack.

Neither PECR nor the UK GDPR sets a fixed expiry. The ICO's guidance says the right interval depends on the scope of the original consent, how often people visit and whether your tracking has changed, and gives six months as a general guideline before asking again — particularly where someone has refused. Re-prompting a visitor who said no, on every visit, in the hope of a different answer, is specifically called out as unfair. If your purposes change, you need fresh consent regardless of when the last one was given.

Article 7(1) of the GDPR puts the burden of proof on you: where processing is based on consent, the controller must be able to demonstrate that the person consented. In practice that means a record, per visitor, of what was shown, what was chosen, when, and against which version of your tracker list. Most consent platforms store this; almost nobody checks that theirs does, or tests that an export can be produced.

They answer different questions and are often wrongly merged. A privacy policy describes personal data across the whole business — what you collect, the lawful basis, retention, transfers, and the rights people can exercise. A cookie policy describes what is written to and read from the device, which is a narrower and much more concrete list, and it is the document the banner's second layer is really summarising.

What a cookie policy has to contain that a privacy policy will not

Cookie policy

The duration column is the one that reveals a stale policy: lifespans change every time a vendor updates its script, and nobody re-reads the page.

Both pages describe the same infrastructure, so write them from one inventory. The cookie policy and privacy policy templates are built to be filled in from a single audit, and the wider question of which pages a site is actually obliged to publish is covered in which legal pages your website needs.

What is coming, and what to build now

The European Commission's Digital Omnibus, published in November 2025, proposes moving terminal-equipment consent into the GDPR itself and making browser-level signals binding on controllers. It is a proposal in negotiation, not law, and the earliest realistic application is 2027 or later. Nothing in it changes what you must do today.

What it does tell you is the direction: away from per-site banners and towards machine-readable preferences expressed once. That is the same direction the US states have already taken. A site built to read and obey a signal, with the banner as the fallback for visitors who send none, is the version that survives both the current rules and the next set. A site built the other way round will be rebuilt.

General information, not legal advice. This guide explains how these documents and rules generally work. Law varies by jurisdiction and changes, and none of it is applied to your circumstances here. For anything consequential, consult a licensed attorney where you are.

Frequently asked

Do I need a cookie banner if I only use Google Analytics?

In the EU, yes — analytics is not strictly necessary and needs consent before the tag fires. In the UK the position changed with the Data (Use and Access) Act 2025: low-risk analytics can fall within a statistical purposes exception, so no consent is needed, but you must still tell visitors clearly and give them a simple, free way to object. You cannot rely on the UK exception for a visitor in the EU.

Is a "reject all" button legally required?

There is no statute that names the button, but the requirement it satisfies is real: refusing must be as easy as accepting. The ICO's consent checklist shows an equally prominent reject on the first layer as good practice and an accept-only banner as bad practice, and the CNIL has issued formal orders to sites without one. In practice, a first-layer reject is the only design that reliably meets the test.

What is the difference between a cookie policy and a privacy policy?

A privacy policy covers personal data across the business: what you collect, why, your lawful basis, how long you keep it, who you share it with and what rights people have. A cookie policy covers only what is stored on or read from the visitor's device, item by item, with purposes, recipients and durations. Many sites publish the cookie detail as a section of the privacy policy, which is acceptable if the detail is genuinely there.

Do I have to honour a Global Privacy Control signal?

If you handle the data of residents of a state that requires it, yes. From January 2026 eleven states, including California, Colorado, Connecticut, Oregon and Texas, require recognition of a universal opt-out mechanism. It is a server-side implementation: your site reads the signal from the browser and treats it as a valid opt-out request without asking the visitor to do anything more.

How often do I have to ask for cookie consent again?

No fixed period is set in law. The ICO suggests six months as a general guideline before asking again, weighted by how often people visit and whether your tracking has changed. Re-prompting someone who has refused, on every visit, is treated as unfair. You must ask again regardless of timing if you add a tracker or use an existing one for a new purpose.

Do the whole thing on your phone

Draft it, check it for risk, rewrite the clauses you do not like, sign it and send it — without opening a laptop.

  • 136 templates across 12 categories
  • AI review in plain English
  • Free every month — 3 documents, 2 reviews
Download on theApp Store
Free to download · no account

iPhone, iPad, Mac & Vision Pro · iOS 15.6+ · 76.1 MB
Premium from $1.99/week