Business · Updated October 2026
Google Analytics is Google's web analytics service for tracking site traffic. If you would rather own your tools, here are 5 open source alternatives to Google Analytics, ranked by GitHub stars. Each one is free to use under its license, and you can read, change, and often self-host the code.
PostHog is both the most popular, with 40.4k stars, and the most recently updated, with a commit on Oct 21, 2026.
by PostHog
:hedgehog: PostHog is the leading platform for building self-driving products. Our developer tools – AI observability, analytics, session replay, flags, experiments, error tracking, logs, and more …
by umami-software
Umami is a privacy-first analytics platform. Traffic, campaigns, behavior, conversions, and revenue in one place — no cookies, no surveillance, self-hosted or in the cloud.
by plausible
Open source, privacy-first web analytics. Lightweight, cookie-free Google Analytics alternative. Self-hosted or cloud.
by matomo-org
Empowering People Ethically 🚀 — Matomo is hiring! Join us → https://matomo.org/jobs Matomo is the leading open-source alternative to Google Analytics, giving you complete control and built-in priv…
by Openpanel-dev
OpenPanel is an open-source web and product analytics platform, an open-source alternative to Mixpanel with optional self-hosting.
By GitHub stars, PostHog is the most popular open source alternative to Google Analytics right now, with 40.4k stars, followed by Umami and Plausible. The best fit depends on your setup, so compare their licenses, languages, and recent activity in the table above.
Yes. All 5 projects on this page are open source, so the software itself is free to use, study, and change. Some of them also sell a hosted version or paid support.
PostHog (last commit Oct 21, 2026), Plausible (last commit Oct 21, 2026), and Matomo (last commit Oct 21, 2026) have the most recent commits. Licenses on this list include MIT, AGPL-3.0, and GPL-3.0.