GDPR-friendly web analytics: EU alternatives to Google Analytics

What makes web analytics GDPR-friendly, which well-known tools are based in the EU or can be self-hosted, and whether they still need consent. Plus the other route: Google Analytics with a cookie banner and Consent Mode.

Last checked on 24 November 2026

In short

  • GDPR-friendly analytics collects as little as possible, does not track across sites, handles IP addresses carefully and keeps data in the EU or has a valid transfer basis.
  • Where a tool is hosted does not decide whether you need consent. That follows from the cookie rule and your national regulator.
  • Cookieless or minimised analytics can run without consent in some countries, such as France, if it meets strict conditions. In many others it cannot.
  • Google Analytics remains an option, provided it only runs after consent and passes the choice on through Consent Mode.
  • Cookie Confirm is not an analytics tool: it blocks the analytics script until the visitor consents, where consent is needed.

What makes analytics GDPR-friendly?

No tool is "GDPR compliant" on its own: compliance depends on how you configure and use it. But some properties make it much easier. Look for these:

  • Data minimisation. Collect only what you need for statistics about your own site (article 5(1)(c) GDPR). No user profiles, no session recordings unless you really need them.
  • No cross-site tracking. The data should only be used for your website, not combined with data from other sites or reused by the provider for its own purposes.
  • IP addresses. Ideally the full IP address is not stored, or is shortened or discarded right after use, for example to derive an approximate country.
  • Hosting in the EU. If personal data stays in the EU, you avoid the rules on transfers to third countries (chapter V GDPR).
  • No transfer to the US, or a valid basis. If data does go to the US, the provider must be certified under the EU-US Data Privacy Framework or you need another transfer mechanism, such as standard contractual clauses.
  • A processor agreement. A provider that processes data for you is a processor and needs a contract under article 28 GDPR.
  • The cookie rule. Separately from the GDPR, storing or reading information on the visitor's device needs consent under article 5(3) of the ePrivacy Directive, unless an exemption applies. This also covers techniques other than cookies; see cookieless tracking.

Well-known EU-based or self-hostable tools

The overview below only lists facts that the providers state on their own websites (checked on 24 November 2026). It is not a ranking or a recommendation, and it says nothing about prices. Check the current terms and your own configuration before you choose.

Tool Company (per provider) Hosting (per provider) Cookies Self-hosting
Matomo InnoCraft Ltd, New Zealand (operates Matomo Cloud) Matomo Cloud: data stored in Europe Yes by default; can be switched off Yes, open-source Matomo On-Premise
Plausible Legal entity incorporated in Estonia EU, on infrastructure in Germany and Finland No cookies or persistent identifiers Yes, Plausible Community Edition (AGPL)
Simple Analytics Simple Analytics B.V., Amsterdam, the Netherlands EU, European-owned servers No cookies, no local storage, no fingerprinting Hosted service only
Fathom Analytics Conva Ventures Inc., Canada "EU isolation": EU traffic goes to EU infrastructure and is anonymised before it is sent to the US No analytics cookies Hosted service only
Piwik PRO Piwik PRO SA, Wrocław, Poland, and Piwik PRO GmbH, Berlin Customer chooses: Germany, the Netherlands, Sweden, the US or Hong Kong; private cloud options First-party cookies after consent; optional anonymous mode without consent Private cloud on dedicated hardware

A few notes from the providers' own documentation:

  • Matomo says it uses cookies to store information about visitors between visits, and that switching them off reduces accuracy because returning visitors are harder to recognise. It also notes that most European countries require consent for tracking technologies and that your banner may still be needed.
  • Plausible counts unique visitors with a daily hash of a rotating salt, the site domain, the IP address and the user agent. The salt is deleted every 24 hours, and IP addresses are not stored.
  • Simple Analytics says IP addresses reach its servers in transit but are not stored, and that unique visits are determined from the referrer, not from cookies or IP addresses.
  • Fathom creates a visitor signature with SHA-256 from the IP address, user agent, site ID and a daily salt. Its company is outside the EU; check its EU isolation documentation to see what reaches the US.
  • Piwik PRO lets the customer choose the data centre. For visitors who consent it uses first-party cookies, local storage and a session hash. For visitors who do not, you can optionally collect anonymous data: IP addresses are fully masked, returning visitors are not recognised and only the country is known. Piwik PRO says you have to inform visitors about this.

Do these tools still need consent?

Hosting in the EU answers the GDPR's transfer question. It does not answer the consent question. That depends on two things: what the tool does on the device, and what your national regulator accepts.

  • Tools that set cookies or other identifiers (such as Matomo by default, or Piwik PRO with cookies) store information on the device. Outside a national exemption, that needs consent, just as with Google Analytics.
  • Cookieless tools still run a script that makes the browser send data. According to the EDPB, that can count as gaining access to the device. Whether it needs consent depends on the purpose and on the national rules.

National positions differ:

  • France: the CNIL exempts audience measurement from consent if it is used only for your own site, produces only anonymous statistics, is not combined with other data, does not track across sites and the provider does not reuse the data. The CNIL recommends a tracker lifetime of up to 13 months and data retention of up to 25 months, and offers providers a self-assessment, but does not certify tools.
  • Germany: according to the data protection authorities (DSK), audience measurement is not automatically part of the service the user asked for; whether it can run without consent depends on the specific configuration and purpose.
  • The Netherlands: analytical cookies with little or no impact on privacy may be used without consent. The Dutch regulator (AP) has said it is still examining which cookies fall under that exception; Google Analytics in its default settings does not.
  • Spain, Sweden, Denmark and many other countries have no exemption for analytics: you need consent.
  • The UK has had an exception since February 2026 for statistics used solely to improve your site, under strict conditions; see UK cookie law.

For your own country, see EU cookie law explained. If you are not sure your configuration meets every condition, ask for consent.

The alternative route: Google Analytics with consent

Switching tools is not the only way. Many websites keep Google Analytics 4 and make sure it only runs with consent:

  1. Block GA4 until consent. The cookie banner keeps the Google tag from setting cookies or sending data before the visitor agrees.
  2. Pass the choice on with Google Consent Mode v2. In basic mode, Google tags send nothing without consent. In advanced mode they send cookieless pings, which Google uses for modelling. See Google Consent Mode v2 explained.
  3. Check transfers and settings. Google LLC is certified under the EU-US Data Privacy Framework. Check the data processing terms, Google signals and the link with Google Ads.

How this works in detail, and what regulators decided about Google Analytics, is in Google Analytics and the GDPR.

Where Cookie Confirm fits in

Cookie Confirm is a consent management platform, not an analytics tool. It does not measure your visitors. It shows the cookie banner, records each choice and blocks your analytics script until the visitor consents, wherever consent is needed. It works with any tool in this guide, as well as with Google Analytics, and passes the choice on to Google Consent Mode v2.

Because you can apply rules per country, you can, for example, load a minimised analytics configuration without consent where your national rules allow it, and ask for consent everywhere else.

Sources

Frequently asked questions

Is there GDPR-compliant analytics without a cookie banner?

Sometimes. A tool that stores nothing on the device and only produces anonymous statistics for your own site can fit a national exemption, such as the French CNIL's for audience measurement. But many countries, including Germany, Spain, Sweden and Denmark, have no such exemption or apply it narrowly. And the moment you also use advertising tags or embedded videos, you need a banner anyway.

Is EU hosting enough to make analytics GDPR compliant?

No. EU hosting avoids the question of transfers outside Europe, but you still need a legal basis, transparency and data minimisation under the GDPR, and consent under the cookie rule if the tool stores or reads information on the device for a purpose that is not exempt.

Does Matomo need consent?

By default, Matomo uses cookies to recognise returning visitors, and in most EU countries that needs consent. Matomo can be configured without cookies. Whether that configuration may run without consent depends on your national regulator; Matomo itself advises checking with your legal advisers.

Can I keep using Google Analytics?

Yes, as long as GA4 only runs after the visitor consents and you pass the choice on with Google Consent Mode v2. Google LLC is certified under the EU-US Data Privacy Framework, which currently covers the transfer to the US.

Is Cookie Confirm an analytics tool?

No. Cookie Confirm is a consent management platform. It shows the cookie banner, records the visitor's choice and blocks analytics and marketing scripts until there is consent, wherever consent is needed. You can combine it with any analytics tool.

This guide is general information, not legal advice. We check it regularly, but laws and guidance change. Not sure about your situation? Ask a lawyer.

Enjoy the first 7 days completely free

Create a free account and see if Cookie Confirm is the right fit for you. Live in 5 minutes.

  • No credit card required
  • €7.95 per month after
  • Plug & play installation
Start my free trial

5.0/5 5,000+ websites

Enjoy the first 7 days completely free

No credit card required

Start free trial