posthog
by PostHog
PostHog is a platform that records how people use your website or app, covering analytics, session recordings, feature flags, experiments, surveys and error tracking in one place. It helps teams understand user behaviour, test changes and fix problems, with an AI assistant to query the data.
- Stars
- 40.5k +7 a day
- Licence
- MIT
- Runs on
- A cloud service
- Setup
- Moderate
- Language
- Python
- Age
- 2468 days
What you can do with it
- Track website and app traffic, conversions and user behaviour with dashboards or SQL
- Watch recordings of real user sessions and see where people click and get stuck
- Roll out new features to selected users with flags and run A/B tests or surveys
Could replace
- Mixpanel
- Hotjar
Our suggestion based on what it does, not a feature-by-feature comparison.
Make money with it
A freelancer could offer conversion-rate audits and analytics set-up to small businesses, using PostHog recordings, funnels and experiments to show what to improve.
An idea, not financial advice. Check the licence before charging for anything built on it.
Ways a business could use it
- Replace several separate paid tools for analytics, session recordings, surveys and A/B testing with one platform on the free tier
- Find where customers drop out of a sign-up or checkout flow and test fixes to raise conversions
Can you use it commercially?
Free to use, change and sell (MIT-style terms in the licence file). Some folders may carry other terms.
Not legal advice. Read the project's licence file before building a product on it.
Getting it running
The easiest route is signing up for PostHog Cloud and adding a code snippet or SDK to your site; self-hosting is possible through a "hobby deploy" but is marked as advanced.
Follow the official instructions in the project README.
Things to check
- Licence is not clearly stated (reported as NOASSERTION), and some features may be paid or under a separate licence
- Cloud use is charged by usage once the free tier is exceeded
- Self-hosting is advanced and the hobby deploy is not the recommended route
- Session recording and tracking raise privacy and consent obligations such as GDPR
Checked 27 Oct 2026. Summary drafted by AI from the project's README.