Skip to content
Start free trial
BlogPrivacy-first analytics

Do you need a cookie banner for analytics?

You’ve switched to cookieless analytics and someone asks if the banner can finally go. The answer turns on two different rules and on where your visitors are. Here’s how to think it through.

Say you’ve just moved your analytics to a cookieless tool. The next morning your designer sends a message: “Great, so we can finally get rid of the cookie banner?”

It’s a fair question. Do you need a cookie banner for analytics? The honest answer depends on two different laws, where your visitors are, how your regulator reads those laws, and what your tools actually do in the browser.

By the end of this post you’ll know which questions to ask, what removing cookies changes, and what it leaves alone. One thing first: this isn’t legal advice. We’re an analytics company, not your lawyer, and nothing on our site should be read as saying your site does or doesn’t need consent.

Key takeaways

  • Two separate rules apply in Europe: ePrivacy covers storing or reading information on the device, and the GDPR covers processing personal data at all.
  • Removing cookies changes the ePrivacy question but doesn’t automatically answer it, because some regulators read “access” to the device broadly.
  • The GDPR still asks for a lawful basis, a clear notice and retention limits, with or without a banner.
  • The answer varies by country and regulator, so a vendor’s “no banner needed” promise is a legal conclusion it can’t reach for you.
  • FunnelSights makes no claim that using it removes a consent requirement. It publishes exactly what the software does so you can decide.

Most confusion about cookie banners comes from treating two separate laws as one. In the EU, and under the UK’s equivalent rules, analytics runs into both.

ePrivacy: what happens on the device

Article 5(3) of the ePrivacy Directive covers storing information on someone’s device, or gaining access to information already stored there. Either needs consent, unless it’s strictly necessary to provide a service the user explicitly asked for.

The rule protects the device itself, so it applies whether or not the stored information identifies anyone. Local storage, tracking pixels and similar techniques are in scope as well as cookies. In the UK, the same idea lives in PECR.

Analytics usually isn’t treated as strictly necessary. That’s why analytics cookies sit behind consent banners across most of Europe.

GDPR: what happens to personal data

The GDPR applies whenever personal data is processed, wherever it’s stored. It asks for a lawful basis for each purpose, a clear notice, no more data than you need, and no longer than you need it.

Consent is one of six lawful bases. Many organisations rely on legitimate interests for analytics instead, which needs a written balancing test and can’t stand in for consent where the ePrivacy rule requires it.

ePrivacy and the GDPR, side by side
ePrivacy (Article 5(3))GDPR
What it coversStoring information on, or accessing it from, the user’s deviceAny processing of personal data
Needs personal data?No. Any information on the device countsYes
What it asks forConsent, unless strictly necessary for a service the user requestedA lawful basis, a notice, minimisation and retention limits
Is consent the only route?Yes, outside narrow exemptionsNo. Legitimate interests is a common alternative
What removing cookies changesLess, or nothing, is stored on the deviceLittle, because an IP address is still processed

No. A banner is an interface, and consent is the legal outcome it tries to collect.

A banner doesn’t make anything lawful by itself. If it nudges people towards “accept”, hides the reject button, or fires scripts before anyone clicks, it may not collect valid consent at all.

The reverse is true as well. Having no banner doesn’t mean having no obligations: even where consent isn’t required, you still owe visitors a privacy notice that explains what your analytics collects, why, and for how long.

So your designer’s question really has two parts: does anything on your site need consent, and if so, how will you collect it properly? A banner is one answer to the second part.

This is where a lot of marketing in this space goes wrong. Going cookieless changes the question, but it doesn’t settle it.

What removing cookies changes

If nothing is written to the visitor’s device, the storage half of the ePrivacy rule has far less to apply to. There’s no cookie to ask about and no ID sitting in the browser.

That’s a real difference, and it’s why cookieless designs exist. How cookieless visitor counting works explains how a tool can count visitors without storing anything.

What it doesn’t change

First, there’s the access half of the rule. Every analytics script runs in the browser and sends information from it: the page address, the referrer, the user agent.

Guidance from the European Data Protection Board on the scope of Article 5(3) reads “gaining access” broadly, broadly enough that a script telling the browser to send information back can fall inside it. Regulators and courts are still working out where the line sits, and they don’t all agree.

Second, there’s the GDPR. A cookieless tool still receives the visitor’s IP address with every request, because that’s how the internet works. An IP address is generally treated as personal data, and using it, even briefly to compute a hash, is processing.

So you still need a lawful basis and a notice. Is analytics data personal data? goes through IP addresses, hashes and identifiers in detail.

Third, there’s everything else on the page. Swapping your analytics does nothing about an ad pixel, an embedded video or a chat widget that sets its own cookies. If any of those need consent, your banner stays, and your analytics simply stops depending on it.

Why the answer changes from country to country

The ePrivacy Directive is a directive, so each EU country wrote it into its own law, and each data protection authority reads it in its own way. The result is a patchwork rather than one European answer.

  • France’s regulator, the CNIL, publishes conditions under which an audience-measurement tool can be used without consent. They include a strictly limited purpose, aggregate statistics only, no cross-site tracking and limited retention.
  • Other regulators haven’t published a similar carve-out, and some read the strictly-necessary exemption so narrowly that no analytics fits inside it.
  • The UK changed its rules in 2025 to allow some analytics storage without consent, on conditions that include telling people clearly and giving them a simple way to object.
  • Outside Europe the picture shifts again. Most US state privacy laws work on notice and the right to opt out, rather than consent before anything runs.

If your visitors come from several countries, and most sites’ visitors do, you’re dealing with several answers at once. That’s the main reason no vendor can promise you’ll never need a banner: it doesn’t know where your visitors are, who regulates you, or what else runs on your site.

Questions to work through for your own site
  1. WhereWhich countries do your visitors come from, and which regulator do you answer to?
  2. DeviceWhat does each script on the page store on, or read from, the visitor’s device?
  3. DataWhat personal data does your analytics process, even briefly, and on what lawful basis?
  4. ExtrasWhat do you add on top of the defaults, such as custom properties, user IDs or search terms?
  5. RecordWrite down the conclusion and your reasoning, and have someone qualified check it.

A way to structure the question, not an answer to it.

What FunnelSights does, and what it doesn’t claim

We can tell you exactly what our software does, because that’s a matter of fact rather than law.

  • Nothing is written to the visitor’s device: no cookie, no local storage entry.
  • The IP address and user agent are used at ingest to compute a daily hash and are never stored.
  • The salt behind that hash rotates every 24 hours and is deleted after 48. After that, the hash can’t be recomputed.
  • Raw events are purged after 180 days by default. Reports read daily totals that carry no visitor ID.
  • Processing happens in the United States, so for visitors in the EU or the UK it’s an international transfer.

FunnelSights makes no claim that using it removes a consent requirement, and won’t make one. A cookieless design doesn’t by itself establish a consent exemption or any compliance status.

It does make the analysis shorter, because there’s less to describe. The conclusion is still about your use in your countries, and it belongs with someone qualified to reach it. Analytics and consent sets out the same position, and the privacy page lists every field a pageview records.

One part of the answer is yours rather than ours. Custom event properties are fields you control, so if you put an email address or a user ID in one, you’ve added personal data that our design can’t remove for you.

What to do before you remove your banner

Back to your designer’s message. Before you reply, work through these five steps.

Step 1: List every script that touches the browser

Include ad pixels, video embeds, chat widgets and testing tools, not just analytics. The banner question is about the whole page.

Step 2: Find out where your visitors are

Your analytics can show you the countries. That tells you which rules and regulators to read up on.

Step 3: Choose and record your lawful basis

Decide your GDPR lawful basis for analytics and write down why. If it’s legitimate interests, document the balancing test.

Step 4: Update your privacy notice

Describe what your analytics collects, why, how long it’s kept and where it’s processed.

Step 5: Get the conclusion checked

Ask a lawyer or your data protection officer to check it for the countries that matter to you. Then you can give your designer a real answer.

If you end up keeping a banner for other scripts, measure what it costs your data. The consent analytics gap explains why the loss isn’t random. For the wider picture of how cookieless measurement works and what it can tell you, start with the cookieless analytics guide.

Frequently asked questions

Do I need a cookie banner for Google Analytics?

Google Analytics sets cookies, so in the EU and the UK the device-storage rule applies. Outside the narrow national exemptions some regulators allow, analytics cookies are generally expected to wait for consent. The details vary by country, so confirm the position for your own site with legal advice.

Do I need consent if my analytics uses no cookies?

Possibly. Removing cookies removes what is stored on the device, but it doesn’t settle whether the script’s access to the browser needs consent where you operate, and the GDPR still applies to the IP address the tool receives. The answer depends on your visitors’ countries and on what you collect.

Can I rely on legitimate interests for analytics?

Under the GDPR, many organisations do, but it needs a documented balancing test showing your interest isn’t overridden by your visitors’ rights. It only covers the GDPR side. Where the ePrivacy rule requires consent for something on the device, legitimate interests can’t replace it.

Is a cookie banner the same as consent?

No. A banner is an interface, and consent is the legal outcome it tries to collect. Consent has to be freely given, specific, informed and unambiguous, so a banner that pre-ticks boxes, hides the reject option or loads scripts before anyone chooses may not collect valid consent at all.

Does FunnelSights mean I can remove my cookie banner?

FunnelSights makes no claim that using it removes a consent requirement. It writes nothing to the visitor’s device and never stores IP addresses or user agents, which shortens the analysis. Whether you still need consent depends on your countries, your other scripts and what you collect, so take legal advice on your specific use.

More in this series

This post is part of Cookieless analytics: how it works, what it costs, and how to choose, our guide to privacy-first analytics.