PostHog replaces Amplitude and Mixpanel with an open-source platform uniting product analytics, session replays, and feature flags in one stack.
PostHog pairs a ClickHouse event store with a Kafka ingestion pipeline to record behavioral events, session replays, and feature flags in one datastore. Launched in 2020 as an open-source product analytics platform, it has expanded to include web analytics, session recordings, error tracking, and user surveys. Teams deploy it as a single-node container stack or use managed cloud infrastructure.
Amplitude excels at specialized behavioral cohorting and predictive analytics for dedicated analytics teams, but it operates as a disconnected data silo. Diagnosing why users abandon a workflow requires jumping from Amplitude to a third-party session recording tool, then checking a separate feature flag service to see which experiment variant they received. PostHog removes that fragmentation by combining product analytics, session replay, and feature flags into one workflow. When a funnel shows drop-offs, engineers click directly into the relevant session replays to watch user behavior alongside console errors and active flag states.
Instrumentation and query workflows also differ fundamentally. Amplitude relies on pre-planned event taxonomies and manual governance before data collection starts. PostHog captures frontend interactions out of the box with autocapture while supporting explicit backend events, allowing product teams to define actions and funnels retroactively. While Amplitude provides a more polished interface for non-technical managers, PostHog provides direct SQL querying via its HogQL engine, letting engineering and operations leads inspect raw event tables without external export pipelines.
PostHog vs Amplitude — which should a product team choose? Amplitude fits larger organizations that prioritize deep behavioral modeling and non-technical reporting. PostHog is better for developer-led teams that want analytics, session replays, and feature flags unified in a single tool.
Can you self-host PostHog in production? Yes, but the open-source release only provides a single-node hobby deployment meant for up to 100,000 monthly events without vendor support. Larger volumes require significant infrastructure maintenance or a move to PostHog Cloud.
Is PostHog free for commercial use? Yes, the core software is free to run on your own servers without user licensing restrictions. The project also offers a cloud tier with a generous free monthly allowance before usage billing applies.
PostHog is an effective platform for engineering teams that want to consolidate analytics, feature flags, and session recordings in one place, provided they either accept cloud hosting or have the infrastructure capacity to run ClickHouse and Kafka. The repository is under active development with frequent commits, and its permissive MIT license gives companies the freedom to inspect and modify the platform to fit their stack.
Go, gRPC and Protobuf done right, LLM agents in production, and the hard parts of shipping a first product.
Show that PostHog is listed as an open-source alternative. Paste into your README: