# Matomo vs Google Analytics

> Matomo or Google Analytics comes down to who holds your visitor data: Matomo gives you reports much like Google Analytics, with goals, funnels and e-commerce, on your own server and with no sampling, while Google Analytics is free but runs in Google's cloud and sets cookies. Matomo suits teams that want detailed marketing reports and full control of the data. Google Analytics suits teams that rely on Google Ads and want nothing to run.

- Page: https://cgt.octabyte.io/compare/matomo-vs-google-analytics/
- Matomo: https://cgt.octabyte.io/templates/matomo/
- Google Analytics: https://marketingplatform.google.com/about/analytics/
- Facts checked: November 2026

## Matomo vs Google Analytics at a glance

| | Matomo | Google Analytics |
| --- | --- | --- |
| Price | On-Premise is free with unlimited users and hits; paid plugins such as heatmaps are optional | Free; the paid Analytics 360 shows no price and has a Talk to Sales link |
| Hosting | Self-hosted with its database; Matomo also sells Matomo Cloud | Google's cloud only |
| Source code | Open source, GPL-3.0-or-later | Proprietary |
| Cookies | First-party cookies by default; one setting turns them off | Sets _ga and a session cookie, each kept for 2 years by default |
| Sampling and retention | No sampling; data kept as long as you keep it | Explorations sampled above 10M events per query; data kept up to 14 months |
| Reports | Visitors, sources, campaigns, goals, funnels, e-commerce and a visits log | Acquisition, engagement, key events, funnel and path explorations, audiences |
| Import from Google Analytics | Free Google Analytics Importer plugin for Universal Analytics and GA4 reports | Not needed |
| Mobile apps | Free Matomo Mobile app for iPhone and Android | Phone apps measured through Firebase |

## How Matomo and Google Analytics differ

### Matomo and Google Analytics pricing

As of November 2026, Google Analytics is free of charge. Its paid edition, Analytics 360, shows no price on Google's site; the page has a "Talk to Sales" link. Analytics 360 keeps data for up to 50 months instead of 14, raises the sampling limit and adds unsampled explorations.

Matomo On-Premise, the edition Cloudgate installs, is free forever with unlimited users and hits. Matomo sells optional premium plugins, such as Heatmaps and Session Recording, and bundles of them. It also sells Matomo Cloud, a hosted service billed monthly or yearly by the number of hits, with a free trial.

Self-hosted, your main cost is the server. Matomo recommends 2 CPUs and 2 GB of memory for up to about 100,000 page views a month.

### Reports and data

Matomo is the closest open-source match to Google Analytics. It shows visitors, pages, traffic sources, campaigns, devices and locations, and adds goals, funnels, e-commerce reports with revenue per product, and a log of single visits. Every visit is counted, with no sampling.

Google Analytics covers the same ground with acquisition and engagement reports, key events, audiences, and funnel and path explorations. The free edition keeps event data for up to 14 months and samples explorations above 10 million events per query.

### Privacy and data ownership

Matomo stores every report in your own database on your server and shares nothing with third parties. By default it sets first-party cookies with a random visitor ID, and it can collect IP addresses, which it can anonymise. One setting turns cookies off, and built-in GDPR tools help you answer data requests.

Google Analytics sets `_ga` and a session cookie, each kept for 2 years by default, and the data sits with Google. In the EU and UK it usually needs a consent banner.

### Integrations and apps

Google Analytics links to Google Ads, Search Ads 360, Display & Video 360, Search Console and BigQuery, which matters if your marketing runs on Google. Matomo has no Google Ads link.

Matomo has plugins for WordPress, WooCommerce, Drupal, Joomla and many other platforms, and the free, open-source Matomo Mobile app for iPhone and Android shows your reports on the go.

## Should you choose Matomo or Google Analytics?

### Choose Matomo if

- You want reports close to Google Analytics, with goals, funnels and e-commerce, but on your own server.
- You want every visit counted, with no sampling and no 14-month limit on your data.
- You want to bring your Google Analytics history with you, using the free importer plugin.
- You want to track without cookies, to skip the cookie banner on many websites.
- You use WordPress, WooCommerce, Drupal or Joomla, which have Matomo plugins.

### Choose Google Analytics if

- You run Google Ads and want conversions and remarketing audiences fed back to them.
- You want nothing to install, update or back up: Google runs it at no charge.
- You don't want to pay for heatmaps or session recordings, which are paid Matomo add-ons, and don't need them.
- You want Google's machine-learning insights and links to Search Console and BigQuery.
- Your website is very busy and you don't want to size and run a larger server.

## Moving from Google Analytics to Matomo

Install Matomo, add your website and paste its tracking code next to the Google tag, then run both for a few weeks so you can compare. Matomo's free Google Analytics Importer plugin copies your past Universal Analytics and GA4 reports into Matomo; it reads them through a Google Cloud connection, which takes a few setup steps. It brings reports, not every single visit, and some Google dimensions are not supported. Recreate your goals, funnels and e-commerce tracking in Matomo, then remove the Google tag. Google Ads links and audiences do not carry over.

## Questions

### Is Matomo better than Google Analytics?

Matomo is better than Google Analytics for teams that want detailed marketing and e-commerce reports with no sampling and all the data on their own server. Google Analytics is better for teams that rely on Google Ads and want a free service with nothing to run.

### Is Matomo free?

Yes. Matomo On-Premise is free and open source under the GPL licence, with unlimited users and hits; some extras, such as heatmaps, are paid plugins. Google Analytics is also free, but runs only in Google's cloud. To run Matomo you need Cloudgate and a server, which hosted Cloudgate can provide.

### Can I import my Google Analytics data into Matomo?

Yes. Matomo's free Google Analytics Importer plugin copies past Universal Analytics and GA4 reports from Google Analytics into Matomo. It needs a Google Cloud connection to read the data, and some Google dimensions do not come across.

### Does Matomo sample data like Google Analytics?

No. Matomo counts every visit, with no sampling. Free Google Analytics samples explorations above 10 million events per query, and Analytics 360 raises that to 1 billion.

### Does Matomo need a cookie banner?

Not always. Matomo sets first-party cookies by default, but one setting tracks without cookies, which lets many websites skip the banner. Google Analytics sets the _ga cookie for 2 years by default and usually needs consent in the EU and UK.

### What server does Matomo need compared with Google Analytics?

Matomo recommends 2 CPUs and 2 GB of memory for websites with up to about 100,000 page views a month, and busier sites need more. Google Analytics needs no server, because Google runs it.

## Sources

- [Google Analytics](https://marketingplatform.google.com/about/analytics/)
- [Google Analytics 360](https://marketingplatform.google.com/about/analytics-360/)
- [Google Analytics configuration limits](https://support.google.com/analytics/answer/11202874)
- [Google Analytics cookie usage on websites](https://support.google.com/analytics/answer/11397207)
- [Link Google Ads and Google Analytics](https://support.google.com/analytics/answer/9379420)
- [Matomo pricing](https://matomo.org/pricing/)
- [Matomo Google Analytics import](https://matomo.org/guide/installation-maintenance/import-google-analytics/)
- [Matomo Google Analytics Importer plugin](https://plugins.matomo.org/GoogleAnalyticsImporter)
- [Matomo Mobile](https://matomo.org/mobile/)
- [What data Matomo tracks](https://matomo.org/faq/general/faq_18254/)
