posthog  by PostHog

Open-source platform for product analytics

created 5 years ago
28,049 stars

Top 1.4% on sourcepulse

GitHubView on GitHub
Project Summary

PostHog is an open-source, self-hostable platform for product development, offering integrated tools for analytics, session recording, feature flagging, A/B testing, error tracking, surveys, and LLM observability. It targets product managers, engineers, and data analysts seeking to understand user behavior, optimize features, and improve product performance. The primary benefit is a comprehensive, unified suite of tools that can be self-hosted or used via a generous free tier on their cloud offering.

How It Works

PostHog employs an event-based data model, allowing users to capture user interactions either automatically via a JavaScript snippet or through manual instrumentation with various SDKs. This data fuels its suite of tools, from detailed product analytics and session replays to sophisticated feature flagging and experimentation capabilities. The platform's advantage lies in its integrated nature, providing a single source of truth for product insights and development workflows, reducing the need for multiple disparate tools.

Quick Start & Requirements

Highlighted Details

  • All-in-one platform: Product analytics, web analytics, session replays, feature flags, experiments, error tracking, surveys, data warehouse, data pipelines, and LLM observability.
  • Generous free tier for cloud offering (1M events, 5k recordings, etc. per month).
  • Supports a wide range of frontend, mobile, and backend SDKs and integrations.
  • Open-sourced company handbook detailing strategy and processes.

Maintenance & Community

  • Active development with numerous contributors.
  • Community links: Community, Roadmap.

Licensing & Compatibility

  • Core repository is MIT licensed.
  • ee directory has a separate license (details in README).
  • A fully FOSS version is available at posthog-foss.
  • Compatible with commercial and closed-source applications.

Limitations & Caveats

Self-hosted hobby deployments are recommended for up to ~100k events/month; larger scale requires migration to PostHog Cloud. No customer support or guarantees are provided for open-source deployments.

Health Check
Last commit

17 hours ago

Responsiveness

1 day

Pull Requests (30d)
1,302
Issues (30d)
274
Star History
1,975 stars in the last 90 days

Explore Similar Projects

Starred by Chip Huyen Chip Huyen(Author of AI Engineering, Designing Machine Learning Systems), Samuel Colvin Samuel Colvin(Author of Pydantic, Pydantic Logfire, PydanticAI), and
7 more.

free-for-dev by ripienaar

0.6%
108k
List of free dev resources (SaaS, PaaS, IaaS)
created 10 years ago
updated 4 days ago
Feedback? Help us improve.