5 open source alternatives to Google Analytics

Google Analytics is powerful but heavy, cookie-dependent and increasingly blocked by browsers and privacy regulations. These open source analytics tools are lightweight, privacy-friendly and run on your own infrastructure.

5 open source alternativesOfficial website
#1

plausible/analytics

Open source, privacy-first web analytics. Lightweight, cookie-free Google Analytics alternative. Self-hosted or cloud.

Why it works Easiest migration: a single-page dashboard that non-marketers understand instantly.

30K·AGPL-3.0·Elixir·Self-hosted
#2

umami-software/umami

Umami is a privacy-first web and product analytics platform. Traffic, campaigns, behavior, conversions, and revenue in one place. No cookies, no surveillance, self-hosted or in the cloud.

Why it works Clean UI, strong filtering and a generous self-hosted feature set.

40.5K·MIT·TypeScript·Self-hosted
#3

matomo-org/matomo

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 privacy. Easily collect, visualise, and analyse data from websites & apps. Star us on GitHub ⭐️ – Pull Requests welcome!

Why it works Most feature-complete GA replacement; best when you need deep reports and tag manager.

22.1K·GPL-3.0·PHP·Self-hosted
#4

PostHog/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 – capture all the context agents need to diagnose problems, uncover opportunities, and ship fixes. Steer it all from Slack, web, desktop, or the MCP.

Why it works Pick this if you need event-based product analytics rather than page views.

41.2K·Python·Self-hosted
#5

Countly/countly-server

Countly is a privacy-first, AI-powered analytics and engagement platform for understanding and optimizing customer journeys across digital applications, from desktop and mobile to IoT and connected environments.

Why it works Strong mobile SDK coverage compared to the others.

5.9K·JavaScript·Self-hosted

Compare at a glance

RepositoryStarsLicenseLanguageSelf-hostedLast push
plausible/analytics30KAGPL-3.0ElixirYes4 days ago
umami-software/umami40.5KMITTypeScriptYes2 days ago
matomo-org/matomo22.1KGPL-3.0PHPYesabout 22 hours ago
PostHog/posthog41.2K–PythonYesabout 21 hours ago
Countly/countly-server5.9K–JavaScriptYes1 day ago

Stats are refreshed from GitHub every hour. Always check the repository before adopting a project.

More Analytics alternatives

Stop overpaying for software

Browse the hand-picked open source alternatives, or see which new GitHub repos are gaining stars this week.