7 self-hosted options
Open-source alternatives to Google Analytics
The best open-source alternative to Google Analytics is PostHog (MIT, 40,816 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).
Active · last commit Nov 16, 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 Nov 16, 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 Nov 16, 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,816 | 45,630 | Nov 16, 2026 | No |
| Umami | a permissive MIT license | MIT | 40,176 | 1,628 | Nov 16, 2026 | Yes |
| Plausible Analytics | an appsgit step-by-step deploy guide | AGPL-3.0 | 29,859 | 628 | Nov 16, 2026 | No |
| Matomo | its PHP codebase | GPL-3.0 | 22,030 | 1,086 | Nov 16, 2026 | No |
| Rybbit | the newest codebase (created January 2025) | AGPL-3.0 | 13,323 | 1,168 | Nov 13, 2026 | Yes |
| GoatCounter | – | EUPL 1.2 (modified compatibility appendix) | 6,166 | 178 | Sep 27, 2026 | No |
| Countly Community Edition | – | AGPL-3.0 with branding terms (Section 7) | 5,931 | 2,743 | Nov 16, 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).
AnalyticsAI-nativeStands out for the most GitHub stars. PostHog has 40,816 GitHub stars, uses the MIT license and had 45,630 commits in the last year.
- 2
Umami
Simple, fast, privacy-focused (alternative to Google Analytics).
AnalyticsDockerStands out for a permissive MIT license. Umami has 40,176 GitHub stars, uses the MIT license, ships a Docker image and had 1,628 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,859 GitHub stars, uses the AGPL-3.0 license and had 628 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 22,030 GitHub stars, uses the GPL-3.0 license and had 1,086 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,323 GitHub stars, uses the AGPL-3.0 license, ships a Docker image and had 1,168 commits in the last year.
- 6
GoatCounter
Easy web statistics without tracking of personal data.
AnalyticsGoatCounter has 6,166 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,931 GitHub stars, uses the AGPL-3.0 with branding terms (Section 7) license, ships a Docker image and had 2,743 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 45,630 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.