7,380 open-source and SaaS tools, with GitHub stats refreshed every day.
GitHub stars
40k
Last commit
today
Repository age
6 years
Version
desktop-v0.61.621
Licence
Custom
Self-hosted
Yes

About PostHog

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

Good fit for

  • →Understanding user behavior in a product
  • →Rolling out features safely with flags
  • →Replacing several analytics vendors with one
Tags
product-analytics
session-replay
feature-flags
ab-testing
analytics
surveys
error-tracking
self-hosted
data-warehouse

PostHog: questions and answers

What is PostHog used for?
PostHog is an open-source product platform combining analytics, session replay, feature flags, experiments, surveys and error tracking, with AI that turns signals into reports. It is a good fit for understanding user behavior in a product, rolling out features safely with flags and replacing several analytics vendors with one.
Is PostHog open source?
Yes. PostHog is open source under a custom licence. Its source code is on GitHub at PostHog/posthog and is written mainly in Python.
Is PostHog free?
Yes. PostHog is open source, so the software itself is free to use under the terms of its own licence. A managed cloud version is also available.
Can I self-host PostHog?
Yes. PostHog can be self-hosted on your own server or infrastructure.
What is PostHog an alternative to?
PostHog is an open-source alternative to Mixpanel, Amplitude, Heap and Hotjar. Other open-source alternatives to Mixpanel include Talivia and OpenPanel.
Is PostHog actively maintained?
Yes. The most recent commit to PostHog was on 2 October 2026. The project has 40k stars on GitHub.

Open-source alternatives to PostHog

See all

SaaS alternatives to PostHog

See all