Hunor.digital
Tool comparison

GA4 vs Matomo for EU e-commerce: the GDPR-honest comparison

GA4 is free and legally unsettled; Matomo costs money or server time and is yours. Which trade-off fits an EU store, argued honestly, migration costs included.

Lázár Hunor · Digital Fixer↑ Part of Choosing an analytics tool: GA4, its alternatives, and when to switchLast reviewed 05 Jul 2026
The short answer

For EU e-commerce, GA4 is free and powerful but sends data to Google, requires prior consent, and remains under active legal challenge in the EU. Matomo keeps data on servers you choose (self-hosted free, cloud from €29/month) and can run cookieless. Pick GA4 for the ad-ecosystem integration, Matomo for data ownership.

The short answer

GA4 wins on price (free), on Google Ads integration, and on the size of the ecosystem around it. Matomo wins on data ownership, on running cookieless, and on not having your analytics depend on the next European court ruling. For an EU store, the decision usually reduces to one question: is your marketing built around Google's ad platform?

If it is, GA4's integration is worth real money to you and you should probably stay, with your consent setup done properly. If it is not, Matomo removes a legal dependency you are getting little in return for. And if your current tracking is broken, fix that before migrating anything; a migration copies the mess into a second tool.

Where GA4 wins

The honest caveat on all four: you pay in a different currency. Your data is processed by Google on Google's terms, consent is legally required before it can even load, and every consent rejection is a visitor GA4 simply does not see.

Where Matomo wins

The honest caveat: someone has to own it. Self-hosted Matomo that nobody updates becomes the same untrusted mess you left, with worse uptime.

Is GA4 even legal in the EU?

Today: yes, with conditions. The history matters because it is not over.

In 2020 the EU's top court struck down the Privacy Shield transfer framework (Schrems II). On that basis, the Austrian data protection authority ruled a website's Google Analytics use unlawful in January 2022, and France's CNIL followed in February 2022. Those decisions are why "is Google Analytics illegal" became a search term.

In July 2023 the EU adopted a new transfer framework, the EU-US Data Privacy Framework, and Google is certified under it. That resolved the transfer question for now: GA4 with prior consent and sensible configuration is usable in the EU today. But the framework is under challenge at the Court of Justice (the Latombe case, brought in 2025), and the two previous frameworks both died at that court.

Separate from all of it: GA4 sets cookies, so under the ePrivacy rules you need opt-in consent before it loads, framework or no framework. If your banner does not actually enforce that, the transfer debate is not your biggest problem. Check what your consent banner is really blocking first.

What switching actually costs

Nobody selling migrations leads with this part, so I will.

Which should you pick?

If you want the wider field than these two, the GA4 alternatives for EU e-commerce roundup covers it.