How to Ship Features with PostHog Flags and A/B Tests
Feature flags are easy; statistical validity is not. Here is the flag setup, how to wire an experiment correctly, and the sample size mistake that…
Product analytics, session replay and AI observability in one open-source stack
PostHog is an open-source product analytics platform that bundles event tracking, session replay, feature flags, experiments and LLM analytics — replacing four separate vendor contracts with one SDK.
James Hawkins and Tim Glaser started it in 2020 after being rejected from Y Combinator’s summer batch; they got in the next time round and went on to open-source the whole stack. You can self-host on a single Docker Compose file, though the company will tell you the managed cloud is the sane choice above modest traffic.
The pitch is consolidation. Amplitude for funnels, Hotjar for replay, LaunchDarkly for flags, and some LLM tracer — that is four invoices and four SDKs leaking into your bundle.