Privacy & Compliance

Do You Actually Need a Cookie Banner? A Practical Answer

Sebastian Anderson, web analytics consultant Sebastian Anderson February 15, 2026 Updated November 26, 2026 10 min read
Cookie consent banner asking the visitor to accept, reject or manage cookies on a website

“Can I just get rid of the cookie popup?” Small business owners ask me that more than any other privacy question. Most of them expect a yes or a no.

Here’s the practical answer. You need a cookie banner when something on your page stores or reads information in a visitor’s browser, and it isn’t strictly necessary for what they asked for.

Analytics is the usual suspect. Rarely the only one.

This week I built a test page with nothing on it but one YouTube video. I opened it in a fresh copy of Chrome and didn’t click anything. Fifteen seconds later the browser held five YouTube cookies, four of them set to stay for six months.

Then I swapped in the “privacy-enhanced” version of the same video, the one YouTube serves from a separate no-cookie address. I expected an empty browser.

One YouTube video, no clicks: what stayed in the browser

opentracking.org test · Chrome 147, fresh profile, 15 s, no clicks · 25 Nov 2026

Look at the middle column. The no-cookie embed kept its promise on cookies and still left something in local storage.

That matters. The rule behind the banner never says “cookie”.

Here’s where I land, and some consultants will argue with me.

A cookie banner is a question about your whole page. Switching analytics won’t always remove it. But analytics is the one piece most owners can fix in an afternoon, so I’d fix it first.

The Rule Talks About Your Visitor’s Device

Every cookie banner in the EU traces back to one sentence: Article 5(3) of the ePrivacy Directive.

Storing information on a user’s device, or reading what’s already stored there, needs the user’s consent. Two exceptions follow.

One covers storage needed just to carry a message across the network. The other covers what’s strictly necessary for a service the user explicitly requested.

Notice the word that isn’t there.

In October 2024 the European Data Protection Board, the group of EU privacy regulators, adopted guidelines on what Article 5(3) covers. Their opening point is plain. The rule doesn’t apply only to cookies but also to “similar technologies”.

They work through tracking pixels, tracking links, identifiers and IP-based tracking. Fingerprinting was already in scope under an older opinion.

The rule covers the device, not just cookies

ePrivacy Directive, Art. 5(3) · EDPB Guidelines 2/2023, adopted 7 Oct 2024

So the two local storage entries in my test count. A cookie scan alone would have called that page clean.

The board is just as clear about the other side. Being covered by Article 5(3) “does not systematically mean that consent needs to be collected”. Every case still gets checked against the exceptions, which is where analytics gets interesting.

Four Questions That Decide Whether You Need a Cookie Banner

Here’s the walk I do on every site I’m asked about.

Open the page in a private window, leave the banner alone, and ask four questions about everything that loads.

Four questions for everything your page loads

ePrivacy 5(3), CNIL, ICO

Does anything touch the browser?

In Chrome, open DevTools and go to the Application tab. Under Storage you’ll see Cookies, Local storage and Session storage, each grouped by site. Reload once and read the lists before you click anything.

Completely empty lists are rare.

If you get them, and nothing else on the page reads from the device, Article 5(3) has nothing to ask you about that particular page.

You still owe visitors a plain privacy notice if your site handles personal data at all.

Tip: Entries from other sites almost always come from embeds and widgets, not from your own code. The site name next to each one tells you which script to chase.

Is it strictly necessary for what they asked for?

A cart that remembers its contents. A login that keeps someone signed in. A language the visitor picked. A cookie that spots repeated failed logins.

Each serves the visitor’s own request, so it sits under the second exception. No banner needed.

The test is narrow, though. “Useful to us” isn’t the same as “needed by them”. Ads and marketing tags never pass it, and analytics gets its own, tighter test.

Is it only counting your own audience?

Some regulators accept that basic audience measurement can run without consent, as long as it stays inside firm limits.

France’s CNIL has written those limits down more clearly than anyone.

Its page on audience measurement tools was last updated in July 2025. In my translation, an exempt tool must:

  • measure the audience of your site only, and only on your behalf
  • produce anonymous statistics and nothing else
  • not be combined with other data or pass non-anonymous data to third parties
  • not follow a person across other sites or apps

Anonymous is a high bar, well above pseudonymised.

The CNIL also recommends telling visitors in your privacy policy, letting trackers live no longer than about 13 months, and keeping the data for 25 months at most.

Screenshot of the CNIL web page on audience measurement tools, dated 4 July 2025, showing the section that lists when analytics trackers are exempt from consent: limited to measuring the site's audience for the publisher only, producing anonymous statistics only, no cross-referencing with other processing, and no tracking across sites or apps.
The CNIL’s own wording of the audience measurement exemption (French). Public page at cnil.fr, captured 25 Nov 2026. Open the full screenshot

Two lines on that page surprised me.

Vendors check themselves against a CNIL self-assessment form. None of them may call a product “certified” or “validated by the CNIL”.

Instead, site owners are told to ask the vendor for documents showing the criteria are met.

The UK has its own version.

The ICO finalised its guidance in April 2026, after the Data (Use and Access) Act, and describes a “statistical purposes” exception.

It applies when the only purpose is statistics about how your site is used, with a view to improving it. You have to explain it clearly and give people a simple, free way to object.

Across the rest of the EU, the answer depends on the country. The EDPB says exceptions are assessed case by case, under national law and the local regulator’s guidance.

If most of your visitors live in one country, read that regulator’s page.

Important: An analytics exemption covers your analytics only. It says nothing about the video, the map or the chat bubble on the same page.

Everything else needs a yes first

Advertising and retargeting pixels. Social media widgets. Video embeds like YouTube’s. Live chat that remembers a visitor between pages.

If any of these store or read something, they wait for consent. And the consent has to be real.

The GDPR defines consent as freely given, specific, informed and unambiguous. Its recital 32 adds that silence, pre-ticked boxes and inactivity don’t count. Withdrawing consent has to be as easy as giving it.

In practice, nothing in this group fires before the click. A visitor who said yes on Monday can say no on Tuesday without hunting for a link. Test your own “Reject” button before you trust it.

The Analytics I’d Choose Today

On a typical small business site, analytics is the main reason a banner exists.

So that’s where I’d start.

Move it to cookie-free analytics. The tool I’d pick today is Statable.

Before recommending it, I opened its tracking script. A privacy page is easy to write.

The script leaves the browser empty: no cookie, no local storage entry. The only thing it reads is an opt-out switch a visitor can turn on for their own browser.

Visits are counted on Statable’s servers in the Netherlands. According to Statable, the IP address goes into a visitor identifier that changes every day, and the address itself isn’t kept.

Statable’s privacy documentation spells out the daily identifier and the opt-out signals, if you want the detail.

Screenshot of Statable's public demo dashboard for example.com over the last 30 days: totals for visitors, sessions, pageviews, views per session, bounce rate and session duration above an hourly visitors chart.
Statable’s public demo dashboard, last 30 days. Captured 25 Nov 2026. Open the full screenshot

Three things I like about it.

Nothing is locked behind a higher tier. You pay by traffic alone, from $9 a month for 10,000 events. Pageviews and your own custom events both count toward that.

There’s no cap on sites either. Handy when you look after a café, a bike shop and a yoga studio.

WordPress sites get an official plugin that shows the stats inside wp-admin. For owners who never log into anything else, one less password.

Now the costs.

Because the identifier resets every day, a reader who comes back on three different days counts as three unique visitors.

If a browser sends a Do Not Track or Global Privacy Control signal, that visit simply isn’t counted.

And Statable is a hosted service only. There’s no self-hosted edition on offer.

The same page is upfront about the limit I keep repeating.

It says the tool “does not add a cookie banner to your site”, and that “the rest of your stack, and the notice you give visitors, remain your call”.

Other tools get you to the same place.

Plausible publishes its code, and you can self-host its free Community Edition. In the cloud, one site with 10,000 monthly pageviews costs $9.

Umami is open source too. Its free cloud plan covers 100,000 events a month.

Fathom charges $15 a month for 100,000 pageviews and lets you put 50 sites on that plan.

All four market their analytics as not needing a cookie banner. Whichever you pick, ask the vendor the CNIL’s question.

Is my data used for anything besides my own statistics? Get the answer in writing. Keep it with your privacy page.

What to Do This Week

  • Open your home page and your busiest page in a private window. Write down every cookie and local storage entry before you touch the banner.
  • Sort each entry into one of three groups: strictly necessary, your own analytics, everything else.
  • If your analytics sets cookies, run a cookie-free tool next to it for a month and compare.
  • Replace video embeds with a still image that loads the real player only after a click.
  • Update your analytics privacy page so it says what you measure and how to opt out.

Then reload the page one more time and read the lists again. Empty lists mean you may not need that banner. Anything left over tells you exactly which script is keeping it.

For the bigger picture, my guide to privacy-compliant tracking covers the other routes.

My test notes and a quick lookup table

My notes from the embed test, plus a quick lookup table. Use it to repeat the test or to check one situation.

How I ran the embed test

I ran it on 25 November 2026 in Chrome 147, headless, with a fresh profile for every run. The test page sat at example.com and held one iframe and a heading. Nobody clicked anything. After 15 seconds I listed every cookie in the browser and the local storage of the embed’s own address.

The machine was in the United States. YouTube and Google can answer differently by country, so a visitor in Europe may see other results. Run it again from where your visitors are.

Test pageCookiesLocal storage entries
No embed00
Standard YouTube embed52
YouTube no-cookie embed02
Google Maps embed00

The five YouTube cookies were YSC, which ends with the browser session, and VISITOR_INFO1_LIVE, VISITOR_PRIVACY_METADATA, __Secure-YNID and __Secure-ROLLOUT_TOKEN, each set to expire on 24 May 2027. Both YouTube embeds wrote the same two local storage keys, ytidb::LAST_RESULT_ENTRY_KEY and yt-icons-last-purged. The map embed left nothing in this run.

Which situation needs a banner

What your page loadsBanner?
Nothing that stores or reads in the browserNo. Keep a privacy notice if you handle personal data
Only strictly necessary storage (cart, login, chosen language)No, for that storage
Analytics that sets cookiesYes, unless it meets your regulator’s audience measurement exemption
Analytics that writes nothing to the browserUsually not for the analytics. Check your regulator’s guidance
A standard YouTube embedYes, for the embed
Advertising or retargeting pixelsYes

Frequently Asked Questions

Does a privacy policy replace a cookie banner?

No. A privacy policy explains what you do with data. A cookie banner asks permission before non-essential storage or access happens. If everything on your page is strictly necessary or covered by an analytics exemption, the privacy policy may be all you need. Exemptions like the CNIL’s and the ICO’s still expect you to tell visitors about the analytics.

Can I show a “this site uses cookies” notice without buttons?

Not for anything that needs consent. Under the GDPR, silence and inactivity aren’t consent, so carrying on browsing doesn’t count as a yes. A notice without a real choice only works for things that are exempt anyway.

What happens if I get it wrong?

Regulators can order you to fix it and can fine you. The cookie rules themselves sit in each country’s ePrivacy law, so the penalties depend on where you are. For breaches of the GDPR, the highest tier of fines reaches 20 million euros or 4% of annual worldwide turnover, whichever is higher.

Does a no-cookie video embed make the banner unnecessary?

Not on its own. In my test it set no cookies but still wrote to local storage, and that storage is covered by the same rule. A still image that loads the player after a click is the cleaner fix.

Do these rules apply if my visitors aren’t in Europe?

This guide covers EU and UK rules. Other countries set their own, and they change. Check the regulator where most of your visitors live.

Sebastian Anderson, web analytics consultant
Sebastian Anderson
Analytics Consultant

Web analytics consultant with 12+ years of experience helping businesses understand their website visitors. Specialises in privacy-first analytics tools like Plausible, Matomo, and Umami. Based in Melbourne, Australia.

Enjoyed this article?

Get more privacy-first analytics tips delivered to your inbox weekly.