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
It depends on three things: what your website stores on the visitor's device, where your visitors are, and which tools you use. Only 15% of cookie banners meet minimum GDPR requirements, and 43% of websites set tracking cookies without valid consent. Most site owners either have a banner they don't need, or 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 has one, or because someone said "GDPR." You have no idea if it actually works. You are not alone. Most banners are either legally broken or entirely unnecessary.
The rules are different depending on where your visitors are:
- 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. If you only serve US visitors, you may not need one at all. If you serve both, you need to understand both regimes. And if you're not sure where your visitors are from, the safest assumption is that 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. A separate study of over 1 million websites found that 43% set tracking cookies without valid consent. Most sites are either over-compliant (showing a banner they don't need) or under-compliant (showing one that doesn't actually work).
Check if your website needs a cookie banner
Answer six questions about your website. The tool will tell you exactly what you need.
The tool gives you a personalized verdict based on your specific setup. If you want the full legal breakdown behind each question, keep reading below.
What counts as a "cookie" under the law
The ePrivacy Directive, which is the law that actually governs cookies in the EU, does not use the word "cookie." The operative language from Article 5(3) is:
"the storing of information, or the gaining of access to information already stored, in the terminal equipment of a subscriber or user"
This is deliberately technology-neutral. It covers everything 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 key. If your analytics tool processes everything server-side and stores nothing on the visitor's device, the ePrivacy consent requirement does not apply. This is how cookieless analytics tools operate: a lightweight script sends page data to the server, the server computes anonymized session identifiers using a daily-rotating hash, and nothing is written to the visitor's browser. No cookie, no localStorage, no fingerprint. The ePrivacy trigger is never pulled.
GDPR still applies to any personal data processing (even server-side), but the consent burden is fundamentally different. Under GDPR, you can use legitimate interest as a legal basis for privacy-respecting analytics. Under ePrivacy, you cannot. The distinction matters because ePrivacy is what requires the cookie banner specifically.
The hidden cookies on your website
Most website owners believe they don't use many cookies. Then they run a scan and find 30+. The culprit is almost always third-party embeds that set cookies on page load, before the visitor interacts with anything.
Google services
YouTube embed. Sets cookies including VISITOR_INFO1_LIVE, YSC, and PREF on page load, before the visitor clicks play. Google advertising cookies and localStorage entries may also be set. The "privacy-enhanced" mode (youtube-nocookie.com) delays cookies until play but still sets them when the video starts.
Google Maps embed. Sets the NID cookie (6-month expiry, used for ad personalization) plus additional Google domain cookies on page load, even if the visitor never interacts with the map.
Google reCAPTCHA. Sets _GRECAPTCHA and NID cookies. reCAPTCHA v3 runs continuously in the background and sends behavioral data (mouse movements, keystrokes, scroll patterns) to Google.
Google Fonts (from Google CDN). No cookies set. But loading fonts from fonts.googleapis.com transmits the visitor's IP address to Google. A German court fined a website operator EUR 100 for this in January 2022. Self-hosting eliminates the issue.
Social and third-party widgets
Facebook Like/Share button. The Facebook SDK sets tracking cookies the moment it loads, before anyone clicks the button. The CJEU's Fashion ID ruling (C-40/17) confirmed the site owner is jointly responsible.
Disqus comments. Disqus monetizes free accounts through advertising. A single embed triggers requests to ad exchanges and sets multiple third-party cookies from ad networks.
SaaS widgets
Live chat (Intercom, Drift, HubSpot). Set persistent visitor identifiers lasting 6 months to 2 years. HubSpot's widget loads its full analytics script alongside the chat. Loaded on every page, even if nobody chats.
How to check
Open your site in an incognito window. Press F12, go to Application > Cookies. Count what is there before you click anything. That is your baseline cookie load.
A typical small business website with a YouTube video, a Google Maps embed, a Facebook Like button, and reCAPTCHA on the contact form can easily be setting 30-50 cookies from 10+ third-party domains without the owner knowing. Under GDPR, the site owner is responsible for all of them.
What "strictly necessary" actually means
The ePrivacy Directive provides 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 conditions must both be true. The cookie is strictly necessary (not just useful). And it is necessary for a service the user explicitly asked for. The Article 29 Working Party's Opinion 04/2012 remains the most detailed guidance on this exemption.
| 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 |
The test: would the service the user explicitly requested break without this cookie? If the site still works without it, it is not strictly necessary. Source: WP29 Opinion 04/2012.
The most common compliance mistake is mis-categorizing cookies. Calling analytics cookies "functional" or "performance" does not change their 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, Austrian DSB, and German DSK all agree. Analytics serves the site owner's interest, not the user's explicit request.
One important nuance: "legitimate interest" is a valid legal basis under GDPR for data processing, but it is not a valid basis for setting cookies under the ePrivacy Directive. The ePrivacy Directive only offers consent or the strictly necessary exemption. No third option. The CJEU's Planet49 ruling (C-673/17, 2019) settled this definitively.
Where the rules differ
Not every country applies these rules the same way. The differences 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. |
If you serve both EU and US visitors, you must comply with both regimes. In practice, that means opt-in consent for EU visitors and an opt-out mechanism for US visitors. Many sites use geo-targeted banners that show different interfaces depending on the visitor's location. Or you can avoid the complexity entirely by not setting non-essential cookies.
What happens if you get it wrong
Cookie enforcement is real, growing, and no longer limited to large companies.
| 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.
These are the headline numbers. But smaller enforcement matters too. The UK's ICO reviewed the top 1,000 UK websites in 2025 and found 585 initially non-compliant. After ICO engagement, 564 corrected their practices, with 21 still failing as of December 2025. In Germany, private cease-and-desist actions are a growing threat. Individuals visit websites, document consent violations, and send demand letters for EUR 500-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 multiple waves, targeting websites of all sizes.
The Planet49 ruling (CJEU, 2019) settled several long-running arguments definitively. Pre-ticked checkboxes are not valid consent. Scrolling or continued browsing is not consent. Implied consent does not exist under GDPR. Consent must be a clear affirmative action. Under GDPR Article 7(3), it must be as easy to withdraw consent as to give it, and the EDPB and CNIL have enforced this to mean "Reject all" must be as prominent as "Accept all." If your "Accept" button takes one click and your "Reject" option takes three clicks through a settings menu, it's not compliant. That is exactly what Google was fined EUR 150 million for.
How to not need a cookie banner
The simplest, cheapest, and most legally defensible approach is to eliminate the need for a banner entirely. Not by ignoring the law, but by removing the cookies that trigger it.
Seven changes, in order of impact.
1. Replace cookie-based analytics with cookieless analytics. This is the single highest-impact change. Clickport processes visitor identification server-side with a daily-rotating hash. No cookies, no localStorage, no fingerprinting. The tracker uses only ephemeral sessionStorage for a tab-scoped session ID that is cleared when the tab closes. The French CNIL has formally exempted privacy-first analytics tools from the consent requirement when they meet strict criteria. The benefits go beyond compliance: you see 100% of your visitors instead of the 30-40% who consent, your pages load faster without CMP scripts, and your mobile experience is not blocked by a full-screen popup.
2. Self-host your fonts. If you load Google Fonts from fonts.googleapis.com, every visitor's IP address is transmitted to Google. Self-hosting eliminates the transfer entirely and improves page performance. Tools like google-webfonts-helper make this a five-minute task.
3. Replace YouTube embeds with two-click loading. Instead of loading the YouTube iframe on page load (which sets cookies immediately), show a thumbnail with a play button. Load the embed only when the visitor clicks. This "two-click solution" avoids the consent requirement for that embed.
4. Replace social media buttons with plain share links. A share link (https://twitter.com/intent/tweet?url=...) is just an HTML anchor tag. Zero cookies, zero external scripts, identical functionality.
5. Replace reCAPTCHA with honeypot fields or server-side rate limiting. reCAPTCHA v3 sends behavioral data to Google and sets multiple cookies. A honeypot field (an invisible form field that only bots fill in) catches most automated spam without any third-party dependency.
6. Lazy-load chat widgets. Instead of loading Intercom or Drift on every page, show a "Chat with us" button that loads the widget only when clicked. Most visitors never use the chat.
7. Audit with browser DevTools. Open your site in an incognito window. Press F12, go to Application, then Cookies. Count what is there before you interact with anything. Everything non-essential either needs consent or needs to go.
A typical small business site with GA4, a YouTube video, a Google Maps embed, a Facebook Like button, reCAPTCHA, and a HubSpot chat widget can easily set 30+ cookies from multiple third-party domains on page load. Add a consent management platform and you are also loading 50-150 KB of extra JavaScript.
After applying the checklist above, the same site drops 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, has zero consent management costs, and carries zero cookie enforcement risk.
The result is not just legal simplicity. It is a faster, lighter website. Consent management platforms add significant load time and JavaScript weight, and cookie banners can cause layout shift that pushes Core Web Vitals scores from "Good" to "Needs Improvement." And over half of European visitors reject analytics cookies when given a fair choice, which means your data is a fraction of reality before you even start analyzing it.
The rules are changing
Two pieces of legislation are reshaping the cookie consent landscape. Both move in the same direction: making privacy-first analytics legally exempt from consent.
The EU's Digital Omnibus Package, proposed in November 2025, would move cookie consent rules from the ePrivacy Directive into the GDPR via a new Article 88a, creating a consent exemption for audience measurement done solely for the controller's own use and producing aggregated data. The timeline is long (the legislative process has only just begun), but the direction is toward broader exemptions for privacy-respecting analytics.
The UK has already moved. The Data Use and Access Act 2025 added a "statistical purposes" exception to PECR. First-party analytics that produce aggregate-only data and provide an opt-out mechanism can now operate without prior consent in the UK. This is a meaningful divergence from the EU's current position and a signal of where regulation is heading.
For site owners, the implication is straightforward. Cookie-dependent analytics will continue to require consent banners for the foreseeable future. Cookieless, privacy-first analytics are already exempt in France, newly exempt in the UK, and positioned to be exempt EU-wide once the Digital Omnibus passes. The tools you choose today determine whether you're on the right side of this shift or the wrong one.
The cookie banner was supposed to give visitors control. Instead it gave them a popup on every page load and gave site owners 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