Analytics without a cookie banner: what the rules say in 2026

Where the cookie banner requirement comes from, what France and the UK allow for analytics, how to check what your site stores, and what to do before you remove the banner.

Nahnu Analytics3 min read
On this page7 sections

If you run a website for a business with European or UK visitors, you have probably been told you need a cookie banner. Often that is true. But the banner is not caused by “having analytics”. It is caused by what your scripts store in your visitors’ browsers. Change that, and the banner may get smaller or go away.

This guide explains where the requirement comes from, what regulators in France and the UK have said about analytics, how to check what your own site stores, and what to do before you take a banner down.

Key takeaways

  • The banner comes from the ePrivacy rules on storing or reading data on a device, not from analytics as such.
  • Analytics that stores nothing in the browser and keeps no lasting identifier is the easiest kind to run without consent.
  • France (CNIL) and the UK (since February 5, 2026) both allow audience measurement without consent, under conditions.
  • The banner stays if anything else on the site, such as ad pixels or some embeds, still needs consent.

In the EU, the rule behind the banner is Article 5(3) of the ePrivacy Directive. It asks for consent before a website stores information on a visitor’s device, or reads information already stored there. Cookies are the best-known case, but local storage, tracking pixels and fingerprinting are covered too. The exception is storage that is strictly necessary for something the visitor asked for, such as a shopping cart or a login.

GDPR is a separate layer. It governs how you may use personal data once you have it. So two questions decide whether your analytics needs a banner:

  1. Does it store or read anything on the visitor’s device?
  2. Does it process personal data in a way that needs consent?

Classic analytics answers yes to the first question: it sets a cookie with an id so it can recognize the same visitor on their next visit. That is why it usually needs consent in the EU.

Cookieless analytics Method
Website statistics that count visits without storing cookies or other identifiers in the visitor’s browser. Visitors are told apart by a short-lived, anonymous value worked out on the server, which changes regularly so nobody can be followed over time.

What regulators have said about analytics

Two regulators have written down when audience measurement can run without consent.

  1. October 2020

    CNIL cookie guidelines

    France’s regulator exempts audience measurement from consent when it only produces the site’s own statistics and meets strict conditions.

  2. June 19, 2025

    UK Data (Use and Access) Act

    The Act becomes law and adds new exceptions to the UK cookie rules (PECR), including one for statistics.

  3. July 2025

    CNIL updates its guidance

    The CNIL publishes updated conditions and a self-assessment for analytics providers.

  4. February 5, 2026

    UK statistics exception in force

    Analytics used only to produce statistics for the website can run without consent, as long as visitors are told about it and can object.

The conditions are similar in both places. The data must be used only for the website’s own statistics. It must not be shared with others for their own purposes or used to follow people across websites. Visitors must be told about it and, in many cases, be able to opt out. Read the CNIL’s analytics sheet and the Data (Use and Access) Act 2025 for the exact wording.

How to check what your site stores

Before deciding anything, look at what your site actually puts in a visitor’s browser. You only need a browser and five minutes.

  1. Open a private window

    A private (incognito) window starts with nothing stored, so everything you see comes from this visit.

  2. Load the site and do not click the banner

    This shows what loads before anyone agrees to anything, which is what regulators look at first.

  3. Open the developer tools

    Right-click the page, choose Inspect, then open the Application tab (Chrome and Edge) or Storage tab (Firefox and Safari).

  4. Look at Cookies and Local storage

    List each item and the domain that set it. Names such as _ga, _fbp or _gcl_au come from analytics and ad tools.

  5. Check the Network tab

    Reload the page and look at which outside domains the page talks to. Each one is a tool to account for.

Do the same check after accepting the banner, and again after rejecting it. If anything is stored before consent, or after a rejection, that is the first thing to fix, banner or not.

What changes when analytics stops using cookies

With cookie-based analytics

Visitors who reject or ignore the banner are not counted, so the numbers miss part of the traffic. The banner covers the page on the first visit.

With cookieless analytics

Every visit is counted from the first page, and there is one less tool that needs consent.

It is not free. Cookieless counting gives some things up, and it is worth knowing which before you switch.

Pros

  • Usually no consent needed for the stats
  • Visits counted even when nobody clicks the banner
  • No lasting identifier to protect, export or delete
  • Shorter privacy policy and cookie list

Cons

  • The same person usually counts as new the next day
  • No following one person across devices or websites
  • No ad audiences or remarketing lists
  • Other tools on the site may still need a banner

For most small and medium sites the trade is worth it: you lose detail about individuals and gain a complete count of visits, sources and pages.

The privacy policy still matters

Running analytics without consent does not mean running it in secret. The UK exception and the CNIL conditions both expect visitors to be told. A short paragraph is enough, for example:

We count visits to this website to see which pages are read and where visitors come from. We do not use cookies for this, do not store IP addresses, and cannot identify you from these statistics.

Adjust it to what your tool really does, and add how to opt out if your rules ask for one.

Before you take the banner down

Banner check 0 / 8

Where Nahnu Analytics fits

We built Nahnu Analytics around this approach. It sets no cookies and never stores IP addresses: each visitor gets an anonymous id for one day, made from a hash with a salt that changes daily and differs per website. The data stays in your own Cloudflare account. On WordPress, its connector tells common consent plugins that the stats are necessary, so they are not held back. How visitors are counted has the details.

Is cookieless analytics automatically GDPR compliant?

No tool is compliant on its own; it depends on how you use it. Cookieless analytics removes the main reason for a banner, but you still need a privacy policy, and some features, such as recognizing returning visitors, change what is processed.

Do I still need a privacy policy?

Yes. Describe what is counted, that no cookies are set and where the data is kept.

Can I drop the banner completely?

Only if nothing else on the site needs consent. Ad pixels, some video embeds and chat widgets usually do, so the banner often stays but gets shorter.

Does Google Analytics work without a banner?

Google Analytics sets cookies by default, so in the EU and UK it normally needs consent. Google’s Consent Mode changes what is sent before consent, but it does not remove the need for a banner.

Written by

Nahnu Analytics

All posts by Nahnu Analytics →

Nahnu Analytics

Own your clients' analytics.

One license, unlimited client websites, every feature.