PostHog
PlatformOpen-source product analytics with session replay, feature flags and A/B tests
- Price
- Free tier, then paid
- Access
- Project token
About
Product analytics suite that also covers session replay, feature flags, experiments, surveys and error tracking, with SDKs for web, mobile and backend. PostHog Cloud runs in the US or EU; the MIT-licensed self-hosted version is officially unsupported.
What you can do with it
- Track events and analyze funnels, retention and user paths
- Record and replay user sessions to debug UX issues
- Use feature flags, web analytics, surveys and error tracking in your app
Get started
- Create a PostHog Cloud project in the US or EU region
- Copy the project token from the project settings
Example
# EU Cloud uses https://eu.i.posthog.com
curl -L https://us.i.posthog.com/i/v0/e/ \
-H "Content-Type: application/json" \
-d '{"api_key":"'"$POSTHOG_PROJECT_TOKEN"'","event":"signed_up",
"distinct_id":"user-123","properties":{"account_type":"pro"}}'Details
- Hosting
- Hosted service, Self-hosted
- Available in
- Worldwide
- Official SDKs
- JavaScript/TypeScript, Python, Go, Java, Ruby, PHP, C#, Swift, Kotlin, Dart, Elixir, Rust
- MCP server
- Remote