Open-source product analytics and feature flags platform. PostHog analytics combines session replay, heatmaps, and A/B testing in one self-hosted or cloud option for product operators.
PostHog is an open-source product analytics platform designed for product operators who need deep visibility into user behavior without relying on third-party SaaS vendors. The platform combines session replay, heatmaps, feature flags, A/B testing, and event-based analytics in a single tool, reducing tool sprawl and vendor dependencies. Core strength: PostHog can be self-hosted on your own infrastructure, giving you full data control and eliminating concerns about data residency or vendor lock-in. The open-source model means you can inspect, modify, and audit the codebase. A cloud-hosted option is also available for teams preferring managed infrastructure. Product analytics capabilities include event tracking, user segmentation, funnel analysis, and retention cohorts. The feature flags system allows operators to ship code behind flags, run gradual rollouts, and conduct multivariate experiments without redeploying. Session replay shows actual user interactions, helping diagnose friction points. Heatmaps visualize where users click and scroll. Operator workflow: You instrument your product with PostHog's SDKs (JavaScript, Python, Go, Ruby, Node.js, and others), then analyze behavior through dashboards. Feature flags integrate directly into your application code, letting you control feature availability in real time. A/B testing is built-in, not bolted on. Pricing model is freemium for cloud, with free tier covering up to 1M events/month (verify on vendor site for current limits). Self-hosted open-source version is free but requires infrastructure management. Paid tiers add higher event volumes, priority support, and advanced features like group analytics and data warehouse integrations. Common use cases: measuring feature adoption, diagnosing drop-off in onboarding flows, running experiments before full rollout, and replacing multiple point solutions. Teams often choose PostHog to consolidate analytics, feature management, and experimentation into one platform. Limitations: Self-hosting requires DevOps resources and ongoing maintenance. The UI can feel dense compared to simpler analytics tools. Data warehouse integrations and advanced SQL querying require higher-tier plans. Community support is active but not guaranteed SLA.