← Back to the blog

July 6, 2026 · 4 min read

Google Analytics Alternatives: GDPR-Compliant Tracking

Running Google Analytics lawfully in the EU stays painful: consent banners, US transfers, data gaps. Cookieless alternatives from Matomo to PostHog.

AA
Anton Anders
IT consultant & developer

You may only run Google Analytics with your visitors’ consent — and every click on “decline” is missing from your statistics afterwards. If you want to know what happens on your own website without a banner and without data flowing to the USA, 2026 offers plenty of choice: Matomo, Plausible, Umami, PostHog or GoatCounter measure without tracking cookies, run on your own servers if you want, and configured properly they usually need no consent banner at all.

Up front, as always: this is a technical assessment, not legal advice. Whether your specific configuration can run consent-free is a question for your privacy counsel.

The real problem isn’t the banner

The banner is just the most visible symptom. Behind it sits a measurement error many people overlooked for years: when a share of visitors refuses consent, your statistics don’t show your traffic — they show the traffic of people who click banners away. And on that data basis, campaigns get judged and budgets get allocated.

Then there’s the legal history. In 2022 the Austrian data protection authority (documented at noyb) and the French CNIL declared the Google Analytics setups of the time unlawful, because visitor data flowed to the USA without adequate protection. The Data Privacy Framework formally repaired the transfer in 2023. But that legal basis hangs on the political climate between Brussels and Washington, and if you’ve watched an “EU region” get mistaken for sovereignty, you know how quickly such a foundation can crumble.

And even if none of that bothered you, the soberest question remains: who owns the data? Your raw data sits in Google’s infrastructure, with retention periods and analysis limits Google defines. You can export reports. You don’t control the data.

What “cookieless” actually means

Cookieless tracking doesn’t recognise visitors via an identifier stored in the browser; it counts page views and sessions using short-lived, anonymised signals. Matomo, for example, can be configured to set no cookies and to shorten IP addresses. The price: returning visitors can’t be recognised across months. For a marketing site that’s bearable, for personalised advertising it isn’t — and that’s exactly why the model works. It measures what you need to know and leaves out what would invite abuse.

The alternatives, honestly sorted

Matomo is the incumbent and feels closest to Google Analytics: campaign tracking, funnels, heatmaps, even an import for your old GA data. It runs self-hosted or in an EU cloud. If you’re used to GA’s feature set and actually use it, you’ll almost always land here.

Plausible is the counter-programme: one tidy dashboard, embedded in a minute. Built by a European company, open source, available as an EU cloud subscription or self-hosted. Honestly, a company website rarely needs more.

Umami plays in the same lean league but is built for self-hosting first — a small application with its own database that slots neatly into existing infrastructure. In our experience it’s the most common pick for developer teams.

PostHog isn’t really web statistics but product analytics: funnels, feature flags, session recordings. For a marketing site that’s too much tool. But if you run a web app and want to know where users get stuck, this is the self-hostable answer to Mixpanel and Amplitude.

GoatCounter is the minimal option — maintained by a single developer, meant for small sites and side projects, free to use and open source. No company behind it, but no baggage either.

Piwik PRO belongs on the list for completeness: the commercial descendant of the old Piwik (which Matomo also grew out of), not open source, but an EU vendor with contracts, support and a compliance package. Interesting when the requirements sound like a corporation and someone wants a contract partner with liability.

ToolFocusHostingOpen source
Matomofull feature set, GA importself-hosted or EU cloudyes
Plausibledeliberately leanEU cloud or self-hostedyes
Umamilean, self-hosting firstself-hosted or cloudyes
PostHogproduct analytics for web appsself-hosted or cloudyes
GoatCounterminimal, small projectscloud or self-hostedyes
Piwik PROenterprise, with support & contractsEU cloudno

One caveat belongs here: if you use GA4 mainly to steer campaigns inside Google’s ad network, switching is real work — no other tool matches that depth of integration with Google Ads. If you want to know what happens on your own website, you lose nothing in the switch except the banner.

Self-host or have it hosted?

Almost all of these tools run on your own infrastructure — then not a single byte of visitor data leaves the house. The catch is the same as with every self-run service: the software is not the problem, operations decide. Without updates, backups and monitoring, the privacy win turns into a security risk.

If you want the win without the effort, run the statistics as part of a managed open-source setup — the same model as selfhosting as a service for Nextcloud and friends, just for your web analytics.


Want to drop the cookie banner and still know what’s happening on your website? Get in touch — we’ll find the tool that fits your needs and can run it for you too.

Frequently asked questions

Is Google Analytics banned in the EU? +

No, but using it requires informed consent, and the US data transfer was the subject of regulatory proceedings for years. Since the Data Privacy Framework the transfer is formally possible again — the responsibility for compliant use still sits with you.

Does Matomo need a cookie banner? +

Configured cookieless, Matomo sets no tracking cookies and shortens IP addresses. On the widely held view, no consent is needed then and a note in the privacy policy suffices. Confirm your specific setup with your privacy counsel — we deliver the technology, not legal advice.

What is the best Google Analytics alternative? +

It depends on your needs. Matomo offers the largest feature set and imports old GA data, Plausible and Umami are deliberately lean, PostHog targets product teams, GoatCounter small projects. All of them run cookieless and can be self-hosted, so the data stays in-house.

Are cookieless statistics worse than Google Analytics? +

They are different. Without cookies there is no recognition of returning visitors across months, but no visitors are missing because they declined a banner. For the questions most websites have — what gets read, where visitors come from, what converts — the data is entirely sufficient.

Sounds like your situation?

Let’s talk about it — free and with no strings attached.