Matomo or Google Analytics 4: an honest comparison
Matomo gives you more control over the data, Google Analytics 4 a closer link to Google Ads. The comparison shows what fits your business and goal.

Matomo as a Google Analytics alternative: what is the difference to GA4?
Matomo is open-source web analytics software and a well-known Google Analytics alternative, which you run on your own server or use as a cloud service. Google Analytics 4 (GA4) is Google’s free analytics service, whose data sits with Google and which is closely connected to Google Ads. Matomo suits you if you want to keep control of the data. GA4 suits you if you run Google Ads and want to use the results directly in your advertising. Both are serious solutions. Which is better depends on your business.
This comparison names the differences that matter in everyday use. On data protection, note that this article is not legal advice. Statements by the provider are marked as such.
Matomo and GA4 compared
| Criterion | Matomo | Google Analytics 4 |
|---|---|---|
| Operation | Self-hosted (on-premise) or as a cloud service | A service from Google, no server of your own needed |
| Data storage | Self-hosted on your server. Cloud in Europe (Frankfurt), according to the provider | With Google. Event data is kept for 2 or 14 months in the standard version |
| Costs | Community version free, plus server and maintenance. Cloud tiered by monthly hits, with a trial period according to the provider | Free in the standard version |
| Consent | Possible without cookies. The mode following the rules of the French CNIL restricts the range of functions. Assessment case by case | In practice, consent through a cookie banner, controlled through Consent Mode v2 |
| Google Ads | No similarly direct link. The conversion tag for Google Ads runs separately | Link with Google Ads: key events as conversions, audiences, data from Google Ads in the reports |
| Effort | Installation, updates and security when self-hosting. Set up events yourself | Setup through Google Tag Manager. Set up events and Consent Mode yourself |
→ Cookie banner with Consent Mode v2: compliant, with no monthly licence
Data storage and consent: where do the differences lie?
With the self-hosted variant, you decide where the data is stored. According to the provider, the cloud version stores it in Frankfurt. These are the provider’s statements. Whether a configuration is sufficient for you is a question for your data protection officer or your lawyer.
On consent: Matomo can be run without cookies. The French supervisory authority CNIL exempts audience measurement from the consent requirement under narrow conditions: it may serve only to measure for the site operator, produce only anonymous statistical data, not be linked to other processing and not allow cross-site tracking. The CNIL names no products in doing so, but refers providers to a self-assessment form. In its own guide, Matomo states that the software can be set up accordingly for France. That is a self-assessment by the provider, not an approval by the CNIL.
The price for this is set out in that guide: in that mode, visitor profiles, User ID and heatmaps are among the things that drop out, and according to the guide, evaluations of campaigns and conversions are not part of the permitted purpose. This mode therefore fits poorly for measuring the success of advertising. It also applies to France. In Germany, what matters is Section 25 TDDDG (access to the end device) and, in addition, a legal basis under the GDPR. The CNIL rules cannot simply be transferred. In practice, GA4 usually requires consent, which you implement through the cookie banner and Google Consent Mode v2.
How well does the link to Google Ads work?
Here GA4 has the clear advantage. According to Google Help, you link the property to your Google Ads account, create conversions in Google Ads based on GA4 key events and use GA4 audiences in campaigns. For the audiences, Google signals or user-provided data must be activated. After linking, data from Google Ads is, according to the Help, available in the GA4 reports within 48 hours. With Matomo, Google Ads remains a separate system: you set the conversion tag for Google Ads separately and merge results from both tools yourself.
→ Setting up Google Consent Mode v2 correctly: no warning in Tag Assistant
How do the features differ in everyday use?
Both tools deliver the usual reports on visitors, pages, sources and goals. GA4 is event-based: every interaction is an event that you define and name yourself. For free-form analysis, there are Explorations and an export to BigQuery. Matomo comes with many standard reports. According to the provider, heatmaps and session recordings are not part of all plans and are charged by usage. If you mainly want to know which pages are read and where visitors come from, you will manage with either. If you want to combine analyses with other data sources, you should check beforehand which exports and interfaces you need.
What do operation and upkeep cost?
GA4 costs nothing in the standard version. The costs lie in the setup and in the upkeep effort for events and consent. The Community version of Matomo is free, but server, backups, PHP updates and security are at your expense or your service provider’s. The cloud version takes the operation off your hands. According to the provider, its price depends on the number of monthly hits (page views, events and other requests), and there is a free trial period. So with Matomo, expect time or money for operation, and with GA4 the effort for setup and consent.
What suits whom?
- Trades business without advertising: both work. Matomo is worthwhile if someone maintains the server or the cloud version is enough, and GA4 is worthwhile if you use Google services anyway.
- Shop with Google Ads: GA4, because conversions, audiences and data from Google Ads come together without detours.
- Public authority or association with high demands on data control: Matomo, self-hosted, because you set the storage location and retention yourself.
- Agency with several clients: it depends on the clients. Those who run advertising usually need GA4, and those who want control need Matomo.
One point often tips the balance: if advertising with pixels is running on the site anyway, you need a cookie banner with consent for it. The advantage of measurement without consent then shrinks, because you maintain the banner either way. So first check which services besides analytics run on your site.
Both tools can also be run in parallel. That costs more effort, but it helps with a switch, because you can compare the figures over a few weeks.
How do you set up GA4 cleanly?
If you decide on GA4, the quality of the figures depends on the setup. Trackum sets up GA4 with Google Tag Manager, Consent Mode v2 and up to 15 events for €150, tested and live within one working day. The most important thing is independent of the provider: after the setup, check in Tag Manager Preview that the events arrive as you expect, with and without consent.
Frequently asked questions
Is Matomo a good Google Analytics alternative?
Yes, if control over the data matters more to you than a direct link to Google Ads. The software can be self-hosted or used as a cloud service, and it delivers the usual reports on visitors, pages and goals.
Is Matomo GDPR compliant?
The software alone does not make a website GDPR compliant. It depends on configuration, hosting, purpose and legal basis. In case of doubt, a specialist assesses that. Matomo can be set up to work without cookies. The provider has its own guides on this.
Can I use Matomo and Google Analytics 4 at the same time?
Technically yes, as both tools run independently side by side. But that increases the effort, and you must reflect both in the privacy policy and the cookie banner. For a switch, running them in parallel for a few weeks can make sense, to compare the figures.
Is Matomo really free?
The self-hosted Community version is free, but you pay for server, maintenance and updates. The cloud version is paid and depends on the number of monthly hits, and current prices are on the provider’s site.
Sources
- Google Analytics Help: Link Google Ads and Analytics support.google.com
- CNIL: consent exemption for audience measurement (in French) cnil.fr
- Matomo: configuration without consent for France (provider’s statements) matomo.org
- Matomo: prices and plans matomo.org
- Gesetze im Internet: Section 25 TDDDG gesetze-im-internet.de
Read more
FeaturesCookie banner with Consent Mode v2: compliant, with no monthly licence
Reject on the first layer, settings per purpose, Consent Mode v2 with every consent type and a record of each choice. No monthly licence.
FeaturesSetting up Google Consent Mode v2 correctly: no warning in Tag Assistant
The most common warning in Tag Assistant says a tag read consent before a default was set. How to avoid it, and what else matters.
FeaturesMarketing dashboard with GA4 and Google Ads: every number on one page
Visitors, leads, orders, ad spend and ROAS per campaign on one page, compared with the previous period. One link, nothing to set up.
FeaturesRevenue from your CRM, shop and ERP in one dashboard: HubSpot, Shopify, Odoo and more
Google Analytics only sees what happens on the website. Orders by phone or email are missing. With a data connection, the real revenue from your system appears in the dashboard.
FeaturesWebsite leads with their source in your CRM: HubSpot, Pipedrive, Brevo, Salesforce or webhook
Where did the lead come from? The CRM handover writes source, campaign and click ID into the CRM with every enquiry, without a form plugin.
FeaturesOffline conversions: report sales from your CRM to Google Ads and Meta
Google Ads and Meta learn from what you report to them. If they only get form fills, they optimise for form fills. With offline conversions, they optimise for sales.