Skip to main content
OpenSourceAlternatives

PostHog

Open source · OSI-approvedStatus: unknownNew

Open-source product analytics with session replay, flags, and experiments

PostHog is an open-source product analytics suite that tracks how people use software and pairs measurement with session replay, feature flags, and experiments. Product and engineering teams analyse one shared event stream, and the MIT-licensed core runs as a hobby Docker deploy or as managed PostHog Cloud with a monthly free tier.[1][2][3]

Quick verdict

Product teams that want event analytics, session replay, feature flags, and experiments in one open-source suite benefit most from PostHog. Its strength is the shared event stream: one implementation feeds funnels, replays, flag targeting, and experiment readouts, on PostHog Cloud or a self-hosted Docker deploy. The constraint is operational honesty: hobby self-hosting is officially unsupported with no paid support plans, so teams without infrastructure capacity face usage-based Cloud pricing. Choose PostHog Cloud if you want the suite without operating it; choose the hobby Docker deploy if data must stay on your servers and you accept the risk; use the vendors' published comparison against Matomo if your shortlist is analytics-only.[1][2][3]

Key features

  • Event tracking, funnels, user paths Event tracking, funnels, user paths: captured actions feed funnel reports and user-path visualisation, connecting product changes and campaigns to completed sign-ups and purchases.[1]

  • Session replay tied to events Session replay tied to events: individual session recordings show clicks, navigation, and points of friction, analysable against the same event stream as the dashboards.[1][2]

  • Feature flags with targeted rollouts Feature flags with targeted rollouts: releases gate behind flags with targeting rules, so teams ship gradually and limit the blast radius of new code.[1][2]

  • Built-in experiments Built-in experiments: variants compare against conversion goals inside the suite, without exporting data to a separate testing tool.[1][2]

  • Capture and private API Capture and private API: public POST-only endpoints capture events and evaluate flags, while authenticated private endpoints manage nearly all data; available to all users and instances including self-hosted ones. Private endpoints authenticate with personal, project-secret, or OAuth keys and carry documented per-resource rate limits.[1]

  • Hobby Docker self-host under MIT Hobby Docker self-host under MIT: a free Docker Compose deploy and trial TUI installer run the same product as Cloud on operator infrastructure, with no tagged releases and officially unsupported status. The vendor recommends Cloud for most users and asks self-hosters to track the latest image, since every change ships continuously from master.[1][2]

  • Managed Cloud free tier, EU/US regions Managed Cloud free tier, EU/US regions: Cloud starts with 1 million events, 5,000 recordings, and 1,500 survey responses free every month, with EU and US hosting regions. Usage beyond the free tier follows metered pricing on the official pricing page.[1][2]

  • SAML SSO and SCIM on paid tiers SAML SSO and SCIM on paid tiers: organisation authentication supports verified domains, SAML, just-in-time provisioning, and SCIM, with some SSO features reserved for paid platform packages. Domain setup centres on a verified authentication domain, with DNS TXT verification on Cloud.[1]

Who will love it

  • Consolidating product teams Consolidating product teams: one implementation and one event stream cover measurement, release control, and experimentation, removing integration work and conflicting numbers.[1][2]

  • Data-must-stay-home operators Data-must-stay-home operators: the MIT-licensed hobby deploy runs the full product on operator infrastructure for privacy requirements or policies that exclude third-party clouds.[1]

  • Startups scaling on metering Startups scaling on metering: the monthly free tier covers early volume, and costs then track event, recording, and survey usage instead of an upfront platform fee.[1][2]

Who should avoid it

  • Needing supported self-hosting Needing supported self-hosting: the vendor manages no self-hosted instances and offers no paid support plans or guarantees for them; without in-house operations capacity, Cloud is the only honest option.[1]

  • Wanting a flat fee Wanting a flat fee: costs scale with event, recording, and survey volume rather than a fixed per-month figure, so spiky traffic makes bills harder to forecast.[1][2]

  • Pageview-stats-only need Pageview-stats-only need: where the requirement is visits, referrers, and conversions on one screen, the suite's flags, experiments, and replays are overhead; the published Matomo comparison is the better starting point.[1][2]

Alternatives and compatibility

Against Matomo Against Matomo: the substitutable workflow is self-hosted event and web analytics with funnels and session replay on operator infrastructure; PostHog adds flags and experiments in the same suite while Matomo is the analytics-focused suite. Editorial inference on scope; the head-to-head comparison itself is vendor-published.[1][2][3]

Cloud against self-host Cloud against self-host: both run the same product, so the choice is support and metering against control and operational risk; the vendor recommends Cloud for the vast majority of users.[1]

The deciding tradeoff The deciding tradeoff is capability against operations: PostHog removes the vendor patchwork at the price of either metered Cloud spend or self-operated infrastructure.[1][2]

Questions worth asking

What is the best PostHog alternative for non-technical users?

PostHog Cloud itself is the conditional pick: the same suite without servers to operate, starting with 1 million events free each month. The tradeoff is metered pricing as volume grows and data residing on PostHog's EU or US Cloud. Teams whose requirement is only pageview statistics should evaluate the analytics-only shortlist through the vendors' published PostHog-vs-Matomo comparison.[1][2][3]

Is PostHog really no-code?

For day-to-day use, mostly: dashboards, funnels, flags, and experiments are configured in the web interface once tracking is in place. The technical parts are integration and operations: tracking needs a JavaScript snippet or SDK in the product, and running the self-hosted edition needs someone comfortable with Docker, upgrades, and scaling.[1][2][3]

How much does PostHog cost per month?

PostHog Cloud is free for 1 million events, 5,000 recordings, and 1,500 survey responses every month; beyond that, usage-based pricing applies as listed on the official pricing page. Exact per-unit rates were not captured in this pass and should be checked against current official pricing. The hobby self-hosted deploy is MIT-licensed with no licence fee, but infrastructure and operations are the operator's own cost. Checked October 12, 2026.[1][2]

Can you self-host PostHog?

Yes. A free hobby deploy via Docker Compose or the trial TUI installer runs the same product as PostHog Cloud on the operator's infrastructure under the MIT licence. Limits apply: self-hosted instances are officially unsupported, with no tagged releases, no paid support plans, and no guarantees, so the operator owns upgrades, scaling, and risk.[1][2]

Sources and editorial review

Source research. Reviewed on October 12, 2026. Written by Sanjib Sah. AI assisted; reviewed by a human editor.

We have not run or tested this product.

  1. PostHog homepage (official)

    official · Observed October 12, 2026

    Official homepage: product positioning, Cloud signup route to app.posthog.com, pricing/docs navigation, demo and sales contact entry points.

  2. PostHog pricing (official)

    official · Observed October 12, 2026

    Official pricing: headline Start free, scale when you need; free-tier framing referenced from self-host docs pending full rate capture.

  3. PostHog GitHub repository

    official · Observed October 12, 2026

    Repository PostHog/posthog: product description covering analytics, session replay, flags, experiments, error tracking and logs; MIT expat licence for core except ee directory; Dockerfile and self-host references.

  4. PostHog self-host documentation (official)

    official · Observed October 12, 2026

    Official self-host docs: free MIT Docker Compose hobby deploy and trial TUI installer; same product as Cloud; no tagged releases; officially unsupported with no paid support plans or guarantees; Cloud free for 1M events, 5k recordings, 1500 survey responses monthly; EU and US Cloud regions.

  5. PostHog API overview (official)

    official · Observed October 12, 2026

    Official API overview: powerful capture and private endpoints available for all users and instances including self-hosted; personal, project-secret, and OAuth authentication; documented rate limits.

  6. PostHog SSO documentation (official)

    official · Observed October 12, 2026

    Official SSO docs: verified authentication domains, SAML configuration, just-in-time provisioning and SCIM; some SSO features reserved for paid platform packages.

  7. PostHog vs Matomo comparison (official)

    official · Observed October 12, 2026

    Official vendor-published head-to-head comparison page PostHog vs Matomo; comparability evidence for the catalogue relationship.

  8. Matomo homepage (official)

    official · Observed October 12, 2026

    Official homepage of the analytics-focused comparator (also an existing published catalogue record); relationship evidence only.

Compared with these products

No explicit proprietary baseline is recorded.

Similar projects

Related projects with shared categories, technologies, or licensing.

GrowthBook

GrowthBookOpen

Open-source feature flags and warehouse-native experimentation on one platform

Stars8,487
Commitjust now
LicenseMIT

GrowthBook is an open-source platform for feature flags, experimentation, and product analytics, runnable in its cloud or self-hosted.

Umami

UmamiOpen

Privacy-first web analytics without cookies, self-hosted or in the cloud

Stars39.3K
Commitjust now
LicenseMIT

Umami is a privacy-first web analytics platform covering traffic, campaigns, behavior, conversions, and revenue without cookies, available self-hosted or on Umami Cloud.

Rybbit

RybbitOpen

Cookieless open-source web and product analytics with session replay and funnels

Stars13.1K
Commitjust now
LicenseAGPL-3.0

Rybbit is a self-hosted web and product analytics platform with a readable dashboard and an 11 KB cookieless tracking script.

OpenReplay

OpenReplay

Self-hosted session replay and product analytics for debugging UX issues

Stars13K
Commitjust now
LicenseAGPL-3.0-only (core default; MIT parts; proprietary ee/)

OpenReplay is a self-hosted session replay and product analytics platform that records user sessions with DevTools data to reproduce issues.

Databuddy

DatabuddyOpen

Cookieless product analytics with funnels, errors and uptime

Stars1,169
Commitjust now
LicenseAGPL-3.0

Databuddy is an open-source product analytics platform for startups that tracks visitors, custom events, funnels, and goals with one cookieless script.

HitKeep

HitKeepOpen

Privacy-first web analytics for humans and AI agents, self-hosted or in EU/US cloud

Stars93
Commitjust now
LicenseMIT

HitKeep is a privacy-first web analytics platform that tracks humans and AI agents without cookies, fingerprinting, or cross-site identifiers. Sites add one lightweight script under their own domain, and an MCP server plus analytics API expose the same stats to agents and external tools.