A
Matomo
88.5
22,032 stars · GPL-3.0
Analytics
PostHog leads by 6.2 · narrow
A
88.5
22,032 stars · GPL-3.0
B · leads
94.7
40,849 stars · MIT
Matomo versus PostHog is a Analytics comparison assembled from public repository metrics, the license on file, and whether each product can be self-hosted. Matomo is written mainly in PHP; PostHog is written mainly in Python. The composite score is 88.5 for Matomo and 94.7 for PostHog.
PostHog has 40,849 GitHub stars to Matomo's 22,032, a gap of 18,817 (1.85×). Forks are 2,938 for Matomo and 3,696 for PostHog. On the log scale used inside this pair, adoption is 94 versus 100, and the fork community is 97 versus 100.
Push history: Matomo was last pushed on 17 November 2026 (0 days ago), and PostHog was last pushed on 17 November 2026 (0 days ago). Open issues stand at 2,563 for Matomo (0.116 per star) and 4,463 for PostHog (0.109 per star). Issue-health scores are 52 and 52; activity scores are 100 and 100.
Matomo is listed as GPL-3.0, which this catalog treats as a strong copyleft grant. Distributing a modified binary typically means offering the corresponding source of that program. PostHog is listed as MIT, which this catalog treats as a permissive grant. A company can usually ship it inside a commercial product and keep its own application code private, provided it keeps the copyright notice. License scores in this pair are 64 for Matomo and 96 for PostHog. This is a procurement signal, not legal advice.
In Analytics, both Matomo (22,032 stars) and PostHog (40,849 stars) are marked self-hostable. Deploy scores are 100 and 100. Running either one means you own upgrades, backups, and the license duties that follow a modified copy. Pricing labels on file: Matomo is open source, PostHog is freemium.
PostHog is ahead on every scored dimension that is not level. Level dimensions: recent activity, issue health, self-hosting. The widest gap is license flexibility at 32 points (64 vs 96), and the tightest is self-hosting at 0 points (100 vs 100).
PostHog finishes ahead at 94.7 against Matomo at 88.5, a 6.2 point narrow margin under the published weights.
Scores are computed inside this pair only. Method and weights.
Bars are scaled within the row. Higher is stronger. Open issues are a raw count, so that row has no bar.
| Signal | Matomo | PostHog |
|---|---|---|
| GitHub stars | 22,032 | 40,849 |
| Forks | 2,938 | 3,696 |
| Open issues | 2,563 | 4,463 |
| Adoption | 94 | 100 |
| Activity | 100 | 100 |
| Community | 97 | 100 |
| Issue health | 52 | 52 |
| License | 64 | 96 |
| Self-hosting | 100 | 100 |
| Composite | 88.5 | 94.7 |
Matomo is a web analytics platform built as a privacy-oriented alternative to Google Analytics. It has a long plugin history and is designed to run on your own server.
PostHog is a product-analytics suite: events, funnels, session replay, and feature flags. The core is open source and most teams choose between self-hosting and PostHog Cloud.
PostHog has more GitHub stars: 40,849 versus 22,032 for Matomo. The gap is 18,817 stars.
Both were last pushed on 17 November 2026.
Yes. This catalog marks both Matomo and PostHog as self-hostable. Confirm each project's deploy docs before you plan a migration.
Matomo is listed as GPL-3.0, which this catalog treats as a strong copyleft grant. Distributing a modified binary typically means offering the corresponding source of that program. PostHog is listed as MIT, which this catalog treats as a permissive grant. A company can usually ship it inside a commercial product and keep its own application code private, provided it keeps the copyright notice. Read both grants before you embed either codebase in a hosted product. This is not legal advice.
PostHog scores 94.7 and Matomo scores 88.5. This page calls that a narrow lead for PostHog.