Reference fixture · posthog

# How engineers build better products.

PostHog is the open-source all-in-one platform for product analytics, session replay, feature flags, A/B tests, and the surveys you keep meaning to send. Built by engineers who got tired of stitching together six SaaS dashboards that all charge per-seat for the privilege.

Get started — free
Read the docs
Self-host with `docker compose up` 1M events/mo free No credit card

Trusted by engineering teams at

Airbus GOV.UK Y Combinator Hasura Raycast
Live · last 60s Ingesting

### 12,418 events

Across 2,107 anonymous people, 38 countries, and one suspicious cron in `us-east-1`.

    # last event seen 0.4s ago
    posthog.capture(
      distinct_id="max@hog.com",
      event="button_clicked",
      properties={
        "label": "get_started",
        "$session_id": "01HX…"
      }
    )

`⌘` `K` to jump View replay →

What's in the box

## Every analytics tool a product engineer actually needs.

One database, one billing line, one set of definitions for what an “active user” is. Hover any card to flash the hidden brand orange — DESIGN.md §1 calls it the signature interaction surprise.

Analytics

### Product analytics that don't lie

Funnels, retention, paths, lifecycle — all built on raw events you actually own. No sampling, no aggregated hand-waving, no “trust us, the dashboard is right.”

Explore funnels →
Replay

### Watch what your users actually did

Session replay with console logs, network requests, and the rage clicks your support team have been complaining about all week. Privacy masking on by default.

See a session →
Experiments

### Feature flags & A/B tests

Ship a flag in five minutes, run an experiment in five days, kill the bad arm in five seconds. Same data warehouse as your analytics — the results never disagree with the funnel.

Roll one out →

Self-host or hosted

## Two clicks from zero to first event.

Drop us your work email and we'll send the install command that fits your stack — `npm`, `pnpm`, `pip`, `go get`, or one truly heroic `curl | bash`. No calendars, no “quick chat” bookings.

By the way: PostHog is open source under MIT. The hosted plan exists because someone has to pay the S3 bill. Read the design spec or browse the tokens.

Start free

1M events / mo
Work email

We'll never sell it. We'll barely even use it.

Company
Where should we point you?

We'll match the install snippet to your runtime.

No credit card. No marketing automation gauntlet. The hedgehog approves.