AdPix Blog

Matomo vs Google Analytics: real costs, missing features, who should pick which

Matomo vs Google Analytics 4 compared on real cost (servers, upkeep, paid plugins), sampling, data location and features, and where AdPix fits.

9 min read

Key takeaways

  • Matomo wins on control: On-Premise is free to download, runs on your own servers, and Matomo says it does not sample data. GA4 wins on price and on its native Google Ads link.
  • Free Matomo is not free to run. Matomo's own sizing table asks for a 4 CPU, 8 GB RAM, 250 GB SSD server at up to 1 million pageviews a month, plus hourly archiving and regular PHP and MySQL upgrades.
  • Several reports GA4 users expect, including funnels, cohorts, users flow, custom reports and multi-channel attribution, are sold by Matomo as premium plugins, priced by number of users.
  • Matomo Cloud removes the server work, but Matomo stores Cloud data in Europe, so it does not solve the access and data-location question for Iranian sites.
  • For Iranian teams that want data in Iran without running servers, AdPix is the third option: hosted inside Iran, no sampling, funnels on the free plan.

Matomo vs Google Analytics comes down to one trade: Matomo gives you control of the software and the data, and GA4 gives you a free tool that someone else runs. Pick Matomo On-Premise if a rule says analytics data must sit on your own servers and you have an engineer who will keep those servers healthy. Pick GA4 if you want zero setup and buy most of your traffic through Google Ads. For Iranian teams, a third option often fits better than either, and the last section explains why.

Matomo is an open-source web analytics platform that you can download and run on your own server (Matomo On-Premise) or rent as a hosted service from its developers (Matomo Cloud). It is the most common self-hosted alternative to Google Analytics.

What is the real difference between Matomo and Google Analytics 4?

The difference is who runs the system and who holds the data. GA4 is a hosted product: Google runs the collection servers, stores your data in its own infrastructure and decides the rules on sampling and retention. Matomo On-Premise is software: you install it on a server you control, and Matomo says plainly that on-premise “reliability and security relies entirely on you and the security you have in place for your servers.”

That one difference drives everything else in the comparison:

  • Data ownership. Matomo’s On-Premise page promises “100% data ownership”, which is true in the sense that the database is yours. GA4 data lives in a Google account, and the Google Analytics alternative guide explains why that matters when access to the account is uncertain.
  • Sampling. Matomo lists “no data sampling” as a feature. GA4 can sample when a query exceeds the property’s quota of 10 million events per event-level query on a standard property.
  • Retention. GA4 keeps event-level data for explorations and funnels for 2 or 14 months on standard properties. Matomo keeps whatever your disk holds; Matomo’s archiving guide warns that “your Matomo database size will grow over time, this is normal.”
  • Work. GA4 needs a tag and some settings. Matomo needs a server, a database, an hourly archiving job, backups and upgrades.

How much does Matomo really cost compared with GA4?

GA4 costs nothing in licence fees for a standard property. Matomo On-Premise is “free to download”, and Matomo says it will stay that way, but running it costs you three things: a server sized for your traffic, the time to maintain it, and any premium plugins you need.

Start with the server. Matomo’s requirements page sizes servers by monthly pageviews:

Monthly pageviews Servers Matomo suggests App server Database server
Up to 100,000 1 2 CPU, 2 GB RAM, 50 GB SSD (minimum) Same server
Up to 1 million 1 can suffice 4 CPU, 8 GB RAM, 250 GB SSD Same server
Up to 10 million 2 8 CPU, 16 GB RAM, 100 GB SSD 8 CPU, 16 GB RAM, 400 GB SSD
Up to 100 million 3 or more, plus load balancer and CDN 3 × 16 CPU, 16+ GB RAM 16 CPU, 32 GB RAM, 1 TB SSD

The page adds that what really counts is total tracked requests, which include events and downloads as well as pageviews. A shop that tracks add-to-cart clicks and scroll depth reaches the next row sooner than its pageview count suggests.

Then the upkeep. Matomo 6 requires PHP 8.1 or newer and MySQL 8.0 or MariaDB 10.6 or newer, while Matomo 4.16 and 5 ran on PHP 8 with MySQL 5.5. Each major version means checking that your server stack still qualifies. Reports also need an archiving job: Matomo’s guide recommends a cron task “that will execute every hour”, and running it every 2 or 6 hours, or daily, if a run takes longer than an hour. Without it, reports are calculated when someone opens them, which Matomo says can mean waiting several minutes on a site with a few hundred visits a day.

A worked example: total cost for a mid-sized store (hypothetical)

Say a store records about 800,000 pageviews a month plus events. Matomo’s table puts it in the “up to 1 million” row: one 4 CPU, 8 GB RAM, 250 GB SSD server. Suppose that server costs S per month, backups add 10% of S, and an engineer spends 4 hours a month on updates, archiving checks and disk space, at an hourly cost of H.

Monthly cost = S + 0.1 × S + 4 × H = 1.1S + 4H.

With S = 100 and H = 25 in any currency unit, that is 110 + 100 = 210 units a month, or 2,520 a year, before a single premium plugin. Notice that the engineer’s time is almost half the total. If the same engineer is already busy, the real cost is the analytics outage you find out about a week late. GA4 costs 0 units for the same store. That is the benchmark Matomo has to beat with control and privacy, not with price.

Which GA4 features need paid plugins in Matomo?

Several of the reports GA4 users open every week are paid add-ons in Matomo On-Premise. Matomo’s Premium Bundle lists 18 plugins, including Funnels, Cohorts, Users Flow, Custom Reports, Multi Channel Conversion Attribution, A/B Testing, Form Analytics, Media Analytics, Heatmap & Session Recording, Roll-Up Reporting and WooCommerce Analytics. The bundle is priced by number of users, with a smallest tier for 1 to 4 users and up to 5 million hits a month, and it comes with a 30-day free trial. Heatmap & Session Recording is also sold on its own “as a yearly subscription”.

So compare like with like. A fair comparison is GA4 against Matomo On-Premise plus the plugins you would actually use, plus the server.

What you need GA4 (standard) Matomo On-Premise Matomo Cloud
Basic traffic, sources, pages, goals Included Included Included
Funnels, cohorts, path analysis Included as explorations Premium plugins Check your plan
Multi-channel attribution Data-driven attribution included Premium plugin Check your plan
Heatmaps and session recordings Not included Paid yearly plugin Available on Cloud
A/B testing Not included Premium plugin Check your plan
Native Google Ads link Yes (GA4 is better here) No No
Raw data access BigQuery export Direct database access (better for control) Export from Matomo
Who runs servers and upgrades Google You Matomo

GA4 is clearly ahead on the Google Ads link and on getting funnels and cohorts at no cost. Matomo is ahead on heatmaps and A/B testing being available at all, and on raw data that sits in a database you can query directly.

Matomo Cloud or On-Premise: does Cloud fix the server problem?

Yes for the work, no for data location. Matomo Cloud is the same software run by Matomo’s team: “We take care of all the maintenance and updates for you with Cloud hosting, while hosting On-Premise requires ongoing maintenance.” Cloud is a paid plan priced by monthly hits, from a 50,000-hit tier up to more than 10 million, so check the pricing page for the current figures in your currency.

The catch is where the data lives. Matomo’s pricing page says Cloud data is stored “in Europe.” For a European company that may be the whole point. For an Iranian business it means a foreign vendor again, an international payment to arrange, and the same access question that the guide to Google Analytics in Iran and its risks raises about GA4. Whether a given vendor serves customers in Iran is something to check with that vendor before you sign up, not something to assume.

Who should choose Matomo, and who should stay on GA4?

Choose by your constraints, not by feature lists. These four cases cover most teams:

  1. You have a legal or IT rule that analytics must run on your own servers, and an engineer to own it. Matomo On-Premise. This is where it clearly wins, and no hosted tool can match it.
  2. You buy most of your traffic through Google Ads and can reach Google reliably. GA4. The native ads integration and free explorations are hard to beat, and the GA4 data export guide shows how to keep a copy of your history anyway.
  3. You want Matomo’s privacy model but have no one to run servers. Matomo Cloud, if storing data in Europe suits you.
  4. Your team and customers are in Iran and nobody wants to run servers. Neither Matomo option fits well. On-Premise on an Iranian server works but puts the upkeep on you; Cloud stores data in Europe. That is the gap AdPix was built for.

If you do try Matomo, run it next to GA4 for at least four weeks before you remove anything. Keep your UTM parameters identical in both tools, compare conversion rates by channel rather than raw counts, and use the event and conversion list in the website tracking guide so both tools measure the same things. Matomo also publishes a Google Analytics import guide, and it lists dimensions it cannot import, so read those limits before you treat the import as your only backup.

UTM link builderTag campaign links so every click is credited to the right channel.Try it free

Where does AdPix fit next to Matomo and GA4?

AdPix is a web analytics platform that replaces Google Analytics 4: realtime, acquisition, engagement, conversion and e-commerce reports, plus attribution, lift testing and marketing mix modelling, with no data sampling and a free plan. Against Matomo specifically, the trade is the reverse of On-Premise: AdPix runs the servers, so you get none of the upkeep and also none of the code-level control.

For Iranian teams the reasons are concrete. AdPix is hosted on infrastructure inside Iran, so it opens without a VPN and your data stays in Iran, with export available at any time. The dashboard is in Persian, and prices are in toman. Funnels, acquisition and UTM reports, realtime data and user journeys are on every plan including Free, which is where Matomo charges a premium plugin for funnels. Segments, e-commerce revenue, consent management, invalid-traffic detection, marketing mix modelling and campaign lift come with Starter at 499,000 toman a month. The tag installs next to GA4 without interfering, so you can compare the two for a month before deciding.

There are limits to state plainly. AdPix counts events, not pageviews: the Free plan covers 100,000 events a month, Starter 1 million and Pro 5 million, and every tracked click counts against that. Raw data is kept for 30 days on Free and 90 days on Starter and Pro, with aggregates for 13, 24 and 36 months, so a team that needs detailed data for many years should keep an export routine or look at Matomo On-Premise, where retention is limited only by disk. And there are no heatmaps or A/B testing in AdPix’s feature list; if you need those inside your analytics tool, Matomo’s plugins are the option here. Every AdPix report and plan is laid out in the AdPix features overview.

Your next step is the same whichever tool you lean towards: write down the five reports your team opens every week, check which of the three tools gives each one without a paid add-on, and install the winner next to GA4 this week.

Measure your site with AdPix today

The free plan covers 100,000 events a month, no credit card. Setup takes under five minutes.

Frequently asked questions

Is Matomo better than Google Analytics?

Matomo is better if you must keep analytics data on your own servers and have someone to run them; GA4 is better if you want a free hosted tool tied to Google Ads. Neither is better on every criterion, so decide by who runs the servers and which reports you need.

Is Matomo really free?

Matomo On-Premise is free to download, but you pay for the server, backups and the time to keep PHP, MySQL and Matomo updated. Funnels, cohorts, heatmaps, A/B testing and several other features are paid premium plugins, and Matomo Cloud is a paid hosted plan.

Does Matomo sample data like GA4?

Matomo's On-Premise page lists 'no data sampling' among its features. GA4 can sample when a query exceeds the property's quota, which Google sets at 10 million events per event-level query for standard properties.

What server do I need for Matomo?

Matomo's requirements page suggests one server with at least 2 CPU, 2 GB RAM and 50 GB SSD for up to 100,000 pageviews a month, and 4 CPU, 8 GB RAM and 250 GB SSD for up to 1 million. Matomo 6 needs PHP 8.1 or newer and MySQL 8.0 or MariaDB 10.6 or newer.

Can I move my Google Analytics data into Matomo?

Matomo publishes a Google Analytics import guide and GA4 migration guides, and it lists dimensions it cannot import. Check those limits for your property before you rely on the import as your only copy of GA history.

Sources and methodology

Matomo statements come from the matomo.org and plugins.matomo.org pages listed in sources, read on 3 November 2026; Matomo's Cloud and plugin prices are not quoted because the pricing pages could not be read reliably in this run, so check them before you budget. GA4 sampling, retention, attribution and exploration facts come from the Google Analytics Help pages listed, which were checked for this blog's Google Analytics alternative and GA4 export guides in late October and on 1 November 2026. Server prices and staff hours in the worked example are hypothetical and the arithmetic is shown. AdPix facts come from adpix.io.

  1. Matomo: Requirements for Matomo On-Premise
  2. Matomo: How to set up auto-archiving of your reports
  3. Matomo: Matomo On-Premise
  4. Matomo: Manage your data your way (On-Premise vs Cloud)
  5. Matomo Marketplace: Premium Bundle
  6. Matomo: Where can I get the Heatmap & Session Recording?
  7. Matomo: Import Google Analytics
  8. Matomo: Pricing
  9. Google Analytics Help: About data sampling
  10. Google Analytics Help: [GA4] Data retention
  11. Google Analytics Help: Get started with attribution
  12. Google Analytics Help: [GA4] Funnel exploration

This article was drafted with AI assistance and reviewed by the AdPix team before publishing. Editorial policy

About the authorFounder, AdPix · Builder of AdPix

Founder of AdPix, the web analytics platform built for Iranian teams. Every article on this blog is reviewed by the founder before it is published.

Web analyticsAttributionCampaign measurement

Analyze your data, decide with more confidence

With AdPix, analyze campaign performance and grow in step with your business needs.