
PostHog
Track events, replay sessions, and run A/B tests, self-hostable
Replaces Amplitude, Mixpanel, Fullstory

Who it's for
Use PostHog to combine funnels, web analytics, session replay, feature flags, experiments, surveys, and errors in one stack.
Skip if your only need is lightweight website traffic reporting.
Use SDKs, SQL, feature flags, and event pipelines to measure and ship product changes without a separate marketing analytics stack.
Skip if non-technical marketers need a pure ad attribution platform.
The problem
Product teams often stitch together analytics, flags, session replay, surveys, errors, and pipelines from separate SaaS tools. That creates duplicate instrumentation, fragmented user data, and pricing that grows across several vendors at once.
How it works
PostHog tracks event-based product analytics and GA-like web analytics, with visualization, SQL, conversion, web vital, and revenue reporting.
Session replay, feature flags, and experiments let teams diagnose behavior, roll out changes safely, and measure statistical impact.
PostHog can transform incoming data, send it to 25+ tools, sync warehouse data, and capture LLM traces, generations, latency, and cost.
Features
- Product and web analytics
- Replay, flags, and experiments
- Data pipelines and LLM analytics
How to install
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/posthog/posthog/HEAD/bin/deploy-hobby)"Recommended for this setup
Strengths
- One product stack: Teams can replace several analytics and growth tools with one event model, reducing duplicate SDKs and scattered customer data.
- Developer-friendly setup: The README highlights SDKs for popular frontend, mobile, and backend stacks plus API setup options.
Trade-offs
- Self-hosting has scale limits: PostHog's README recommends cloud for the fastest path and notes open source hobby deployments should scale to about 100k events per month before migration is recommended.
Tech stack
FAQ
PostHog includes product analytics, web analytics, session replay, feature flags, experiments, surveys, error tracking, pipelines, and LLM analytics.
Yes, but the README positions cloud as recommended and describes self-hosting as an advanced hobby deploy with scale guidance.
PostHog can replace parts of Mixpanel, Amplitude, Hotjar, LaunchDarkly, Google Analytics, and survey tools.