PostHog
An open-source product platform combining analytics, session replay, feature flags, experiments, surveys and error tracking, with AI that turns signals into reports.
- GitHub stars
- 40k
- Last commit
- yesterday
- Latest release
- desktop-v0.61.621
- Self-hosted
- Yes
- Hosted version
- Available

PostHog is an open-source platform that bundles the tools product teams use to understand and improve what they ship. It captures event data, user sessions and errors in one place, and its newer self-driving mode aims to turn signals such as errors, rage clicks and failed queries into researched reports and pull requests that engineers review and merge.
The product suite includes product analytics with autocapture or manual instrumentation and SQL analysis, web analytics with a dashboard resembling Google Analytics, session replays for web and mobile, feature flags, experiments with statistical measurement, surveys, error tracking, logs, a data warehouse and a customer data platform. The back end is Python and the front end is React and TypeScript.
PostHog's repository license is listed as 'Other' on GitHub, so check which parts are open source and which are enterprise-only. It can be self-hosted, and the company also runs a managed cloud service. It suits product and engineering teams that prefer a single tool over separate analytics, flagging and replay vendors.
Key features
- Product analytics with autocapture and SQL
- Web analytics dashboard
- Session replay for web and mobile
- Feature flags and experiments
- Surveys and error tracking
- Data warehouse and customer data platform
- AI-assisted detection of product issues
Pricing: Every product has a free monthly tier with no credit card needed. Pay-as-you-go charges only for usage beyond the free limits; per-unit rates are not shown here and volume discounts are available.







