MatomoPrivacy-oriented web and app analytics platform
PostHogOpen-source product analytics and context layer for apps
Matomo vs PostHog
How Matomo and PostHog compare on popularity, activity, license and platforms: two open-source Web & Product Analytics projects, both alternatives to Fathom Analytics, Google Analytics 4 and Google Analytics for Firebase.
At a glance
- PostHog has more GitHub stars (41.2k vs 22.1k).
- Both are actively maintained (last commits today and today).
- Matomo uses GPL-3.0 (copyleft); PostHog uses MIT (permissive).
- Both can be self-hosted.
- Matomo is the older project (repository started 2011; PostHog in 2020).
Side by side
| Matomo | PostHog | |
|---|---|---|
| GitHub stars | ★ 22,069 | ★ 41,198 |
| Forks | 2,943 | 3,743 |
| Last commit | today | today |
| Latest version | 6.0.0 | desktop-v0.61.1137 |
| Repository started | March 2011 | January 2020 |
| License | GPL-3.0 · copyleft | MIT · permissive |
| Self-hosted | Yes | Yes |
| Platforms | Web | Web, Linux, Docker, CLI |
| Main language | PHP | Python |
| Alternative to | Fathom, Fathom Analytics, Google Analytics, Google Analytics 4, Google Analytics for Firebase, Hotjar +1 | Amplitude, Fathom Analytics, FullStory, Gainsight PX, Google Analytics 4, Google Analytics for Firebase +4 |
Highlighted: more stars or forks, or a last commit at least two weeks more recent. Data from GitHub, updated 27 November 2026.
Matomo
Matomo collects, visualizes, and analyzes traffic from websites and apps with emphasis on data ownership and privacy controls. You install it on your server or use Matomo Cloud.
Key features
- JavaScript and log analytics
- Real-time visitor reporting
- Custom dashboards and segments
- E-commerce and goal tracking
- GDPR-oriented privacy settings
- Heatmaps and session recordings
PostHog
PostHog ingests analytics, session replays, errors, logs, and related product data so teams and agents can query and act on it. It ships feature flags, experiments, surveys, and warehouse tooling in one platform.
Key features
- Product and web analytics
- Session replay and heatmaps
- Feature flags and experiments
- Error tracking and logs
- Surveys and in-app support
- Data warehouse and pipelines