Skip to content
FossShelf
Home / Categories / For Data Teams

PostHog

Track events, replay sessions, and run A/B tests, self-hostable

Replaces Amplitude, Mixpanel, Fullstory

40.83K starsMITreviewed 29 May 2025last commit 14 Nov 2026
Screenshot of PostHog

Who it's for

SaaS teams consolidating analytics tools

Use PostHog to combine funnels, web analytics, session replay, feature flags, experiments, surveys, and errors in one stack.

Skip if your only need is lightweight website traffic reporting.

Developers instrumenting product growth

Use SDKs, SQL, feature flags, and event pipelines to measure and ship product changes without a separate marketing analytics stack.

Skip if non-technical marketers need a pure ad attribution platform.

The problem

Product teams often stitch together analytics, flags, session replay, surveys, errors, and pipelines from separate SaaS tools. That creates duplicate instrumentation, fragmented user data, and pricing that grows across several vendors at once.

How it works

Product and web analytics

PostHog tracks event-based product analytics and GA-like web analytics, with visualization, SQL, conversion, web vital, and revenue reporting.

Replay, flags, and experiments

Session replay, feature flags, and experiments let teams diagnose behavior, roll out changes safely, and measure statistical impact.

Data pipelines and LLM analytics

PostHog can transform incoming data, send it to 25+ tools, sync warehouse data, and capture LLM traces, generations, latency, and cost.

Features

  • Product and web analytics
  • Replay, flags, and experiments
  • Data pipelines and LLM analytics

How to install

/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/posthog/posthog/HEAD/bin/deploy-hobby)"

Recommended for this setup

Strengths

  • One product stack: Teams can replace several analytics and growth tools with one event model, reducing duplicate SDKs and scattered customer data.
  • Developer-friendly setup: The README highlights SDKs for popular frontend, mobile, and backend stacks plus API setup options.

Trade-offs

  • Self-hosting has scale limits: PostHog's README recommends cloud for the fastest path and notes open source hobby deployments should scale to about 100k events per month before migration is recommended.

Tech stack

Languages
Python, TypeScript, Rust, HCL, JavaScript, Go, SCSS, HTML, Shell, CSS, Swift, Jinja, Kotlin, C++, MDX, Dockerfile, ANTLR, PLpgSQL, Go Template, Makefile, EJS, Lua, CMake, Ruby, Smarty, C, Dart
Frameworks
React
Databases
Redis, PostgreSQL
Tooling
AWS

FAQ

What does PostHog include?

PostHog includes product analytics, web analytics, session replay, feature flags, experiments, surveys, error tracking, pipelines, and LLM analytics.

Can PostHog be self-hosted?

Yes, but the README positions cloud as recommended and describes self-hosting as an advanced hobby deploy with scale guidance.

What does PostHog replace?

PostHog can replace parts of Mixpanel, Amplitude, Hotjar, LaunchDarkly, Google Analytics, and survey tools.

Similar tools

More in Data Teams