Matomo logo

Matomo

The leading open-source, privacy-friendly web analytics platform

22k PHP GPL-3.0 3 days ago

Overview

Matomo (formerly Piwik) is the most established open-source alternative to Google Analytics, with 100% data ownership, GDPR compliance, and no data sampling. It offers full web analytics plus optional heatmaps, session recordings, A/B testing, and funnels via premium plugins. Runs on a standard PHP + MySQL/MariaDB stack, making it easy to self-host on commodity hosting.

Key features

  • Full web analytics with 100% data ownership and no data sampling
  • GDPR-oriented privacy controls
  • Optional heatmaps, session recordings, A/B testing, and funnels via premium plugins
  • Runs on a standard PHP plus MySQL/MariaDB stack
  • Self-hostable with a managed cloud option available

Our take

Matomo is the most established open-source Google Analytics alternative, and its core pitch holds up: full data ownership, no sampling, and GDPR-oriented controls, all on a commodity PHP and MySQL/MariaDB stack that most hosts can run. The free GPL core is a real analytics product, not a demo. Two caveats matter for self-hosters. First, several of the headline extras that make it look like a Hotjar replacement, namely heatmaps, session recordings, A/B testing, and funnels, are paid premium plugins rather than part of the open-source core. Second, at meaningful traffic volumes the database grows quickly and report processing gets heavy, so the 4/5 difficulty is earned; you'll need to tune MySQL and set up archiving cron jobs to keep it responsive. For teams that want ownership and are willing to operate a database-backed PHP app, it's the default choice.

Ideal for: Privacy-conscious teams and agencies that want full ownership of their analytics data as a Google Analytics replacement, with the in-house skills to run a PHP/MySQL app.

Where it falls short of Google Analytics

  • Heatmaps, session recordings, funnels, and A/B testing are paid premium plugins, not in the free core.
  • The PHP codebase feels dated and the UI is heavier/slower than modern lightweight tools.
  • Real-time reporting and advanced product-analytics (cohorts, retention) are weaker than Mixpanel/Amplitude.

We list the gaps honestly so you can decide if the trade-off is worth owning your data.

Tags

web-analytics
privacy
gdpr
php
google-analytics-alternative
Maintain Matomo?

Claim this listing to keep it accurate, add a deploy template, or feature it on relevant pages.

Show off your self-host difficulty score

Embed the Matomo difficulty badge in your README — it links back here.

Self-host difficulty badge← add this to your README
[![Self-host difficulty](https://openreplace.com/api/badge/matomo)](https://openreplace.com/matomo)

Similar open-source projects

Other self-hostable tools in the same space worth comparing.

Sponsored

Simple, fast, privacy-focused web analytics in a single lightweight dashboard

37k TypeScript MIT 3 days ago
3/5
1-click
Matomo vs Umami

All-in-one product analytics, session replay, feature flags, and A/B testing

35k Python MIT 3 days ago
5/5
Matomo vs PostHog

Lightweight, privacy-first web analytics without cookies

27k Elixir AGPL-3.0 3 days ago
3/5
Matomo vs Plausible Analytics

Open-source, privacy-friendly Google Analytics alternative built for clarity

12k TypeScript AGPL-3.0 3 days ago
3/5
Matomo vs Rybbit