Clickport
Start free trial

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

You just launched a website. Maybe a blog, a small business site, a SaaS landing page. Someone tells you that you need a cookie banner. Someone else tells you that you don't. You google it, and every result gives a different answer depending on which continent they're writing from and which consent management platform they're selling.

Here is the actual answer. It depends on three things: what your website stores on the visitor's device, where your visitors are, and which tools you use. This article walks through every scenario with a flowchart, explains the law in plain language, and shows you exactly how to audit your own site.

I'm David, founder of Clickport Analytics. I built a privacy-first analytics tool specifically so that website owners don't need a cookie banner for their analytics. That gives me an obvious bias. I'll be upfront about it, and I'll tell you when the answer is "yes, you do need a banner" just as clearly as when it's "no, you don't."

Why this question is harder than it sounds

The rules are different depending on where your visitors are:

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 study of 254,148 websites found that only 15% of cookie banners meet minimum GDPR requirements. 43% of websites 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).

Answer six questions about your website. The tool will tell you exactly what you need.

Question 1 of 6
Where are most of your website visitors located?
This determines which privacy laws apply to your site.
Question 2 of 6
What analytics tool do you use?
Different tools handle visitor data differently. This is often the deciding factor.
Question 3 of 6
Do you run advertising or remarketing scripts?
Google Ads tag, Meta Pixel, TikTok Pixel, LinkedIn Insight Tag, or any ad network script.
Question 4 of 6
Do you have third-party embeds that load on your pages?
YouTube videos, Google Maps, social media buttons, reCAPTCHA, Disqus, live chat widgets.
Question 5 of 6
What platform is your site built on?
Some platforms set cookies through built-in features or plugins you may not be aware of.
Question 6 of 6
Do you collect personal data through forms?
Newsletter signups, contact forms, checkout, account creation.
YOUR RESULT
What to do next

    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.

    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:

    WHAT THE LAW COVERS (NOT JUST COOKIES)
    HTTP cookies (first-party and third-party)
    CONSENT REQUIRED
    localStorage and sessionStorage
    CONSENT REQUIRED
    Device fingerprinting (canvas, WebGL, fonts, audio)
    CONSENT REQUIRED
    Tracking pixels that access stored identifiers
    CONSENT REQUIRED
    ETags and cache-based tracking
    CONSENT REQUIRED
    Server-side analytics with no client-side storage
    NOT COVERED BY ePRIVACY
    Source: 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 open browser DevTools and find 30+. The culprit is almost always third-party embeds that set cookies on page load, before the visitor interacts with anything.

    COMMON EMBEDS AND THEIR COOKIES
    YouTube embed
    10+ cookies
    VISITOR_INFO1_LIVE, YSC, GPS, PREF, IDE, DSID, plus localStorage entries. Set on page load before the visitor clicks play. The "privacy-enhanced" mode (youtube-nocookie.com) delays cookies until play, but still sets them.
    Facebook Like / Share button
    6+ cookies
    _fbp, fr, datr, sb, _fbc, wd. The Facebook SDK sets these 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.
    Google Maps embed
    6+ cookies
    NID (6 months, ad personalization), CONSENT, 1P_JAR, plus authentication cookies if the visitor is logged into Google. All set on page load.
    Google reCAPTCHA
    5+ cookies
    _GRECAPTCHA, NID, CONSENT, 1P_JAR, DV. reCAPTCHA v3 runs continuously in the background and sends behavioral data (mouse movements, keystrokes, scroll patterns) to Google. The data is subject to Google's Privacy Policy, not limited to spam prevention.
    Live chat widgets (Intercom, Drift, HubSpot)
    3-7 cookies each
    Persistent visitor identifiers lasting 6 months to 2 years. HubSpot's widget loads its full analytics script (__hstc, hubspotutk) alongside the chat functionality. Loaded on every page, even if nobody chats.
    Disqus comments
    20-50 third-party requests
    Disqus monetizes free accounts through advertising. A single embed triggers requests to ad exchanges (pippio.com, marketgid.com, sovrn.com, zergnet.com) and sets 10-20+ third-party cookies from ad networks.
    Google Fonts (from Google CDN)
    0 cookies, but...
    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 fonts eliminates the issue entirely.
    How to check: Open your site in an incognito window. Press F12, go to Application > Cookies. Count what's there before you click anything. That's 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.

    THE STRICTLY NECESSARY TEST
    EXEMPT (no consent needed)
    Session authentication (login state)
    Shopping cart contents
    CSRF security tokens
    Load balancing
    Cookie consent preference itself
    User-initiated language selection
    REQUIRES CONSENT (not exempt)
    Analytics cookies (all types)
    A/B testing cookies
    Advertising and retargeting
    Social media plugin cookies
    Persistent "remember me" login
    Personalization and recommendations
    The test: would the service the user explicitly requested break without this cookie? If the site still works without it, it's 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.

    COOKIE CONSENT RULES BY JURISDICTION
    EU (most countries)
    OPT-IN
    Prior consent for all non-essential cookies. No analytics exemption. No legitimate interest for cookies. Banner required before any non-essential storage.
    France (CNIL)
    OPT-IN with analytics exemption
    Unique exemption for audience measurement tools meeting strict criteria: first-party only, no cross-site tracking, 13-month cookie limit, 25-month data retention, user informed with opt-out. Full details in our France article.
    UK (PECR + DUAA 2025)
    OPT-IN with new exemptions
    The Data Use and Access Act 2025 added a "statistical purposes" exception: aggregate-only analytics with opt-out mechanism and clear information. Also added appearance/preference cookie exception. Diverging from EU rules.
    Germany (TTDSG/TDDDG)
    STRICT OPT-IN
    No analytics exemption. Max EUR 300,000 fine under Section 25 TTDSG. Private cease-and-desist actions are a growing risk. A Hannover court ruled Google Tag Manager itself requires consent before activation (March 2025).
    Austria (DSB)
    STRICTEST IN EU
    No analytics exemption. Analytics cookies "cannot in any case be considered technically necessary" (DSB). Economic necessity arguments explicitly rejected. Full breakdown.
    United States (20 state laws)
    OPT-OUT
    No cookie banner required. Cookies can load by default. Must provide opt-out for data sale/sharing/targeted advertising. 12 states mandate honoring GPC signals. CIPA wiretapping lawsuits target third-party analytics separately.

    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.

    NOTABLE COOKIE CONSENT FINES
    Google (CNIL, 2022)
    Accept: 1 click. Reject: 5 clicks through settings.
    EUR 150M
    Microsoft (CNIL, 2022)
    Cookies deposited on bing.com without valid consent mechanism.
    EUR 60M
    Criteo (CNIL, 2023)
    Did not verify consent before processing data for ad targeting.
    EUR 40M
    Amazon (CNIL, 2021)
    Advertising cookies placed without clear prior consent.
    EUR 35M
    Apple (CNIL, 2023)
    Targeted advertising cookies on iPhones without prior consent.
    EUR 8M
    Source: GDPR Enforcement Tracker, CNIL cookie enforcement page

    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 564 non-compliant. 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 422 formal GDPR complaints about cookie banners across Europe, 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. And it must be as easy to refuse as to accept. 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.

    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.

    Here is the checklist.

    Replace cookie-based analytics with cookieless analytics. This is the single highest-impact change. If your analytics tool stores nothing on the visitor's device, the ePrivacy consent requirement does not apply to it. Clickport processes everything server-side with a daily-rotating hash. No cookies, no localStorage, no fingerprinting. 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 isn't blocked by a full-screen popup.

    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 (no DNS lookup to Google). Tools like google-webfonts-helper make this a five-minute task.

    Replace YouTube embeds with two-click loading. Instead of loading the YouTube iframe on page load (which sets 10+ cookies immediately), show a thumbnail with a play button. Load the embed only when the visitor clicks. This is a recognized privacy pattern called "two-click solution" that avoids the consent requirement for that specific embed.

    Replace social media buttons with plain share links. A share link (https://twitter.com/intent/tweet?url=...) is just an HTML anchor tag. It sets zero cookies, loads zero external scripts, and works identically. The JavaScript-based social widgets that set tracking cookies are unnecessary for sharing functionality.

    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.

    Lazy-load chat widgets. Instead of loading Intercom or Drift on every page (setting persistent tracking cookies), show a "Chat with us" button that loads the widget only when clicked. Most visitors never use the chat. Loading it for everyone is a performance and privacy cost paid by all visitors to benefit the few who want to chat.

    Audit with browser DevTools. Open your site in an incognito window. Press F12, go to Application, then Cookies. Count what's there before you interact with anything. That is your baseline cookie load. Everything non-essential in that list either needs consent or needs to be removed.

    BEFORE AND AFTER
    TYPICAL SITE
    35
    cookies on page load
    GA4 (5 cookies)
    YouTube embed (10+)
    Facebook Like (6+)
    Google Maps (6+)
    reCAPTCHA (5+)
    HubSpot chat (4)
    + CMP script (50-150 KB)
    CLEAN SITE
    2
    cookies on page load
    Session auth (1, strictly necessary)
    CSRF token (1, strictly necessary)

    Cookieless analytics (0)
    Self-hosted fonts (0)
    Two-click YouTube (0)
    Plain share links (0)
    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 200-500ms to page load and 50-150 KB of JavaScript. Cookie banners cause 0.05-0.15 cumulative layout shift, pushing sites from "Good" to "Needs Improvement" in Core Web Vitals. And 60-70% 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 Act, proposed in 2025, would amend the ePrivacy Directive to create a consent exemption for audience measurement tools that meet strict criteria: first-party only, no cross-site tracking, no third-party data sharing, anonymous aggregate output. This would make the French CNIL's analytics exemption the law across all 27 EU member states. The timeline is long (expected 2028-2029 at the earliest), but the direction is clear.

    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.

    If you're ready to stop showing a cookie banner for your analytics, Clickport tracks visitors, engagement, goals, sources, countries, devices, and sessions. No cookies. No consent banners. No data leaving the EU. Setup takes under two minutes.

    Start your free trial
    30 days free. No credit card required.

    David Karpik

    David Karpik

    Founder of Clickport Analytics
    Building privacy-focused analytics for website owners who respect their visitors.

    Comments

    Loading comments...

    Leave a comment