the catalog · 📊 Analytics

PostHog

★ 30k

All-in-one product analytics with session replay, feature flags, experiments, and surveys

PostHog does the job of Mixpanel and Amplitude, self-hosted. It is MIT (+EE)-licensed, so you can do essentially what you like with it, and running it properly takes real ops work. Mixpanel bills $0-450+ for it. 30k stars on GitHub.

Open-source replacement for Mixpanel, Amplitude.

Licence
MIT (+EE)
Self-hosting
Hard
The paid one costs
$0-450+
GitHub stars
30k
view the code →official site →

Is it actually a replacement?

We have written a verdict on what it replaces — what you lose, and why people still pay:

How PostHog runs

Where it runs

PostHog runs on your machine or their cloud.

Installing it

Create a PostHog Cloud project or use the hobby self-host script on a Linux server.

Where your data lives

The self-hosted stack splits analytics, transactions, queues and recordings across ClickHouse, PostgreSQL, Kafka, Redis and object storage; cloud data lives in PostHog's managed regions.

What setup takes

None for hosted signup; self-hosting is an unsupported, resource-heavy multi-service stack requiring serious operations work.

The catch compared with Amplitude

Its kitchen-sink product is heavier, while Amplitude's core product-analytics workflows and governance are more refined.

PostHog questions

Is PostHog open source?

Yes — it is released under MIT (+EE).

Can PostHog replace Mixpanel?

Our verdict on Mixpanel is YES. Umami (38k stars), PostHog (38k stars), Plausible (23k stars) are mature open-source replacements for Mixpanel — self-host with docker and stop paying.

Can I self-host PostHog?

Yes — we rate it hard to self-host, and it runs on your machine or their cloud. Create a PostHog Cloud project or use the hobby self-host script on a Linux server.

More analytics tools