PostHog

Open-source product analytics. Mixpanel + LaunchDarkly + Hotjar in one self-hostable bundle.

VISIT POSTHOG

Key takeaway: For a product-led company that would otherwise buy a product-analytics tool, a feature-flag service, and a session-replay vendor separately, PostHog collapses three invoices and three SDKs into one. Pick it over Mixpanel or Amplitude when breadth and cost outweigh dashboard polish, and pair it with something light on the marketing site.

Quick facts

  • CategoryProduct analytics
  • PricingFreemium
  • Starts atFree / $0
  • LicenseMIT
  • Created2020
  • GitHub stars23k
  • Script size~50KB
  • CookielessNo
  • Self-hostYes

What it is

PostHog is the open-source product analytics platform. Funnels, retention, paths, session replay, feature flags, A/B testing, surveys, error tracking, all in one product. Self-hostable on Kubernetes; managed cloud tier with a generous free plan (1M events/month). YC-backed, fast-moving, the closest thing to a one-vendor product-analytics stack in 2026.

Best for

  • Product teams who need funnels + feature flags + session replay in one tool
  • Startups who want PostHog Cloud free tier and the option to self-host later
  • Teams escaping Mixpanel / Amplitude pricing

When not to pick it

Skip PostHog if you only need web analytics, it is overkill. Skip if you need a polished mature product-analytics tool; Mixpanel and Amplitude are still ahead on dashboard polish.

My take

PostHog is the right default for product-led companies in 2026. Self-host the EU instance for compliance, use feature flags + experiments out of the same tool, ship session replay when you need it. Pair with Plausible for marketing-site web analytics.

One SDK, one event stream, several products

The argument for PostHog is not that any single module beats the category leader. It is that funnels, retention, paths, feature flags, experiments, session replay, surveys, and error tracking all read from the same event stream and the same person identity. That is the expensive part when you stitch separate vendors together. You flag a feature, experiment on it, watch a replay of the session where it broke, and never write an identity-mapping layer to join those three systems. The cost of that breadth is weight. The client bundle is far heavier than a privacy-first web tracker, so dropping PostHog onto a marketing landing page you have optimised for Core Web Vitals is a poor trade. Run it where the product is, run something light where the traffic is, and stop trying to make one tool cover both jobs.

Self-hosting is a Kubernetes commitment, not a Docker one

PostHog is MIT-licensed and self-hostable, but the honest framing is that a production self-hosted deployment expects Kubernetes with ClickHouse, Kafka, and Redis behind it. That is a platform team's project, not an afternoon. The project itself has steered smaller users toward Cloud for exactly this reason, and there is an EU Cloud region that answers most of the data-residency questions people were self-hosting to solve. Unless a contract genuinely forbids a third-party processor, the EU region costs you less than standing up the cluster. On billing, pricing is usage-based per product, so the bill tracks event volume and replay minutes rather than seats. That scales kindly for a small team with a lot of users and much less kindly if you instrument every mouse movement. Configure sampling and event filtering on day one rather than after the first surprising invoice.

Frequently asked questions

Is PostHog free?

The source is MIT-licensed, and the cloud product has a free tier that covers a genuine amount of usage before anything is charged, which is why so many startups begin there. Beyond it, pricing is usage-based per product: events, replay minutes, flag requests. Self-hosting removes the invoice and hands you a ClickHouse and Kafka cluster to operate instead.

PostHog or Mixpanel?

PostHog if you want feature flags, experiments, and session replay attached to the same event data, and if cost matters. Mixpanel if the analysis itself is the job and you want the more refined querying and dashboard experience. Teams escaping Mixpanel invoices generally land on PostHog. Teams whose product managers live in dashboards all day usually stay put.

Can PostHog replace Google Analytics?

For product measurement, comfortably. For marketing-site analytics it is a poor swap: the script is much heavier, it is not cookieless by default, and reports are built around users and events rather than sessions and channels. Run PostHog on the application and Plausible, Fathom, or Cloudflare Web Analytics on the marketing pages.

Links

Compare PostHog side-by-side

Similar tools you should also consider

If PostHog is your pick, the next conversation is short

The 30-min call is where your analytics choice becomes a real implementation, an event-tracking plan that fits your product, and a privacy story that does not need a 4-screen cookie banner.