PostHog logo

PostHog

Open source product analytics platform with session replay, feature flags, experiments, surveys, and data pipelines

Open Source Alternative to
Repository activity
  • Stars35k
  • Forks2.9k
  • Open Issues3.9k
posthog health score - Linux Foundation Insights
License

Other

Languages
  • Python
  • TypeScript
  • Rust
PostHog screenshot

About PostHog

PostHog is an open source, all-in-one platform for building products. It brings product analytics, web analytics, session replay, error tracking, feature flags, experiments, surveys, a data warehouse, data pipelines, AI observability, and workflows together in one stack.

Product analytics autocaptures or manually instruments events, then analyzes them with visualizations or SQL. Web analytics give a GA-like dashboard for traffic, sessions, conversion, web vitals, and revenue. Session replays show real user interactions, feature flags and experiments roll out changes safely, and pipelines filter and transform incoming data before sending it to 25+ tools, webhooks, or batch warehouse exports.

PostHog Cloud runs in US and EU regions, free up to a monthly tier and usage-based after. The open source code is MIT licensed apart from the ee directory, with a fully FOSS posthog-foss build available. A one-line hobby deploy self-hosts on Linux with Docker for roughly 100k events a month.

Key features

  • Autocapture or manually instrument event-based product analytics
  • Web analytics for traffic, sessions, conversion, web vitals, and revenue
  • Session replay and error tracking with alerts
  • Feature flags, cohorts, experiments, and no-code experiment setup
  • Data pipelines with filters, transformations, webhooks, and batch exports

Details

First released
2020
Self-hosting
Linux Docker hobby deploy
Cloud
PostHog Cloud US · EU
Free tier
1 million events · 5k recordings
Pipelines
25+ tools · webhooks · warehouse export
OSS scale
Approx. 100k events per month