Do I Need a Cookie Banner on My Website? (2026)

Show article contentsHide article contents
- Why this question is harder than it sounds
- Check if your website needs a cookie banner
- What counts as a "cookie" under the law
- The hidden cookies on your website
- What "strictly necessary" actually means
- Where the rules differ
- What happens if you get it wrong
- How to not need a cookie banner
- The rules are changing
Only 15% of cookie banners meet minimum GDPR requirements. So even most of the banners that exist are broken. The answer depends on three things: what your website stores on the visitor's device, where your visitors are, and which tools you use. And 43% of websites set tracking cookies without valid consent, so plenty of sites are breaking the rule without any banner at all. Most site owners land in one of two camps. They either have a banner they don't need, or they don't have one they do need.
- If your website stores any non-essential information on a visitor's device (cookies, localStorage, fingerprinting), EU and UK law requires prior opt-in consent. There is no size exemption, no first-party exemption, and no legitimate interest workaround for cookies.
- Most websites set cookies they don't know about. YouTube embeds, Facebook buttons, Google Maps, reCAPTCHA, chat widgets, and comment systems all set tracking cookies on page load before any visitor interaction.
- The US does not require cookie banners. Nineteen US states have comprehensive privacy laws as of 2026, but they use an opt-out model. California requires a 'Do Not Sell' link, and 12 states mandate honoring Global Privacy Control signals, but no opt-in consent popup is legally required.
- The simplest path to not needing a banner: use cookieless analytics, self-host your fonts, replace third-party embeds with two-click loading, and audit your site in browser DevTools. A site with only strictly necessary cookies needs no consent mechanism.
- The EU Digital Omnibus Package (proposed 2025) and the UK Data Use and Access Act (2025) are both creating consent exemptions for aggregate audience measurement. Cookieless analytics are already exempt under current law. The new legislation extends limited exemptions to some cookie-based analytics meeting strict criteria.
Why this question is harder than it sounds
You added a cookie banner because a plugin told you to, or because a competitor had one, or because someone said "GDPR" and that was enough. You have no idea if it works. You are not alone. Most banners are either legally broken or not needed in the first place.
Where your visitors sit decides which rules you live under:
- EU/EEA (27 countries): Prior opt-in consent required for all non-essential cookies. The strictest regime in the world.
- UK: Similar to EU, but the 2025 Data Use and Access Act added new exemptions for analytics and preferences.
- US: No cookie banner legally required. Nineteen states have comprehensive privacy laws (twenty if you count Florida's narrower Digital Bill of Rights), but they all use an opt-out model.
- Rest of world: Varies. Brazil (LGPD), Canada (PIPEDA), Japan, South Korea, India, and others all have their own rules.
Most cookie banner advice assumes you're in the EU. Serve only US visitors and you may not need a banner at all. Serve both and you have to learn both regimes. Not sure where your visitors come from? Assume some of them are European.
The compliance picture is grim. A 2025 Aarhus University study of 254,148 websites found that only 15% of cookie banners meet minimum GDPR requirements. Put another way, roughly six in seven banners would fail an audit. A separate study of over 1 million websites found that 43% set tracking cookies without valid consent. So most sites land in one of two ditches. They show a banner they don't need, or they show one that doesn't work.
Check if your website needs a cookie banner
Answer six questions about your website. The tool tells you exactly what you need.
The tool gives you a verdict for your exact setup. Want the full legal reasoning behind each question? Keep reading.
What counts as a "cookie" under the law
The law that governs cookies in the EU is the ePrivacy Directive. It never uses the word "cookie." The operative language from Article 5(3) reads:
"the storing of information, or the gaining of access to information already stored, in the terminal equipment of a subscriber or user"
That wording is technology-neutral on purpose. It covers anything that reads from or writes to the visitor's device:
| Technology | Consent required? |
|---|---|
| HTTP cookies (first-party and third-party) | Yes |
| localStorage and sessionStorage | Yes |
| Device fingerprinting (canvas, WebGL, fonts, audio) | Yes |
| Tracking pixels that access stored identifiers | Yes |
| ETags and cache-based tracking | Yes |
| Server-side analytics with no client-side storage | No (not covered by ePrivacy) |
Sources: ePrivacy Directive Article 5(3), EDPB Guidelines 05/2020, Article 29 Working Party Opinion 9/2014 on fingerprinting.
The last row is the one that matters. If your analytics tool does the work server-side and writes nothing to the visitor's device, the ePrivacy consent requirement never kicks in. That is how cookieless analytics tools work. A light script sends page data to the server, the server builds an anonymized session identifier with a daily-rotating hash, and nothing lands in the visitor's browser. No cookie. No localStorage. No fingerprint. The ePrivacy trigger is never pulled.
GDPR still applies to any personal data you process, even server-side. But the consent burden is a different animal. Under GDPR you can lean on legitimate interest as a legal basis for privacy-respecting analytics. Under ePrivacy you cannot. That split matters, because ePrivacy is the law that demands the cookie banner.
The hidden cookies on your website
Most website owners are sure they barely use any cookies. Then they run a scan and find 30 or more. The culprit is nearly always third-party embeds. They drop cookies the moment the page loads, before the visitor touches a thing.
Google services
YouTube embed. Drops VISITOR_INFO1_LIVE, YSC, and PREF on page load, before the visitor clicks play. Google advertising cookies and localStorage entries can ride along too. The "privacy-enhanced" mode (youtube-nocookie.com) holds the cookies back until play, then sets them the moment the video starts.
Google Maps embed. Sets the NID cookie, which lasts 6 months and feeds ad personalization, plus more Google domain cookies on page load. The visitor never has to touch the map.
Google reCAPTCHA. Sets _GRECAPTCHA and NID cookies. reCAPTCHA v3 runs in the background the whole time, sending your visitors' mouse movements, keystrokes, and scroll patterns to Google.
Google Fonts (from Google CDN). No cookies here. But pulling fonts from fonts.googleapis.com hands the visitor's IP address to Google. A German court fined a website operator EUR 100 for exactly this in January 2022. Self-host the fonts and the transfer stops.
Social and third-party widgets
Facebook Like/Share button. The Facebook SDK sets tracking cookies the second it loads, long before anyone clicks the button. And the buck stops with you. The CJEU's Fashion ID ruling (C-40/17) confirmed the site owner is jointly responsible.
Disqus comments. Disqus pays for its free accounts with advertising. One embed fires requests to ad exchanges and sets a handful of third-party cookies from ad networks.
SaaS widgets
Live chat (Intercom, Drift, HubSpot). Set persistent visitor identifiers that hang around for 6 months to 2 years. HubSpot's widget loads its full analytics script next to the chat. It sits on every page, even if nobody ever chats.
How to check
Open your site in an incognito window. Press F12, go to Application > Cookies. Count what is there before you click a thing. That number is your baseline cookie load.
Take a normal small business site: a YouTube video, a Google Maps embed, a Facebook Like button, reCAPTCHA on the contact form. That alone can set 30 to 50 cookies from 10 or more third-party domains, and the owner has no idea. Under GDPR, the owner answers for every one of them.
What "strictly necessary" actually means
The ePrivacy Directive hands out exactly one exemption from cookie consent: cookies that are "strictly necessary in order for the provider of an information society service explicitly requested by the subscriber or user to provide the service."
Two things have to be true at once. The cookie is strictly necessary, not merely handy. And it is necessary for a service the user explicitly asked for. The Article 29 Working Party's Opinion 04/2012 is still the most detailed guidance on where the line falls.
| Cookie type | Consent needed? |
|---|---|
| Session authentication (login state) | No (exempt) |
| Shopping cart contents | No (exempt) |
| CSRF security tokens | No (exempt) |
| Load balancing | No (exempt) |
| Cookie consent preference itself | No (exempt) |
| User-initiated language selection | No (exempt) |
| Analytics cookies (all types) | Yes |
| A/B testing cookies | Yes |
| Advertising and retargeting | Yes |
| Social media plugin cookies | Yes |
| Persistent "remember me" login | Yes |
| Personalization and recommendations | Yes |
Here is the test. Would the service the user asked for break without this cookie? If the site still works without it, it is not strictly necessary. Source: WP29 Opinion 04/2012.
The most common slip-up is filing cookies under the wrong label. Calling an analytics cookie "functional" or "performance" does not change a thing about its legal status. The ICO explicitly states: "Analytics cookies are not part of the functionality that the user requests when they use your online service." The French CNIL, the Austrian DSB, and the German DSK all say the same. Analytics serves you, not the visitor's request.
One nuance trips a lot of people up. "Legitimate interest" is a valid legal basis for processing data under GDPR. It is not a valid basis for setting cookies under the ePrivacy Directive. ePrivacy gives you two doors and only two: consent, or the strictly necessary exemption. There is no third door. The CJEU's Planet49 ruling (C-673/17, 2019) settled that for good.
Where the rules differ
Not every country reads these rules the same way. The gaps between them matter.
| Jurisdiction | Model | Key detail |
|---|---|---|
| 🇪🇺 EU (most countries) | Opt-in | No analytics exemption. Banner required before any non-essential storage. |
| 🇫🇷 France (CNIL) | Opt-in + exemption | Audience measurement tools meeting strict criteria can operate without consent. |
| 🇬🇧 UK (PECR + DUAA 2025) | Opt-in + exemption | DUAA 2025 added a "statistical purposes" exception for aggregate-only analytics with opt-out. |
| 🇩🇪 Germany (TTDSG) | Strict opt-in | Max EUR 300,000 fine. GTM itself requires consent (Hannover court, March 2025). |
| 🇦🇹 Austria (DSB) | Strictest in EU | Analytics cookies "cannot in any case be considered technically necessary." Full breakdown. |
| 🇺🇸 United States (19 states) | Opt-out | No banner required. 12 states mandate GPC signals. CIPA wiretapping lawsuits are a separate risk. |
Serve both EU and US visitors and you owe both regimes at once. In practice that means opt-in consent for the EU crowd and an opt-out mechanism for the US crowd. Plenty of sites run geo-targeted banners that swap the interface based on where the visitor is. Or you sidestep the whole mess by never setting a non-essential cookie.
What happens if you get it wrong
Cookie enforcement is real. It is growing. And it has stopped sparing the small fish.
| Company | Regulator | Fine | Violation |
|---|---|---|---|
| CNIL, 2022 | EUR 150M | Accept: 1 click. Reject: multiple clicks through settings. | |
| Microsoft | CNIL, 2022 | EUR 60M | Cookies deposited on bing.com without valid consent. |
| Criteo | CNIL, 2023 | EUR 40M | Did not verify consent before processing data for ad targeting. |
| Amazon | CNIL, 2020 | EUR 35M | Advertising cookies placed without clear prior consent. |
| Apple | CNIL, 2022 | EUR 8M | Targeted advertising identifiers without prior consent. |
Source: GDPR Enforcement Tracker, CNIL.
Those are the headline numbers. The quieter enforcement is what should worry the rest of us. The UK's ICO reviewed the top 1,000 UK websites in 2025 and found 585 of them non-compliant out of the gate. After the ICO leaned on them, 564 fixed their practices. As of December 2025, 21 were still failing. In Germany, private cease-and-desist actions are a rising threat. People visit websites, document the consent violations, and post demand letters for EUR 500 to 5,000 in damages. noyb, the privacy organization founded by Max Schrems, has filed over 680 formal GDPR complaints about cookie banners across Europe in repeated waves, and it does not care how big your site is.
The Planet49 ruling (CJEU, 2019) closed off a whole stack of tired arguments at once. A pre-ticked checkbox is not consent. Scrolling or carrying on browsing is not consent. Implied consent does not exist under GDPR. Consent has to be a clear, affirmative act. And under GDPR Article 7(3), pulling consent back must be as easy as giving it. The EDPB and CNIL read that to mean "Reject all" has to be as prominent as "Accept all." So if your "Accept" button is one click and your "Reject" option is three clicks deep in a settings menu, you are not compliant. That is the precise setup Google was fined EUR 150 million for.
How to not need a cookie banner
The simplest, cheapest, most defensible path is to not need a banner at all. Not by ignoring the law. By pulling out the cookies that trigger it.
Seven changes, ranked by how much they move the needle.
1. Swap cookie-based analytics for cookieless analytics. This one change does the most. Clickport handles visitor identification server-side with a daily-rotating hash. No cookies. No localStorage. No fingerprinting. The tracker only touches a tab-scoped session ID in sessionStorage, and that is wiped the moment the tab closes. The French CNIL has formally exempted privacy-first analytics tools from the consent requirement when they meet strict criteria. And the payoff runs past compliance. You see 100% of your visitors instead of the 30-40% who click accept. Your pages load faster with no CMP scripts in the way. And your mobile visitors are not greeted by a full-screen popup.
2. Self-host your fonts. Load Google Fonts from fonts.googleapis.com and every visitor's IP address goes to Google. Self-host them and that transfer stops cold, while your pages get a little faster. Tools like google-webfonts-helper turn it into a five-minute job.
3. Switch YouTube embeds to two-click loading. Loading the YouTube iframe on page load sets cookies straight away. Instead, show a thumbnail with a play button and load the embed only when the visitor clicks. This "two-click solution" sidesteps the consent requirement for that embed.
4. Swap social media buttons for plain share links. A share link (https://twitter.com/intent/tweet?url=...) is nothing but an HTML anchor tag. Zero cookies, zero external scripts, same job done.
5. Trade reCAPTCHA for honeypot fields or server-side rate limiting. reCAPTCHA v3 feeds behavioral data to Google and sets several cookies. A honeypot field, an invisible form field that only bots fill in, catches most automated spam with no third-party in the loop.
6. Lazy-load chat widgets. Instead of loading Intercom or Drift on every page, show a "Chat with us" button that only loads the widget when someone clicks it. Most visitors never open the chat anyway.
7. Audit with browser DevTools. Open your site in an incognito window. Press F12, go to Application, then Cookies. Count what sits there before you touch anything. Everything non-essential either needs consent or needs to go.
A normal small business site with GA4, a YouTube video, a Google Maps embed, a Facebook Like button, reCAPTCHA, and a HubSpot chat widget can hit 30+ cookies from a spread of third-party domains on page load. Bolt on a consent management platform and you are also shipping 50-150 KB of extra JavaScript to every visitor.
Run the checklist above and that same site falls to 2 cookies on page load: session authentication and a CSRF token, both strictly necessary. Cookieless analytics. Self-hosted fonts. Two-click YouTube. Plain share links. No banner needed. The clean site loads faster, sees 100% of its visitors, pays nothing for consent management, and carries zero cookie enforcement risk.
The win is not only legal calm. It is a faster, lighter website. Consent management platforms pile on load time and JavaScript weight, and the banner itself can shove the layout around enough to drag your Core Web Vitals from "Good" to "Needs Improvement." And over half of European visitors reject analytics cookies when the choice is fair. So your data is already a fraction of reality before you open a single report.
The rules are changing
Two pieces of legislation are redrawing the cookie consent map. Both pull in the same direction: putting privacy-first analytics legally out of reach of consent.
The EU's Digital Omnibus Package, proposed in November 2025, would lift cookie consent rules out of the ePrivacy Directive and fold them into the GDPR through a new Article 88a. That carves out a consent exemption for audience measurement done only for the controller's own use and producing aggregated data. The timeline is long, the legislative process has barely started, but the heading is clear: wider exemptions for analytics that respect people.
The UK has already moved. The Data Use and Access Act 2025 bolted a "statistical purposes" exception onto PECR. First-party analytics that produce aggregate-only data and offer an opt-out can now run without prior consent in the UK. That is a real split from where the EU stands today, and a tell about where the rest of this is going.
For site owners, the takeaway is plain. Cookie-dependent analytics will keep needing consent banners for a long time yet. Cookieless, privacy-first analytics are already exempt in France, freshly exempt in the UK, and lined up to be exempt across the EU once the Digital Omnibus lands. The tool you pick today decides which side of that shift you end up on.
The cookie banner was meant to hand visitors control. What it handed them was a popup on every page load, and what it handed site owners was a legal liability they can't confidently manage. The simplest way out is to stop needing one.
Try Clickport free for 30 days. No cookies. No consent banners. No credit card. One script tag, two minutes, and the banner question goes away.

Comments
Loading comments...
Leave a comment