Table of contents
Matomo vs Google Analytics 4 (GA4) is a choice between open-source Matomo, which you host yourself or rent as Matomo Cloud, and Google's free, Google-hosted GA4.
I track performance in Google Search Console and GA4, and for this comparison I matched 10 report types against both vendors' own docs. This guide covers what Matomo is, a report-parity table, data on your own server, Matomo pricing next to free GA4, moving your GA4 history, and a rule for choosing.
Matomo vs Google Analytics 4: which should you use?
Stay on Google Analytics 4 if you buy Google Ads and want free funnel reports, because GA4 costs nothing and links straight to Google Ads. Pick Matomo when you must control where analytics data is stored, since Matomo Cloud keeps data in Frankfurt, Germany, and Matomo On-Premise runs on servers you choose.[1]
- Google Ads buyers: GA4, because GA4 key events can become Google Ads conversions without any extra plugin.
- Teams that need EU (European Union) hosting without a server: Matomo Cloud, because Matomo Cloud stores data in Germany and includes the premium plugins in the plan.
- Teams with their own server staff: Matomo On-Premise, because the Community edition is free for unlimited users and hits on a server you pick.
- Small sites with no analytics budget: GA4, because GA4 funnels, Search Console reports and the Google Ads link cost nothing.
- My take: I have used GA4 and the heatmap tool Crazy Egg, so I judge Matomo by whether it matches the GA4 reports a B2B SaaS (business-to-business software) team reads. Matomo Cloud is the option I would trial first when a law requires EU data hosting.
What is Matomo Analytics?
Matomo Analytics is an open-source web analytics platform that counts visits, traffic sources, goals and ecommerce sales on websites. Matomo comes as Matomo Cloud, a paid hosted service, or Matomo On-Premise, free open-source software you install and run on your own web server.
- Licence: Matomo publishes Matomo Analytics under the GPL v3 (GNU General Public License version 3) or later, an open-source licence that lets anyone read and change the code.[2]
- Matomo GitHub: The Matomo source code is public in the matomo-org/matomo repository on GitHub, where anyone can read the code or report an issue.
- Matomo Cloud: Matomo Cloud plans include hosting, maintenance, automatic updates, daily backups and access to every Matomo feature.
- Matomo On-Premise: The free Community edition of Matomo On-Premise covers the core reports, and premium plugins such as Funnels come in paid bundles.
- Raw data and reports: Matomo stores each visit as raw data and builds reports from it in a step called archiving.
Which GA4 reports does Matomo match, and which does it miss?
Matomo matches GA4 on traffic acquisition, event tracking, ecommerce and raw data export in every edition, including the free one. Matomo On-Premise misses funnels, Search Console keywords and Google Ads conversion export unless you buy premium plugins, which Matomo Cloud includes in its plans.
I build competitor comparison pages with a published scoring method, so each cell below quotes a line from that vendor's own help page, and each superscript links to the page it quotes. I re-checked all 20 quoted doc lines behind this table with a script, and every line was live on its page.
| Report | Google Analytics 4 | Matomo |
|---|---|---|
| Acquisition | Traffic acquisition report shows where new and returning users come from | Referrer, search engine and campaign tracking in every edition |
| Events and goals | Any event can be marked as a key event | Event tracking in every edition; Goals track objectives such as lead generation and online sales |
| Funnels | Free funnel explorations, open or closed[3] | Funnels plugin: paid bundle On-Premise, included in Cloud[1] |
| Ecommerce | Ecommerce events for carts, checkouts, purchases and refunds | Ecommerce tracking in every edition, switched on per site |
| Raw data access | BigQuery export, up to 1 million events a day on standard properties | Raw data export from the Matomo API in Cloud and On-Premise |
| Data retention | User-level data kept 2 or 14 months for explorations[4] | On-Premise keeps data indefinitely; Cloud Business keeps raw data 24 months[5] |
| Sampling | Explorations may sample past 10 million events per query[6] | Matomo says its reports use the full dataset |
| Consent-free mode | Consent mode sends cookieless pings when visitors decline cookies | Runs without a banner only where local law allows it[7] |
| Search Console data | 2 free Search Console reports after you link the property[8] | Search Engine Keywords Performance plugin: paid On-Premise, included in Cloud[1] |
| Ads integration | Native Google Ads link; key events become Ads conversions[9] | Advertising Conversion Export sends goals to Google Ads; paid On-Premise |
- Funnels cost: Conversion optimization is part of my growth work, so I would price the Matomo Funnels plugin before any switch, because GA4 funnel explorations are free.
- Other premium plugins: Matomo also sells Heatmap & Session Recording and A/B Testing as premium plugins, each with a 30-day free trial on the Matomo marketplace.
- Heatmaps elsewhere: Teams that only need heatmaps can compare dedicated tools in my Hotjar vs Microsoft Clarity comparison.
- Attribution: Matomo's Business bundle and the bundles above it add Multi-channel Attribution, and my guide to marketing attribution tools explains the attribution models behind that report.
What changes when your analytics data sits on your own server?
With Matomo On-Premise, your analytics data sits in a database on a server you choose, so you decide its location, its retention and who can read it. With GA4, Google stores the data, and your data sharing settings decide whether Google may use it beyond running the service.
- Data use in GA4: Google states that when all GA4 data sharing settings are off, your Analytics data is only used to provide and maintain the Analytics service.[10]
- Matomo's claim: Matomo's own Matomo vs Google Analytics page says Google owns your data, which is a vendor claim worth checking against your GA4 data sharing settings.
- Sampling: GA4 may sample an exploration once a query passes 10 million events on a standard Google Analytics property.[6]
- The 10 million figure: Matomo's comparison page says free Google Analytics stops processing new data after 10 million hits. Google's GA4 help page describes 10 million events as a per-query sampling quota instead.
- Retention: GA4 keeps user-level data for 2 or 14 months, and the limit applies to explorations and funnel reports, not standard reports.[4]
- Consent: Matomo says Matomo Cloud or On-Premise can skip the consent banner only where local law allows it, with no personal data and no cookies.[7]
- Germany: Matomo recommends treating its JavaScript tracker as needing consent in Germany until a supervisory authority provides clarity.
Whether GA4 needs a cookie banner is covered in my Google Analytics vs Plausible comparison. The privacy points above are general information, not legal advice, so ask your privacy lead which Matomo or GA4 setup your local law allows.
What do Matomo Cloud and Matomo On-Premise cost next to free GA4?
Google Analytics 4 pricing is free for standard properties, and Google Analytics 360 is the paid version of Google Analytics. Matomo pricing has 2 paths: paid Matomo Cloud, priced by monthly hits, or free Matomo On-Premise with paid plugin bundles and your own server costs.
- GA4 standard: Google states that Google Analytics gives you its tools free of charge.[11]
- Matomo Cloud pricing: Matomo Cloud prices rise with traffic tiers measured in hits, and the free trial needs no credit card.
- Matomo On-Premise Community: The Community edition is free for unlimited users and hits, with forum support only.
- Matomo On-Premise bundles: Paid Team, Business, Enterprise and custom-priced VIP (top tier) bundles add premium plugins and email support, while Matomo Cloud plans already include Matomo features.
- Bundle plugins: The Matomo Team bundle includes Funnels, Heatmaps & Session Recording and Search Engine Keywords, and the Business bundle adds Multi-channel Attribution and Advertising Conversion Export.
- Upkeep: Matomo On-Premise is PHP (a web programming language) and MySQL (a database) software that you install on your own web server. Your team keeps that web server and its database running.
Self-hoster Alex Lance installed Matomo on a Raspberry Pi with Matomo's Docker Compose file, as he describes in his post on replacing Google Analytics. Alex Lance chose a home server because traffic statistics are not mission-critical for his sites.
One Hacker News commenter argues that free self-hosted Matomo misses funnel analysis, because Matomo puts funnels and similar features in paid subscriptions.
How do you move from GA4 to Matomo without losing your history?
You move GA4 history into Matomo with the Google Analytics Importer, a free Matomo plugin that imports reports from a Google Analytics account into a Matomo site. The Google Analytics Importer brings aggregated reports only, so keep GA4 running until Matomo has collected its own raw data.
To move from GA4 to Matomo with the Google Analytics Importer:
- Check the importer requirements, which Matomo Cloud meets automatically.
- On Matomo On-Premise, allow shell_exec() or exec() in PHP and set up cron archiving, a scheduled task that builds reports.
- Install the Google Analytics Importer plugin, a free download for Matomo On-Premise.
- Select your Google Analytics property in the importer and start the import.
- Remove the Google tag from your site's header and add the Matomo tracking code in its place.
- Create your custom dimensions, events and ecommerce tracking again in Matomo, which allows 5 visit and 5 action custom dimensions by default.
- Create your GA4 goals and funnels again in Matomo by hand.
Matomo lists these Google Analytics Importer limits in its own help center:
- Aggregated data only: The importer copies report data, not raw visits, so the Visitor Log, Ecommerce Log, Custom Reports and segments do not work on imported periods.[12]
- Goals: GA4 goals arrive without their goal name, revenue or conversion rate.
- Funnels: GA4 funnel reports are not imported yet.
The Rockefeller Archive Center's web analytics group researched 24 platforms and chose cloud-hosted Matomo over GA4, as its post on moving from Google to Matomo explains. The group picked Matomo Cloud as the easiest transition for its staff.
Which should you choose: Matomo On-Premise, Matomo Cloud or GA4?
Matomo or Google Analytics depends on 3 facts about your team: who must control the data, who will run a server, and whether you buy Google Ads. Server staff points to Matomo On-Premise, EU hosting without a server points to Matomo Cloud, and Google Ads spend points to GA4.
- Pick Matomo On-Premise if: your team runs its own servers, must keep data in a location it chooses, and can buy plugin bundles or work without funnels.
- Pick Matomo Cloud if: you want every Matomo feature with data stored in Frankfurt, Germany, and no server upkeep.
- Stay on GA4 if: you buy Google Ads, need free funnel explorations and Search Console reports, or have no analytics budget.
- Run GA4 and Matomo together if: you are moving and still need GA4's history while Matomo builds its own raw data.
Where should you start with Matomo vs Google Analytics 4?
Start your Matomo vs Google Analytics 4 decision by listing the reports your team opens every week, then check each one against the report-parity table above. I do keyword research and full-site SEO (search engine optimization) audits, so I would test the Search Console row first in a Matomo Cloud free trial.
If Matomo is one option on a longer shortlist, my guide to marketing analytics tools compares Matomo with Plausible, Adobe Analytics and Google Search Console.
Resources and References Used for Research
- [1] Compare Pricing Plans - Matomo Ethical Web Analytics - Matomo (2026)
- [2] Licences - Matomo (2026)
- [3] [GA4] Funnel exploration - Google Analytics Help (2026)
- [4] Data retention - Google Analytics Help (2026)
- [5] Configure Data Retention - Matomo (2026)
- [6] About data sampling - Google Analytics Help (2026)
- [7] Can I use Matomo Analytics without asking for consent or using a cookie banner? - Matomo (2026)
- [8] Connect Search Console to Google Analytics - Google Analytics Help (2026)
- [9] Connect Google Ads to Google Analytics - Google Analytics Help (2026)
- [10] Data sharing settings - Google Analytics Help (2026)
- [11] Analytics Tools & Solutions for Your Business - Google (2026)
- [12] Limitations when importing Google Analytics data - Matomo (2026)
Matomo vs GA4 FAQs
Which should a small team pick, Matomo or Google Analytics?
A small team without a server admin should usually start with Google Analytics 4, because GA4 is free and includes funnel explorations, Search Console reports and the Google Ads link. A small team that must keep analytics data in the EU should trial Matomo Cloud, which stores data in Frankfurt, Germany, and includes Matomo's premium plugins in the plan.
Is Matomo a free Google Analytics alternative?
Yes, Matomo On-Premise is a free Google Analytics alternative when you host it yourself, since the Community edition allows unlimited users and hits. Premium Matomo plugins such as Funnels and Heatmap & Session Recording come in paid On-Premise bundles. Matomo Cloud is a paid hosted plan with a free trial that needs no credit card.
What do practitioners say about switching from Google Analytics to Matomo?
Practitioners who wrote about the switch report mixed results. A Hacker News commenter argues that free self-hosted Matomo misses funnel analysis, because Matomo sells funnels in paid subscriptions. Self-hoster Alex Lance installed Matomo on a Raspberry Pi with its Docker Compose file. The Rockefeller Archive Center researched 24 platforms and chose cloud-hosted Matomo as the easiest transition for its staff.
Does Matomo Cloud include premium plugins such as Funnels?
Yes, Matomo Cloud plans include access to all Matomo features, so premium plugins such as Funnels and Search Engine Keywords come with the hosted subscription. Matomo On-Premise works differently: the Team bundle adds Funnels and Heatmaps & Session Recording, and the Business bundle adds Multi-channel Attribution and Advertising Conversion Export.
Is there a Google Analytics 4 demo account?
Yes, Google offers a Google Analytics demo account, a fully working account that any Google user can open. The demo account holds data from Flood-It! and from the Google Merchandise Store, an ecommerce site that sells Google-branded merchandise. You can explore GA4 reports in the demo account before you compare them with a Matomo Cloud trial.
Where can you find Matomo on GitHub?
Matomo's source code is in the matomo-org/matomo repository on GitHub, released under the GNU General Public License v3.0 or later. Matomo plugins such as the Google Analytics Importer also keep their code in the matomo-org account on GitHub. Matomo On-Premise users can download the importer free from the Matomo plugin marketplace.
How long does Matomo keep data compared with GA4?
GA4 keeps user-level data for 2 or 14 months on standard properties, and that setting affects explorations and funnel reports only. Matomo On-Premise can keep raw and report data indefinitely. Matomo suggests 24 months of raw data, the maximum on the Matomo Cloud Business plan, as a good starting point when no law sets a limit.


