Skip to content
measure

GDPR and analytics in 2026: what you actually need to know

Google Analytics has been ruled unlawful in several EU countries. What GDPR asks of analytics, the two common approaches, and where cookieless analytics fits.

Privacy6 min readBy Measure team

In 2022, data protection authorities in Austria, France, Denmark, Finland, and Italy all ruled that particular uses of Google Analytics violated GDPR. The reason: GA sent data (including IP addresses and device identifiers) to US servers, and the US didn’t provide the level of data protection the EU requires.

More rulings have followed. If you’re running a site with EU traffic and using standard cookie-based analytics, it’s worth a careful look. Here’s what GDPR asks of analytics tools, and the two common ways teams approach it. None of this is legal advice — talk to your counsel about your own setup.

What GDPR asks of analytics

GDPR’s analytics obligations come down to three things:

1. Lawful basis for processing

You need a legal reason to process personal data. The options are:

  • Consent — the user explicitly opts in (via cookie banner)
  • Legitimate interests — your interest in processing outweighs the user’s interest in not being processed
  • Contractual necessity — you need the data to provide the service

For analytics, most organizations use consent (which is why cookie banners exist) or argue legitimate interests (which is disputed and increasingly hard to rely on for detailed tracking).

2. No unnecessary transfer to unsafe third countries

Sending personal data to the US requires either a valid transfer mechanism (Standard Contractual Clauses, adequacy decision) or explicit consent. The EU-US Data Privacy Framework adopted in 2023 provides a legal transfer mechanism for some US companies — but only those certified under it, and it remains subject to legal challenge.

3. Data minimization

GDPR requires collecting only the data you actually need. If you can answer your analytics questions without IP addresses, cookie IDs, or device fingerprints — you should.

The two common approaches

Path 1: Consent + cookies (the complex route)

Use a standard cookie-based analytics tool (GA4, Mixpanel, Hotjar) and add:

  • A cookie consent management platform (CMP) like Cookiebot, OneTrust, or Iubenda
  • A privacy policy that discloses each third-party tool and its data transfers
  • Regular compliance reviews as regulations evolve

This works, but:

  • 40-60% of EU users decline cookies, making your analytics data structurally incomplete
  • CMPs cost $20-500/month on top of your analytics
  • The technical implementation is complex (consent signals need to propagate correctly to each tool)
  • Regulations keep changing — you need to maintain this ongoing

Path 2: Cookieless analytics (the simple route)

Use a privacy-first analytics tool that doesn’t set cookies, doesn’t store IP addresses, and keeps data collection to aggregates.

Cookieless analytics typically works by:

  1. Combining request signals with a salt that rotates daily into a one-way hash, so the raw IP address is never stored
  2. Using that short-lived hash only to deduplicate visits within a day
  3. Collecting aggregate data, not individual user profiles

With nothing stored on the visitor’s device, there’s no cookie banner to show for analytics, and no CMP to run for it. How the rest of GDPR applies to your site is a question for your counsel.

Measure.events is built on this model: no cookies, nothing stored on the visitor’s device, no IP addresses or user-agent strings stored, no cross-site tracking. Visitors are counted with a daily-rotating salted hash.

Does cookieless analytics mean less accurate data?

Somewhat, but less than you’d think.

Cookie-based analytics overcounts in some ways (same user on multiple devices looks like multiple users) and undercounts in others (Safari’s ITP blocks persistent cookies after 7 days; adblockers block tracking scripts).

Cookieless analytics using session estimation typically undercounts returning users. The tradeoff: instead of 0% accurate on EU visitors who opt out, you get ~70-80% accurate across all visitors.

For most products, knowing that your top blog post got 500 visitors this week vs 350 last week is more useful than a precise count that’s missing 40% of your EU traffic anyway.

The practical setup for EU sites

If your site serves EU visitors and you want to drop the consent banner overhead for analytics:

Option 1: Measure.events

Install the script tag — no cookies, no cookie banner needed for Measure:

HTML
<script defer src="https://lets.measure.events/api/script/YOUR_TRACKING_ID"></script>

Your privacy policy can describe it in a sentence, for example: “We use Measure.events for cookieless, aggregate analytics. It sets no cookies and doesn’t store IP addresses.”

Option 2: Plausible (self-hosted)

If you need full data sovereignty, Plausible has a self-hosted option you can run on your own EU infrastructure. More setup, but the data never leaves your control.

Option 3: Matomo with privacy mode

Matomo self-hosted with IP anonymization enabled, cookies disabled, and respect for Do Not Track. More configuration, but fully open-source.

What to put in your privacy policy

If you’re using cookieless analytics, your privacy policy analytics section can be short:

Have your counsel confirm what else your policy needs to say.

Compare this to the typical GA4 privacy policy section, which discloses data collection, purposes, transfers to the US, retention periods, user rights, and the legal basis for processing.

Google’s Consent Mode v2 attempts to model conversions from users who declined cookies. It uses machine learning to estimate what opted-out users would have done, then fills in the gaps.

This is useful for conversion tracking and Google Ads, but:

  • The modeled data isn’t the same as real data
  • It still requires a consent banner (just handles the case where users decline)
  • The EU tracking situation remains contested even with Consent Mode

For pure analytics (not tied to Google Ads), Consent Mode doesn’t simplify things — it’s primarily an advertising tool.

Quick checklist

For a small site or SaaS that wants simpler analytics privacy:

  • [ ] Switch to a cookieless analytics tool
  • [ ] Confirm no IP addresses are stored by the tool
  • [ ] Confirm where data is stored (or that you’ve verified the transfer mechanism)
  • [ ] Update privacy policy with a short analytics disclosure
  • [ ] Remove the cookie consent banner for analytics cookies (if all cookies are now gone, ask your counsel whether you need the banner at all)
  • [ ] Test: run a privacy audit tool like Blacklight to confirm no cookies are set

If you’re also running Google Ads or Facebook Pixel, those generally require consent regardless of your analytics choice — but you can limit consent to those specific tools instead of applying it to everything.

The short version

Analytics under GDPR in 2026 is easier than it used to be: use a cookieless tool, drop the analytics cookie banner, update a few sentences in your privacy policy, and check the rest with your counsel.

The complex route (consent + GA4 + CMP) is appropriate if you need the richer behavioral data GA4 provides or if you’re running Google Ads. For most product analytics needs, it’s unnecessary overhead.

Let your agent read the numbers.

$29 a month covers 40 sites, then $0.50 a site. 14-day trial.