</>macrostack
Tool profile · Product analytics

PostHog

Top pick

Product analytics, session replay, flags and experiments in one self-hostable product.

85
sovereignty

PostHog is the most complete answer here because it collapses several line items into one: product analytics, session replay, feature flags, A/B testing, surveys and a data warehouse, all in a product you can run on your own infrastructure. For teams currently paying Amplitude for analytics and LaunchDarkly for flags, that consolidation is often the real saving rather than any single rate. Around 37.4k stars and pushed to daily. The licence needs stating precisely: the core is MIT, but the `ee/` directory is licensed separately as enterprise — so it is MIT-with-a-carve-out rather than plain MIT, which is how it is usually described.

OPEN SOURCEMIT core, with an `ee/` enterprise directory carve-outSELF-HOSTLOCAL-FIRST
LicenseMIT core, with an `ee/` enterprise directory carve-out
PricingGenerous free tier on cloud; self-hostable at no licence cost for the MIT core.
Open sourceYes
Self-hostableYes
Local-first dataYes

What it does well

  • +Replaces analytics, session replay, flags and experiments with one tool
  • +Self-hostable, so behavioural data never leaves your infrastructure
  • +Autocapture means useful data before anyone writes a tracking plan
  • +Very generous free tier if you would rather use the hosted version

Where it falls short

  • Self-hosting at volume means operating ClickHouse — a real commitment
  • The `ee/` directory is not MIT despite the project's reputation
  • Heavier and more complex than a focused analytics tool
  • Analysis depth still trails Amplitude for sophisticated cohort work

PostHog as an alternative to

Where PostHog shows up in our comparisons, and how it ranked.

PostHog head-to-head

Straight comparisons against the tools people weigh it against.

The Macrostack brief

New swaps, worth your inbox.

A short, occasional email when we add a high-intent alternative or ship a new head-to-head. No spam, no selling your address — unsubscribe in one click.