# PostHog > Open-source product analytics platform with session replay, feature flags, A/B testing, and surveys for building better products. PostHog is an open-source product analytics platform that helps teams understand user behavior and build better products. It provides a comprehensive suite of tools including product analytics, session replay, feature flags, A/B testing, and surveys—all in one platform. PostHog enables engineering and product teams to capture events, analyze user journeys, and make data-driven decisions without sending data to third parties. - **Product Analytics** - Track user events, create funnels, and analyze retention to understand how users interact with your product and identify areas for improvement. - **Session Replay** - Watch real user sessions to see exactly how people use your product, identify UX issues, and debug problems faster. - **Feature Flags** - Roll out new features safely with targeted releases, percentage rollouts, and instant rollbacks without redeploying code. - **A/B Testing** - Run experiments to test hypotheses and measure the impact of changes on key metrics before full deployment. - **Surveys** - Collect qualitative feedback directly from users within your product to understand their needs and pain points. - **Data Warehouse** - Query your product data alongside external data sources using SQL for deeper analysis and custom reporting. - **Self-Hosted Option** - Deploy PostHog on your own infrastructure for complete data control and compliance requirements. - **Event Autocapture** - Automatically capture frontend events without manual instrumentation to get started quickly. - **API and Integrations** - Connect PostHog with your existing tools through APIs and pre-built integrations with popular platforms. To get started, sign up for PostHog Cloud or self-host the open-source version. Install the JavaScript snippet or SDK in your application to begin capturing events automatically. Use the intuitive dashboard to create insights, build funnels, and analyze user behavior patterns. ## Features - Product Analytics - Session Replay - Feature Flags - A/B Testing - Surveys - Data Warehouse - Event Autocapture - Funnels - Retention Analysis - User Paths - Cohorts - SQL Access - Self-Hosting Option - API Access - Heatmaps ## Integrations Slack, GitHub, Zapier, Segment, Sentry, Stripe, HubSpot, Salesforce, BigQuery, Snowflake, Redshift, S3 ## Platforms WEB, API, DEVELOPER_SDK ## Pricing Open Source, Free tier available ## Links - Website: https://posthog.com - Documentation: https://posthog.com/docs - Repository: https://github.com/PostHog/posthog - EveryDev.ai: https://www.everydev.ai/tools/posthog