Analytics

Does your analytics need a cookie banner?

Whether analytics needs a cookie banner depends on where visitors are and what the tool stores, reads and shares.

On this page 5 sections

Often yes in Germany and much of the EU. In France and the UK, plain visit statistics can run without consent when strict conditions hold, and those exceptions fail as soon as the tool does more. The rule covers more than cookies: it applies whenever a tool stores or reads information on the visitor's device. This is not legal advice, and the rules differ by country. Check your own case with an adviser.

The rule is about the device, not about cookies

The EU rule is Article 5(3) of the ePrivacy Directive. It asks for consent before a service stores information on a visitor's device, or accesses information already stored there, unless an exception applies. A cookie is one way to do that.

The European Data Protection Board (EDPB) says so in Guidelines 2/2023 on the technical scope of Article 5(3), final Version 2.0, adopted on 7 October 2024 and published on 16 October 2024. It names three elements: information, the visitor's terminal equipment, and access or storage. It then tests techniques including URL and pixel tracking, tracking based on the IP address only, and unique identifiers. So "we use no cookies" is not an answer by itself.

Each country applies the rule through its own law and regulator.

Decision by place

Place Rule as read Usual starting point for analytics
EU ePrivacy Article 5(3), as the EDPB reads it Consent, unless a national exception fits
France CNIL audience-measurement exemption No consent if every condition holds
Germany TDDDG section 25 Consent: the text has no statistics exception
UK PECR regulation 6, with the statistics exception in force since 5 February 2026 No consent if every condition holds
US No general consent rule for analytics; state laws differ Depends on the state

France

The French regulator, the CNIL, lets some audience measurement run without consent. Its page of 4 July 2025 says the tracker must have a strictly limited purpose: measuring the audience of the site or app, for the publisher alone (performance, navigation problems, ergonomics, server capacity, content analysis). It must produce anonymous statistical data only, must not cross-reference the data with other processing or pass non-anonymous data to third parties, and must not follow a person across sites or apps.

The CNIL also recommends telling people, a tracker lifetime of about 13 months and data kept for at most 25 months. Its older Sheet 16 adds that people must be able to object, and says most large audience measurement offerings fall outside the exemption.

Germany

Section 25 of the TDDDG (the German law on privacy in telecommunications and digital services) says storing information on a device, or reading information stored there, is allowed only with consent based on clear and comprehensive information. Paragraph 2 lists two exceptions: sending a message over a public network, and storage that is strictly necessary for a service the user expressly asked for. The law's text names no exception for statistics. Expect to ask for consent, and check any other route with a German adviser.

United Kingdom

The Data (Use and Access) Act 2025 added a statistics exception to the UK's PECR rules. Section 112 and Schedule 12 came into force on 5 February 2026 under Commencement Regulations No. 6 (SI 2026/82). Schedule A1, paragraph 5 lets a service store or read information on a device without consent when all of these hold:

  1. You provide an online service, and the sole purpose is to collect statistical information about how it is used, to improve it.
  2. What you collect is not shared with anyone except to help improve your service.
  3. Visitors get clear and comprehensive information about the purpose.
  4. Visitors get a simple means of objecting, free of charge, and they have not objected.

The word "sole" matters. A tool that also serves another purpose does not fit.

United States

No general federal consent rule asks for a banner before analytics. State laws differ. California's Attorney General says a Global Privacy Control signal must be honoured by covered businesses as a valid opt-out of sale or sharing of personal information. If you serve US visitors, check the states you reach.

What changes the answer

What the tool does Why it matters
Stores an identifier on the device The plainest case of storage: a cookie or an ID in browser storage counts under every rule above.
Fingerprints the browser The EDPB builds on an earlier opinion on device fingerprinting. Building an identifier from device traits to follow a visitor falls within its analysis.
Shares data for the vendor's own purposes or for advertising The French conditions rule out cross-referencing and passing data to third parties. The UK condition allows sharing only to help improve your service.
Records sessions The CNIL's final recommendation of 8 October 2026 says session replay tools need prior consent, because no exemption applies. See session replay and GDPR.

A tool can sit in the exempt zone for page views and leave it with one added feature, so read the settings of each feature. What you keep without identifiers is covered in analytics without cookies. Removing identifiers does not by itself settle the legal answer.

How Lundot handles this

The Lundot tracking script sets no cookies and uses no browser storage on any profile. On the default Standard profile the server computes a visitor identifier from the site, IP address, user agent and a daily-changing value, which Lundot does not call anonymous, and the IP address is not stored with the analytics. Strict sends less, and Consented adds campaign tags and ad click ids after a visitor agrees. Replays need a separate replay consent. Lundot does not say whether your site needs a banner: read cookies and consent, then decide with your adviser.

Sources

Put it into practice

  • DocsInstall the tracking script

    Add one script tag to your site's head, with notes for HTML, Next.js, WordPress, Shopify, Webflow and tag managers, then check it works.

  • DocsThe page report

    One row per path: AI requests, search, visits and conversions.

  • ProductWeb analytics that counts visits from AI assistants

    Visitors, sources, pages, events, funnels and replays, with an AI channel that counts ChatGPT and other assistants, even when only a utm_source tag shows them.

Read your site one page at a time

The page report puts AI requests, search clicks, visits and conversions on one row per page.