OpenAnalyticsPrivacy-first cookieless self-hosted web analytics platform
PostHogOpen-source product analytics and context layer for apps
OpenAnalytics vs PostHog
How OpenAnalytics and PostHog compare on popularity, activity, license and platforms: two open-source Web & Product Analytics projects, both alternatives to Fathom Analytics, Google Analytics 4 and Logsnag.
At a glance
- PostHog has more GitHub stars (41.4k vs 654, about 63× as many).
- PostHog was updated more recently (last commit today, OpenAnalytics 1 month ago).
- OpenAnalytics uses AGPL-3.0 (copyleft); PostHog uses MIT (permissive).
- Both can be self-hosted.
- PostHog is the older project (repository started 2020; OpenAnalytics in 2026).
Side by side
| OpenAnalytics | PostHog | |
|---|---|---|
| GitHub stars | ★ 654 +2 in 9 days | ★ 41,360 +281 in 10 days |
| Forks | 56 | 3,770 |
| Last commit | 1 month ago | today |
| Latest version | v0.8.0 | desktop-v0.61.1180 |
| Repository started | August 2026 | January 2020 |
| License | AGPL-3.0 · copyleft | MIT · permissive |
| Self-hosted | Yes | Yes |
| Platforms | Web, Linux, Docker, CLI | Web, Linux, Docker, CLI |
| Main language | TypeScript | Python |
| Alternative to | Fathom Analytics, Google Analytics 4, Logsnag | Amplitude, Fathom Analytics, FullStory, Gainsight PX, Google Analytics 4, Google Analytics for Firebase +6 |
Highlighted: more stars or forks, or a last commit at least two weeks more recent. Data from GitHub, updated 4 December 2026.
OpenAnalytics
OpenAnalytics tracks page views, events, funnels and Stripe revenue with a small script, ClickHouse storage and an optional MCP server.
Key features
- Cookieless lightweight browser tracker with CI byte budget
- Realtime dashboard with SSE presence stream
- Custom events, funnels and per-site retention
- Stripe-linked revenue analytics
- Embeddable widgets and public share links
- MCP server and oa CLI for setup and stats
PostHog
PostHog ingests analytics, session replays, errors, logs, and related product data so teams and agents can query and act on it. It ships feature flags, experiments, surveys, and warehouse tooling in one platform.
Key features
- Product and web analytics
- Session replay and heatmaps
- Feature flags and experiments
- Error tracking and logs
- Surveys and in-app support
- Data warehouse and pipelines