PostHog
🦔 PostHog offers open-source web and product analytics, session recording, feature flagging, and A/B testing that can be self-hosted. Easily track usage and improve your product.
There are 5 open-source alternatives to Google Analytics in this directory. The most popular is PostHog with 24.9k GitHub stars, followed by Analytics(24.6k stars). All are open source, free to use, and many can be self-hosted.
| # | Tool | Stars | Language | License |
|---|---|---|---|---|
| 1 | PostHog 🦔 PostHog offers open-source web and product analytics, session recording, feature flagging, and A/B testing that can be self-hosted. Easily track usage and improve your product. | 24.9k | Python | Other |
| 2 | Analytics Simple, open source, lightweight (< 1 KB) and privacy-friendly web analytics alternative to Google Analytics. | 24.6k | Elixir | GNU Affero General Public License v3.0 |
| 3 | Dub Dub is an open-source link attribution platform loved by modern marketing teams like Twilio, Perplexity, Vercel, and Huberman Labs. It provides comprehensive tools to track, attribute, and optimize marketing links effectively. | 23.4k | TypeScript | GNU Affero General Public License v3.0 |
| 4 | Matomo Empowering people ethically, Matomo is the leading open-source alternative to Google Analytics. It offers complete control, built-in privacy, and the ability to collect, visualize, and analyze data from websites and apps. | 21.4k | PHP | GNU General Public License v3.0 |
| 5 | Perfume.js A comprehensive web performance library for measuring all performance vitals metrics effectively. | 3.1k | TypeScript | MIT License |
🦔 PostHog offers open-source web and product analytics, session recording, feature flagging, and A/B testing that can be self-hosted. Easily track usage and improve your product.
Simple, open source, lightweight (< 1 KB) and privacy-friendly web analytics alternative to Google Analytics.
Dub is an open-source link attribution platform loved by modern marketing teams like Twilio, Perplexity, Vercel, and Huberman Labs. It provides comprehensive tools to track, attribute, and optimize marketing links effectively.
Empowering people ethically, Matomo is the leading open-source alternative to Google Analytics. It offers complete control, built-in privacy, and the ability to collect, visualize, and analyze data from websites and apps.
A comprehensive web performance library for measuring all performance vitals metrics effectively.
The top three are PostHog(24.9k stars), Analytics(24.6k stars), Dub(23.4k stars). All are open source and free to use.
Yes. Every tool listed here is open source and free to use in your own projects. Many can be self-hosted on your own infrastructure, which means no subscription fees and full control over your data.
Many of the alternatives listed are self-hostable. Each tool's page lists hosting details, system requirements, and licensing terms.
Get notified about new tools and updates to existing ones.