Home / Blog

Law

Do I Need a Cookie Banner? US, UK and EU Rules in Plain English

13 min readBy the ClearCrumb team

Do I need a cookie banner? If your site has visitors in the EU or the UK and uses anything beyond strictly necessary cookies, such as analytics, ads, pixels or video embeds, the answer is almost always yes, and the banner must ask before those load. In the US there is no federal cookie law, but state privacy laws such as California’s CCPA/CPRA can still mean you need a cookie banner or an opt-out link once you sell or share data for ads. This guide is for site owners, shop owners and agencies who want the US, UK and EU rules side by side in plain English.

Do I need a cookie banner? The short answer by region

Whether you need a cookie banner depends less on the word “cookie” than on two questions: what your pages store or read on a visitor’s device, and where your visitors are. A site with no tracking at all may not need one anywhere. A site with Google Analytics 4, a Meta Pixel or a YouTube embed almost certainly does in Europe.

Region Main rules Model Do you need a cookie banner?
EU and EEA ePrivacy Directive Article 5(3), national laws, GDPR for what consent means Opt-in: ask first Yes, as soon as anything optional is stored or read
United Kingdom PECR regulation 6 as amended by the Data (Use and Access) Act 2025, UK GDPR Opt-in, with a few new exceptions Yes for ads, pixels and most embeds; some analytics may qualify for an exception
United States No federal cookie law; state laws such as CCPA/CPRA Opt-out of sale or sharing Not always; you may need a “Do not sell or share” choice and to honour Global Privacy Control
Switzerland Revised Federal Act on Data Protection (FADP) Information and a way to refuse; many sites treat it like the EU Often used anyway, because EU visitors arrive too
Do I need a cookie banner: opt-in rules in the EU and UK compared with opt-out rules in the US
Europe asks first; most US state laws let visitors say no afterwards.

What does a cookie banner actually have to do?

A banner is only the visible part. The real job is the blocking behind it: under an opt-in rule, optional scripts must wait until the visitor says yes. A box that says “this site uses cookies” while Google Analytics already runs is a notice, not consent. European regulators treat that as a breach, however nice the banner looks.

So when people ask whether they need a cookie banner, the better question is whether they need consent before something loads. If yes, the banner has to offer a real choice: “Reject all” as easy as “Accept all”, no pre-ticked boxes, clear words about who sets which cookies, and a way to change your mind later. The GDPR’s definition of consent (freely given, specific, informed and unambiguous) sets that bar in the EU and the UK.

Under an opt-out rule, as in most US states, the job is different. Tracking may start straight away, but visitors must be able to stop the sale or sharing of their data, and in several states your site must treat a browser signal such as Global Privacy Control as that request. You may still need a cookie banner for that, or a clear link in the footer can do the job.

When do EU websites need a cookie banner?

In the EU and the wider EEA, the rule comes from Article 5(3) of the ePrivacy Directive, which each country has written into national law (for example the TDDDG in Germany). It says a site may store or read information on a user’s device only with consent, unless that storage is strictly necessary for a service the user asked for, or only used to carry a communication. The rule covers cookies, local storage, pixels and fingerprinting alike.

That means an EU site does not need a cookie banner for a login session, a shopping cart, a load balancer or a cookie that remembers a refusal. It does need a cookie banner, with real blocking, for statistics, advertising, social media widgets and most video and map embeds. The European Data Protection Board explains the conditions for valid consent in its Guidelines 05/2020 on consent.

Regulators enforce this. In January 2022 the French regulator CNIL announced fines of 150 million euros for Google and 60 million euros for Facebook, because refusing cookies took more clicks than accepting them. Smaller sites usually face complaints for simpler faults: trackers that fire before any choice. Our post on the cookie banner leak test shows how to spot those in the browser.

A US or UK business with EU customers is in scope too. The GDPR applies to organisations outside the EU when they offer goods or services to people in the EU or monitor their behaviour, and EU national cookie laws generally follow the same reach. If you ship to Germany or run ads at France, plan as if you need a cookie banner.

Does a UK site still need a cookie banner after the Data (Use and Access) Act?

In most cases, yes. The UK rule is regulation 6 of the Privacy and Electronic Communications Regulations (PECR). The Data (Use and Access) Act 2025 rewrote it: section 112 and Schedule 12 of the Act keep the general ban on storing or reading information on a device without consent, but move the exceptions into a new Schedule A1 to PECR and add some new ones. According to the commencement regulations on legislation.gov.uk (SI 2026/82), section 112 and Schedule 12 came into force on 5 February 2026, so far as they were not already in force.

The ICO’s guidance on the exceptions lists five cases where no consent is needed: carrying a communication, strictly necessary storage, statistical purposes, adapting the site’s appearance or functions, and locating a device for emergency help. The two new ones that matter for most websites are statistics and appearance.

The statistics exception has conditions. As we read the ICO page (checked October 2026), the sole purpose must be aggregate statistics to improve your own service; you must explain it clearly and offer a simple, free way to object; data must not be used to track or profile individuals; and an analytics provider may only act on your behalf, not reuse the data. Advertising is excluded from every exception, so ads, ad measurement, pixels and retargeting still need consent.

So does a UK site still need a cookie banner? If you only run privacy-friendly analytics that fits the exception, you may not need consent for it, though you still need clear information and an objection route. Once you add Google Ads, a Meta Pixel, a YouTube embed or analytics shared for advertising, you need a cookie banner with real consent again. Whether a mainstream tool such as Google Analytics 4 fits the exception depends on how it is configured and on the provider’s terms; ask your lawyer.

An honest note on ClearCrumb: the plugin treats the UK exactly like the EU, as strict opt-in. That is the cautious default, but there is currently no setting that runs statistics without consent under the new UK exception. If you rely on that exception, you would place that analytics outside the consent categories yourself.

Need a cookie banner in the UK: what the new exceptions cover and what still needs consent
The UK exceptions are narrow; anything to do with advertising still needs a yes.

Does a US website need a cookie banner?

Not by federal law: the US has no national cookie consent rule. The question is answered state by state. California’s CCPA, as amended by the CPRA, and the comprehensive privacy laws of more than a dozen other states mostly follow an opt-out model. They apply only to businesses that meet thresholds set in each law, such as revenue or the number of consumers whose data they handle, so check the thresholds for every state you serve.

If a covered business “sells” or “shares” personal information, and ad pixels or cross-site tracking often count as that, it must offer a way to opt out, typically a “Do Not Sell or Share My Personal Information” link. California’s regulations, and several other states, also require businesses to treat an opt-out preference signal such as Global Privacy Control as a valid opt-out. Our guide to Global Privacy Control covers how that signal works and which browsers send it.

So a small US blog with no ads and no analytics sharing may not need a cookie banner at all. A US shop running a Meta Pixel and Google Ads for California customers may need a cookie banner, or at least an opt-out banner and link, plus GPC support. Some states require opt-in for sensitive data, and EU or UK visitors bring their own rules.

Which cookies need consent, and which do not?

This table shows how common website features usually fall under each model. It is a starting point for your own review, not a ruling on your site.

Feature EU / EEA UK US (state laws)
Login, cart, security, load balancing No consent needed No consent needed No opt-out needed
Remembering a consent choice No consent needed No consent needed No opt-out needed
Language or layout preference Often consent, unless strictly necessary May fit the appearance exception, with an objection route Usually fine
Analytics (GA4, Clarity) Consent first Consent, unless it truly fits the statistics exception Usually fine; opt-out if data is shared for ads
Ad pixels, retargeting Consent first Consent first Opt-out of sale or sharing, honour GPC
YouTube, Vimeo, Google Maps embeds Consent first, or a placeholder Consent first, or a placeholder Usually fine

A pattern stands out: the more a feature serves advertising, the more likely every region asks for a choice. If your site has none of the rows below the first two, you may not need a cookie banner at all; a clear privacy notice can be enough.

How to decide in five steps

Here is the routine we suggest when someone asks “do I need a cookie banner?” about a real site. It takes under an hour for a typical business site.

  1. List what loads. Run the free Cookie Banner Checker on your home page and one page of each type. It reads the page as a first-time visitor and names the services it finds, by category.
  2. Sort each service. Mark it necessary, preferences, statistics or marketing. Be strict: “we need it for the business” is not the same as “strictly necessary for the service the visitor asked for”.
  3. Find out where visitors come from. Check your analytics or server logs for EU, UK and US traffic, and note whether you sell, ship or advertise to those places.
  4. Apply the rules per region. Any optional service plus EU or UK visitors means you need a cookie banner that blocks before consent. Ad pixels plus US visitors in states with privacy laws means an opt-out choice and GPC support, if you meet the thresholds.
  5. Write it down. Update your cookie policy with every service and its purpose, and keep a dated note of your decision. The free Cookie Policy Generator writes a first draft for EU, UK and US visitors that you can review with your lawyer.
Do I need a cookie banner: five steps from listing what loads to writing the cookie policy
Five steps to a decision you can explain later.

Repeat it after adding a plugin, video, chat widget or Google Tag Manager tag: one marketing plugin can mean you suddenly need a cookie banner.

Setting up region rules with ClearCrumb

ClearCrumb is a free cookie consent plugin for WordPress by Dotance. It can show each visitor the rule for their region from one install, so you do not need a cookie banner per country. The settings sit in the WordPress admin under ClearCrumb → Banner, in the Regions card:

  1. Switch on Different rules per region.
  2. EU, EEA, UK, Switzerland is fixed to Opt-in: nothing optional loads before a yes, and Reject all sits next to Accept all with the same look.
  3. For United States, pick Opt-out + Global Privacy Control (the default) or Opt-in (like the EU).
  4. For Rest of the world, pick Opt-in (safest), Notice: everything runs, visitors can change it, or No banner, only the settings button.
  5. Click Save banner.

The region comes from a country header your host or Cloudflare adds, with no IP database and no remote lookup; when there is none, the visitor’s timezone decides. When the region stays unknown, ClearCrumb uses opt-in. In the US opt-out mode, the banner is titled “Your privacy choices” and offers “Do not sell or share my info”. When a US visitor’s browser sends Global Privacy Control, ClearCrumb saves an opt-out of marketing without asking and shows a short note that the signal is honoured.

The region rules documentation covers the details, including caching. ClearCrumb Pro adds a rule per US state. One honest limit, repeated from above: there is no UK setting for the new statistics exception, so the UK always gets the same opt-in banner as the EU.

Common mistakes

These come up when owners decide they do not need a cookie banner, or install one that only informs.

Mistake What happens Fix
“We are a US company, so EU rules do not apply” EU and UK visitors are tracked without consent Use region rules: opt-in for Europe, opt-out for the US
A notice banner with no blocking Trackers load before any choice Use a tool that holds scripts until consent, then test it
Treating all analytics as exempt in the UK Analytics shared for ads runs without consent Check each condition of the statistics exception, or keep consent
No “Reject all” on the first layer Refusing is harder than accepting, a common complaint Show Reject all next to Accept all, same size and style
Ignoring Global Privacy Control A legal opt-out signal is not honoured in some states Treat GPC as an opt-out of sale or sharing
Deciding once and never again A new plugin adds a tracker nobody reviewed Re-check after every front-end change

Already using a cloud consent tool and want the banner to run inside WordPress instead? The Cookiebot alternative and CookieYes alternative pages compare what each free plan covers. To see what your own site loads before anyone answers the banner, start with the free consent tools.

Frequently asked questions

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

For EU visitors, yes: Google Analytics sets cookies that are not strictly necessary, so it needs consent first. In the UK it needs consent unless your setup truly fits the statistics exception, which a lawyer should confirm. In the US it usually needs no banner unless the data is shared for advertising.

Do I need a cookie banner if my site sets no cookies?

The rules cover more than cookies: local storage, pixels and embeds that read the device count too. If your pages truly store and read nothing optional, you may not need a cookie banner, but test it rather than assume it.

Does a small business need a cookie banner?

In the EU and the UK, size does not matter: the cookie rules apply to every site. In the US, state privacy laws only apply above set thresholds, so a small local business may fall outside them.

Is a cookie banner enough on its own?

No. You also need a cookie policy that names each service, a working block before consent, a way to withdraw consent at any time, and often a record of the choices people made.

Do UK sites need a cookie banner for analytics after February 2026?

Possibly not, if the analytics meets every condition of the new statistics exception, which applies from 5 February 2026. Advertising-related purposes never qualify, so most sites with ads or pixels still need a cookie banner in the UK.

Can I show a cookie banner only to European visitors?

Yes, with region rules. Make sure unknown locations fall back to opt-in, and that page caching does not serve one visitor’s banner to everyone.

Summary

You need a cookie banner that asks first whenever optional storage or tracking reaches EU or UK visitors; the UK’s new exceptions are narrow and never cover advertising. In the US the duty is usually an opt-out of sale or sharing plus Global Privacy Control, for businesses the state laws cover. List what loads, sort it, map your visitors, then set the rules per region and test them. Facts checked October 2026.

This article explains how the rules work. It is not legal advice; ask a lawyer about your own situation.

Free on WordPress.org.

Consent Mode v2, Leak Test, GPC and a consent log, all in the free plugin.