7 self-hosted options
Open-source alternatives to Google Analytics
The best open-source alternative to Google Analytics is PostHog (MIT, 40,445 GitHub stars). Umami stands out for a permissive MIT license, and Plausible Analytics stands out for an appsgit step-by-step deploy guide.
About Google Analytics: Google's web analytics service for traffic and conversion reporting.
Updated · data from GitHub, refreshed daily
Top picks
- Rank 1:
PostHog
PostHog/posthog
Product analytics, session recording, feature flagging and a/b testing that you can self-host (alternative to Mixpanel, Amplitude, Heap, HotJar, Optimizely).
Active · last commit Oct 26, 2026
AnalyticsPythonStands out for the most GitHub stars.
- Rank 2:
Umami
umami-software/umami
Simple, fast, privacy-focused alternative to Google Analytics.
Active · last commit Oct 23, 2026
AnalyticsTypeScriptDockerStands out for a permissive MIT license.
- Rank 3:
Plausible Analytics
plausible/analytics
Simple, lightweight (< 1 KB) and privacy-friendly web analytics.
Active · last commit Oct 26, 2026
AnalyticsElixirStands out for an appsgit step-by-step deploy guide.
At a glance
Google Analytics alternatives compared
Open-source apps come first, then source-available ones and apps whose license appsgit could not verify; within each group, projects with at least 12 commits in the last 12 months come before less active or archived ones, then by GitHub stars.
| App | Stands out for | License | GitHub stars | Commits (12 mo) | Last commit | Docker image |
|---|---|---|---|---|---|---|
| PostHog | the most GitHub stars | MIT | 40,445 | 40,598 | Oct 26, 2026 | No |
| Umami | a permissive MIT license | MIT | 39,689 | 1,420 | Oct 23, 2026 | Yes |
| Plausible Analytics | an appsgit step-by-step deploy guide | AGPL-3.0 | 29,664 | 617 | Oct 26, 2026 | No |
| Matomo | its PHP codebase | GPL-3.0 | 21,982 | 1,033 | Oct 25, 2026 | No |
| Rybbit | the newest codebase (created January 2025) | AGPL-3.0 | 13,159 | 1,364 | Oct 26, 2026 | Yes |
| GoatCounter | – | EUPL 1.2 (modified compatibility appendix) | 6,100 | 178 | Sep 27, 2026 | No |
| Countly Community Edition | – | AGPL-3.0 with branding terms (Section 7) | 5,922 | 2,384 | Oct 26, 2026 | Yes |
Full list
All 7 Google Analytics alternatives
Open any app for live stats, license details and a deploy option.
- 1
PostHog
Product analytics, session recording, feature flagging and a/b testing that you can self-host (alternative to Mixpanel, Amplitude, Heap, HotJar, Optimizely).
AnalyticsAI-nativeStands out for the most GitHub stars. PostHog has 40,445 GitHub stars, uses the MIT license and had 40,598 commits in the last year.
- 2
Umami
Simple, fast, privacy-focused alternative to Google Analytics.
AnalyticsDockerStands out for a permissive MIT license. Umami has 39,689 GitHub stars, uses the MIT license, ships a Docker image and had 1,420 commits in the last year.
- 3
Plausible Analytics
Simple, lightweight (< 1 KB) and privacy-friendly web analytics.
AnalyticsStands out for an appsgit step-by-step deploy guide. Plausible Analytics has 29,664 GitHub stars, uses the AGPL-3.0 license and had 617 commits in the last year.
- 4
Matomo
Web analytics that protects your data and your customers' privacy (alternative to Google Analytics).
AnalyticsStands out for its PHP codebase. Matomo has 21,982 GitHub stars, uses the GPL-3.0 license and had 1,033 commits in the last year.
- 5
Rybbit
Web and products analytics that is easy to setup and more intuitive (alternative to Google Analytics).
AnalyticsDockerStands out for the newest codebase (created January 2025). Rybbit has 13,159 GitHub stars, uses the AGPL-3.0 license, ships a Docker image and had 1,364 commits in the last year.
- 6
GoatCounter
Easy web statistics without tracking of personal data.
AnalyticsGoatCounter has 6,100 GitHub stars, uses the EUPL 1.2 (modified compatibility appendix) license and had 178 commits in the last year.
- 7
Countly Community Edition
Real time mobile and web analytics, crash reporting and push notifications platform.
AnalyticsDockerCountly Community Edition has 5,922 GitHub stars, uses the AGPL-3.0 with branding terms (Section 7) license, ships a Docker image and had 2,384 commits in the last year.
Is there a free alternative to Google Analytics?
Yes. All 7 apps on this page are open source and free to self-host, so you can replace Google Analytics without per-user fees. You pay only for the server.
Can I self-host an alternative to Google Analytics with Docker?
Yes. 3 of the 7 apps here publish a Docker image, including Umami, Rybbit and Countly Community Edition, so you can run them on a home server or VPS with Docker Compose.
Which Google Analytics alternative is the most actively developed?
PostHog (MIT), with 40,598 commits in the last 12 months. Activity is a good sign that bugs and security issues get fixed.
How is this list ranked?
Open-source apps come first, then source-available ones and apps whose license appsgit could not verify; within each group, projects with at least 12 commits in the last 12 months come before less active or archived ones, then by GitHub stars.