PostHog

All-in-one product analytics platform.

Last reviewed 5 December 2026 · MIT · Analytics & BI

Licence
Type
Self-hosted
GitHub stars
★ 41.4k
Last commit
December 2026
First release
2020
Hosted version
Available

What is PostHog?

PostHog combines product analytics, session replay, feature flags, A/B testing, surveys and a data warehouse in one platform. It is used mainly as a cloud service with a generous free tier.

Note: The core is MIT-licensed; enterprise features are under a separate licence. Self-hosting is supported for hobby use only.

Key features

  • Product analytics and funnels
  • Session replay and heatmaps
  • Feature flags and experiments
  • Generous free cloud tier

PostHog as an open source alternative

PostHog is listed on 3 of our comparison pages as an open source replacement for Mixpanel, Amplitude and Hotjar. Compare it with the other options:

Licence

PostHog is released under the MIT licence, a permissive licence. More MIT software →

PostHog: FAQ

Is PostHog open source?

Yes. PostHog is released under the MIT licence (permissive), and its source code is public. The core is MIT-licensed; enterprise features are under a separate licence. Self-hosting is supported for hobby use only.

Is PostHog free?

The software is free to use and self-host. PostHog also offers an official hosted or cloud version, which may have paid plans.

What does PostHog replace?

PostHog is an open source alternative to Mixpanel, Amplitude and Hotjar.

Can I self-host PostHog?

Yes. PostHog is a server application you can install on your own server or VPS, usually with Docker.

Similar open source projects

Matomo

GPL-3.022.1k

The leading open source web analytics platform.

Replaces Google Analytics

Self-hostedCloud option
Self-hostedAnalytics & BI

Apache Superset

Apache-2.075.8k

Enterprise-ready data exploration and visualisation.

Replaces Tableau, Microsoft Power BI, Looker

Self-hosted
Self-hostedAnalytics & BI

Metabase

AGPL-3.050.8k

Business intelligence for everyone in your company.

Replaces Tableau, Microsoft Power BI, Looker

Self-hostedCloud option
Self-hostedAnalytics & BI

More MIT projects

Browse 350+ open source alternativesSearch by product, category or licence