Loading page
Loading page
Analytics · Mixpanel alternative
Product analytics, session replay, feature flags and experiments in one open-source platform.
PostHog is an all-in-one platform for building products. It captures events from your website or app and gives you product analytics, web analytics, session replay, heatmaps, feature flags, experiments, surveys and error tracking in one place. You can explore the data with charts or write SQL.
Because every tool shares the same data, you can jump from a funnel drop-off to the replays of those users, or from an experiment result to the flag that controls it.
PostHog suits product teams and engineers at startups and software companies. It works best for people who like to dig into data themselves and want analytics, flags and replays without stitching several tools together.
Product analytics and replay tools usually charge by events or recordings. Self-hosting keeps every event and recording in your own ClickHouse and object storage, which matters if your users' data must not leave your service.
The trade-off is size and effort. This is one of the heaviest stacks in the catalog, with many containers and a big appetite for memory and disk. The self-hosted build may also lack some cloud features. You handle updates, retention and backups yourself.
Containers: alpine:3.21, postgres:15.12-alpine, redis:7.2-alpine, zookeeper:3.7.0, docker.io/redpandadata/redpanda:v25.1.9, clickhouse/clickhouse-server:26.6.1.1193, posthog/posthog:${POSTHOG_VERSION}, posthog/posthog-node:${POSTHOG_NODE_VERSION}, ghcr.io/posthog/posthog/capture:master, ghcr.io/posthog/posthog/feature-flags:master, ghcr.io/posthog/posthog/hypercache-server:master, ghcr.io/posthog/posthog/livestream:master, minio/minio:RELEASE.2025-04-22T22-12-26Z, caddy:2.10-alpine
Step 1
Choose the Starter plan. It costs $20 a month and runs up to 3 apps.
Step 2
Open App templates in the dashboard, choose PostHog, and click Deploy. We set up the containers, secrets and domain.
Step 3
Wait a few minutes for the first deploy, then open your new URL and finish the PostHog setup screen.