Self-hosted alternatives
Open source alternatives to Mixpanel
Mixpanel is a hosted product analytics tool for events, funnels, and retention.
How this list is built
The projects below are sorted by GitHub stars. Star counts and last commit dates are read from the public GitHub API. The line under each name is generated from the category, the license, and whether the project can be self-hosted. 4 of 4 have an OSI-approved SPDX license, a commit in the last 12 months, and a repository GitHub has not archived.
Fetched .
Showing 4 of 4
1PostHogPostHog/posthog
PostHog stores product analytics together with error data so a team can query both, under an MIT license marked open core.
- GitHub stars
- 41,261
- License
- MITOSI
- Last commit
- Self-host
- Yes
Counts as open source: OSI-approved license, commit within 12 months, and the repository is not archived.
Also listed as an alternative to Google Analytics, Hotjar.
Maintain this project? Email corrections to sponsors@forkshelf.com. To list another tool, submit it for free review, or request priority review. Paying never changes whether a tool is listed or how it ranks.
2Matomomatomo-org/matomo
Matomo is a GPL-3.0 analytics project with its own self-hosted edition, also listed on the Google Analytics and Hotjar pages.
- GitHub stars
- 22,078
- License
- GPL-3.0OSI
- Last commit
- Self-host
- Yes
Counts as open source: OSI-approved license, commit within 12 months, and the repository is not archived.
Also listed as an alternative to Google Analytics, Hotjar.
Maintain this project? Email corrections to sponsors@forkshelf.com. To list another tool, submit it for free review, or request priority review. Paying never changes whether a tool is listed or how it ranks.
3Openreplayopenreplay/openreplay
Analytics. License: AGPL-3.0-only. Self-hosted: yes.
- GitHub stars
- 13,209
- License
- AGPL-3.0-onlyOSI
- Last commit
- Self-host
- Yes
Counts as open source: OSI-approved license, commit within 12 months, and the repository is not archived.
Also listed as an alternative to Hotjar.
Maintain this project? Email corrections to sponsors@forkshelf.com. To list another tool, submit it for free review, or request priority review. Paying never changes whether a tool is listed or how it ranks.
4CountlyCountly/countly-server
Analytics. License: AGPL-3.0-only. Self-hosted: yes.
- GitHub stars
- 5,931
- License
- AGPL-3.0-onlyOSI
- Last commit
- Self-host
- Yes
Counts as open source: OSI-approved license, commit within 12 months, and the repository is not archived.
Maintain this project? Email corrections to sponsors@forkshelf.com. To list another tool, submit it for free review, or request priority review. Paying never changes whether a tool is listed or how it ranks.
FAQ
- What is Mixpanel?
- Mixpanel is a hosted product analytics tool for events, funnels, and retention.
- What are the open-source alternatives to Mixpanel?
- This page lists PostHog, Matomo, Openreplay and Countly, sorted by GitHub stars. 4 of 4 have an OSI-approved SPDX license, a commit in the last 12 months, and a repository GitHub has not archived.
- Which Mixpanel alternative has the most GitHub stars?
- PostHog, with 41,261 stars as of 1 Dec 2026.
- Can these Mixpanel alternatives be self-hosted?
- Yes. Each of the 4 projects on this page is marked Self-host: Yes.