3 open source alternatives to Mixpanel & Amplitude

Product analytics pricing is tied to monthly tracked users. These open source platforms offer funnels, cohorts, retention and session replay on your own infrastructure.

3 open source alternativesOfficial website
#1

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 Closest single-product Mixpanel and Amplitude replacement.

41.2KยทPythonยทSelf-hosted
#2

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 Mature analytics with strong privacy features.

22.1KยทGPL-3.0ยทPHPยทSelf-hosted
#3

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.

5.9KยทJavaScriptยทSelf-hosted

Compare at a glance

RepositoryStarsLicenseLanguageSelf-hostedLast push
PostHog/posthog41.2Kโ€“PythonYesabout 21 hours ago
matomo-org/matomo22.1KGPL-3.0PHPYesabout 22 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.