
Matomo
The leading open-source, privacy-friendly web analytics platform
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
Claim this listing to keep it accurate, add a deploy template, or feature it on relevant pages.
Embed the Matomo difficulty badge in your README — it links back here.
[](https://openreplace.com/matomo)Similar open-source projects
Other self-hostable tools in the same space worth comparing.
Simple, fast, privacy-focused web analytics in a single lightweight dashboard
All-in-one product analytics, session replay, feature flags, and A/B testing
Lightweight, privacy-first web analytics without cookies
Open-source, privacy-friendly Google Analytics alternative built for clarity