PrivacyQuick

Google Consent Mode & analytics

Cookieless analytics: do you still need a cookie banner?

Often not for the analytics itself, if the tool really stores nothing on the visitor's device and you configure it carefully. But cookieless analytics doesn't remove your GDPR duties, and most sites have other trackers that still need consent.

  • Plain English
  • Written for website owners
  • Free to read

Cookieless analytics can let you measure traffic without a consent banner, but only if two things are true. First, the tool must not store or read anything on the visitor's device beyond what's strictly necessary, so ePrivacy consent isn't triggered. Second, you must still handle any personal data it processes lawfully under the GDPR. If the rest of your site has no other trackers, a well-configured cookieless tool can mean no banner. If you also run ads pixels, embedded videos or session replay, you need a banner anyway, and the analytics question matters less.

What "cookieless" actually means

"Cookieless" is a marketing label, not a legal category. Tools sold under it use quite different techniques:

  • No identifier at all. The tool counts page views and reads the referrer, but can't tell whether two page views came from the same person. This is the most privacy-friendly approach, and the least detailed.
  • A server-side hash with a rotating salt. The server combines the IP address, user agent and site with a secret salt that changes daily, hashes the result, and uses it to group page views into visits. When the salt is deleted, yesterday's hashes can no longer be linked to today's. Plausible documents this approach, and several other privacy-focused tools describe similar ones.
  • Cookieless mode in a traditional tool. Matomo, for example, can run with cookies disabled. It then groups visits using a hash built from properties such as the IP address and browser details.
  • Browser storage under another name. Some scripts drop cookies but keep an ID in localStorage or sessionStorage. Legally, this is no different from a cookie (see whether localStorage needs consent).

Before you rely on a vendor's "no banner needed" claim, find out which technique it uses, and read its documentation on how it identifies visitors.

EU and UK law look at website analytics through two different lenses. You have to clear both.

TopicePrivacy Directive Art. 5(3) (and national laws such as PECR or Germany's TDDDG)GDPR
What it coversStoring information on, or accessing information from, the user's deviceAny processing of personal data, including IP addresses and online identifiers
Default rulePrior consent, unless an exemption appliesAny of the six legal bases in Art. 6(1)
ExemptionsTransmission of a communication, or strictly necessary for a service the user requestedNot applicable: you choose a basis such as consent or legitimate interests
Does cookieless help?Yes, if nothing is stored or read beyond what's strictly necessaryOnly partly: you still process data and need a basis, transparency and a processor agreement

A truly cookieless tool takes you out of the first column. It doesn't take you out of the second.

Article 5(3) is technology-neutral. It talks about "storing information" and "gaining access to information already stored" in terminal equipment, not about cookies. The EDPB's guidelines on the technical scope of that article (Guidelines 2/2023, finalized in 2024) read it broadly. They treat techniques such as tracking pixels, tracking links and some uses of identifiers derived from device information as potentially in scope, even when no cookie is involved.

That matters for cookieless tools that build visitor identifiers from device or browser properties. A short-lived hash of the IP address and user agent that the request already contains is generally seen as lower risk. A script that actively collects screen size, fonts, canvas output and other properties to build a stable fingerprint is a different matter. Regulators have long treated fingerprinting as needing the same consent as cookies, or more.

So ask two questions of any tool:

  1. Does the script write anything to cookies, localStorage, sessionStorage or IndexedDB?
  2. Does it read device properties beyond what the browser sends with every request, in order to recognize the visitor?

If the answer to both is no, you are in a strong position on the ePrivacy side. If either is yes, you need consent unless a national exemption covers your use.

National exemptions for audience measurement

Some regulators allow limited analytics without consent even when cookies are used. These rules vary by country, so check where your visitors are.

France: the CNIL audience-measurement exemption

The CNIL accepts that trackers used only for audience measurement can be exempt from consent if strict conditions are met. Its guidance on analytics lists conditions including:

  • the purpose is strictly limited to audience measurement (and A/B testing) for the site publisher alone
  • visitors are informed and can object
  • the data isn't combined with other processing or passed to other parties
  • the last byte of the IP address is truncated
  • trackers expire after no more than 13 months

The CNIL also says that most large audience-measurement offerings fall outside the exemption whatever their configuration, and points to self-configurable tools such as Matomo. Features like heatmaps and session recordings go beyond audience measurement, so enabling them puts you back under the consent rule. Read more in our guide to CNIL cookie rules.

United Kingdom

The Data (Use and Access) Act 2025 amends PECR to add exceptions to the consent rule, including one for cookies used only to produce statistical information that helps improve a website, provided visitors get clear information and a simple way to object. Check which provisions have commenced, and the ICO's current guidance, before you rely on it. See UK cookie rules under PECR.

Germany and elsewhere

Germany's TDDDG (§25) follows Art. 5(3) closely and has no general analytics exemption. Where there's no specific exemption, analytics cookies need consent. A cookieless tool may be the only way to measure EU traffic without a banner there.

Comparing common approaches

Vendors change their products often, so treat this as a starting point and confirm details in each tool's current documentation.

ApproachDevice storageTypical banner positionWhat you give up
Plausible, Fathom, Simple Analytics and similarNone, according to their documentationOften no consent needed for the analytics itselfLong-term returning-visitor data, user-level journeys, ad integrations
Matomo with cookies disabledNoneOften no consent needed, if self-hosted or EU-hosted and configured carefullyAccuracy of returning-visitor and multi-session reports
Matomo configured for the CNIL exemptionFirst-party cookies, limited to 13 monthsExempt in France if all conditions are met; other countries may differPlugins outside audience measurement, cross-site features
GA4 with advanced Consent ModeNone until consent, but the tag loads and pings GoogleBanner still required in the EEA and UKNothing in features, but it isn't a no-banner solution
Server log analysisNoneNo ePrivacy consent; GDPR still applies to the logsMost behavioral detail; bots inflate numbers

Turning off cookies in Matomo's JavaScript tracker takes one line, which must come before the page view is tracked:

<script>
  var _paq = window._paq = window._paq || [];
  _paq.push(['disableCookies']);
  _paq.push(['trackPageView']);
  _paq.push(['enableLinkTracking']);
  (function() {
    var u = 'https://analytics.example.com/';
    _paq.push(['setTrackerUrl', u + 'matomo.php']);
    _paq.push(['setSiteId', '1']);
    var d = document, g = d.createElement('script'), s = d.getElementsByTagName('script')[0];
    g.async = true; g.src = u + 'matomo.js'; s.parentNode.insertBefore(g, s);
  })();
</script>

Pair it with IP anonymization in Matomo's privacy settings, and a short data retention period.

What you still need without a banner

Dropping the banner for analytics doesn't drop your GDPR obligations. You still need:

  • A legal basis. Legitimate interests (Art. 6(1)(f)) is common for minimal, aggregate analytics. Write down a short balancing test. See where legitimate interest fits.
  • Transparency. Name the tool in your privacy policy, say what it collects and how long data is kept, and explain how visitors can object.
  • A data processing agreement with a hosted vendor (Art. 28), and a check on where data is stored and whether it leaves the EEA.
  • Data minimization. Turn off features you don't use, such as custom events containing form input or user IDs.

The analytics tool is rarely the only thing setting cookies. Embedded YouTube videos, chat widgets, ad pixels and fonts loaded from third parties all count. Your site only needs no banner if everything on it qualifies.

Comparing tools? See privacy-friendly analytics tools: what to compare.

How to decide for your site

  1. Inventory first. Run a free cookie scan to list every cookie, storage item and third-party host on your pages.
  2. Remove or replace what you can. Swap the analytics tool, self-host fonts, use click-to-load for embeds.
  3. Check what remains. If anything non-essential is left, such as an ads pixel, you need a consent banner for those visitors. Once you have a banner, you can keep a cookieless tool outside it, or run a fuller tool behind consent.
  4. Document your reasoning about each tool, including any national exemption you rely on.
  5. Re-scan after changes. Plugins and marketing tags creep back in.

If you do need a banner for the remaining tools, PrivacyQuick can apply opt-in only where it's required by region and leave a notice elsewhere, while your cookieless analytics runs unblocked. The free scan is a good way to see where you stand before deciding.

Frequently asked questions

Is Google Analytics 4 cookieless with Consent Mode?

Not in the sense that matters here. With advanced Consent Mode, GA4 sends cookieless pings while consent is denied, but the tag still loads and data still goes to Google, so it isn't a substitute for consent where consent is required.

Can I use legitimate interest for cookieless analytics?

For the GDPR part, many sites rely on legitimate interests (Art. 6(1)(f)) for privacy-friendly analytics, backed by a balancing test. This doesn't help if the tool accesses the device in a way covered by ePrivacy Art. 5(3), where consent or an exemption is needed instead.

Do I need to mention cookieless analytics in my privacy policy?

Yes. If the tool processes IP addresses or other personal data, even briefly, the GDPR requires you to tell visitors what you collect, why, on what legal basis and who the provider is.

Is server-side tracking cookieless analytics?

Not necessarily. Server-side tagging often still sets or reads cookies in the browser and forwards data to the same vendors, so it usually needs the same consent as client-side tags.

Check your own website in 30 seconds

Our free scanner lists every cookie and tracker your site sets, sorted into categories, before you add a banner.

Run a free cookie scan Start free

This guide is general information, not legal advice. Laws and regulator guidance change; check the current rules for your situation or ask a lawyer.