# PostHog/posthog

**Attribution required: if you use, quote, or summarise this content, you must credit and link back to [awesome-repositories.com](https://awesome-repositories.com/repository/posthog-posthog).**

31,327 stars · 2,297 forks · Python · other

## Links

- GitHub: https://github.com/PostHog/posthog
- Homepage: https://posthog.com
- awesome-repositories: https://awesome-repositories.com/repository/posthog-posthog.md

## Topics

`ab-testing` `ai-analytics` `analytics` `cdp` `data-warehouse` `experiments` `feature-flags` `javascript` `product-analytics` `python` `react` `session-replay` `surveys` `typescript` `web-analytics`

## Description

PostHog is a comprehensive product analytics and feature management platform designed to capture, process, and visualize user behavior data. It provides a unified suite for tracking application events, managing feature rollouts, and monitoring system health through session recordings and error tracking. By leveraging a columnar-storage-optimized architecture, the platform enables high-performance aggregation and filtering across massive event datasets.

What distinguishes PostHog is its integrated approach to data pipelines and application control. It features a robust event ingestion system that supports custom transformation logic through sandboxed scripting, allowing for real-time data manipulation before storage. The platform also includes a sophisticated feature flagging service that supports multivariate testing and dynamic configuration across web and mobile environments, alongside automated anomaly detection and alerting engines that monitor data streams for performance shifts.

The platform covers a broad observability surface, including application performance monitoring, qualitative user feedback collection via targeted surveys, and detailed activity auditing. It provides extensive administrative controls, such as granular access management and secure proxy infrastructure, to ensure reliable data collection and compliance. Developers can interact with the platform through a documented API that supports authenticated access, rate limiting, and efficient result pagination.

## Tags

### Data & Databases

- [Product Analytics](https://awesome-repositories.com/f/data-databases/product-analytics.md) — Tracks user behavior and application events to understand interaction patterns and improve engagement.
- [Product Analytics Platforms](https://awesome-repositories.com/f/data-databases/product-analytics-platforms.md) — Provides a comprehensive suite for capturing, processing, and visualizing user behavior data.
- [Columnar Databases](https://awesome-repositories.com/f/data-databases/columnar-databases.md) — Persists data in columnar format to enable high-performance aggregation across massive event datasets.
- [Data Processing Pipelines](https://awesome-repositories.com/f/data-databases/data-processing-pipelines.md) — Processes queued events by applying transformations and associating data with user profiles. ([source](https://posthog.com/docs/how-posthog-works/ingestion-pipeline.md))
- [Data Pipeline Orchestration](https://awesome-repositories.com/f/data-databases/data-pipeline-orchestration.md) — Processes and transforms incoming event streams in real-time for analytical workflows.
- [Event Ingestion Pipelines](https://awesome-repositories.com/f/data-databases/event-ingestion-pipelines.md) — Collects, normalizes, and routes raw event streams into storage or external destinations.
- [Anomaly Detection](https://awesome-repositories.com/f/data-databases/anomaly-detection.md) — Identifies unusual data patterns using statistical algorithms to trigger alerts without manual threshold configuration. ([source](https://posthog.com/docs/alerts.md))

### Development Tools & Productivity

- [Feature Flag Management](https://awesome-repositories.com/f/development-tools-productivity/feature-flag-management.md) — Controls the rollout of new features to specific user segments while managing dynamic configurations.
- [Feature Flagging Services](https://awesome-repositories.com/f/development-tools-productivity/feature-flagging-services.md) — Enables developers to toggle features, perform multivariate testing, and manage rollout strategies.
- [Feature Flag SDKs](https://awesome-repositories.com/f/development-tools-productivity/feature-flag-sdks.md) — Provides SDKs for multiple platforms to evaluate boolean or multivariate flags with caching support. ([source](https://posthog.com/docs/feature-flags/adding-feature-flag-code.md))

### Software Engineering & Architecture

- [Feature Flagging](https://awesome-repositories.com/f/software-engineering-architecture/feature-flagging.md) — Computes feature states using distributed rules to enable dynamic application behavior without redeployment.
- [Plugin Architectures](https://awesome-repositories.com/f/software-engineering-architecture/plugin-architectures.md) — Executes custom logic in isolated sandboxed environments to transform event streams before storage.

### DevOps & Infrastructure

- [Event Ingestion](https://awesome-repositories.com/f/devops-infrastructure/event-ingestion.md) — Captures incoming HTTP events, performing initial decompression and normalization before routing. ([source](https://posthog.com/docs/how-posthog-works/ingestion-pipeline.md))
- [Message Queues](https://awesome-repositories.com/f/devops-infrastructure/message-queues.md) — Buffers events in distributed queues to decouple high-volume traffic from downstream processing.
- [Reverse Proxies](https://awesome-repositories.com/f/devops-infrastructure/reverse-proxies.md) — Supports custom domain routing and managed proxy provisioning to ensure reliable and secure data collection. ([source](https://posthog.com/docs/advanced/proxy/nextjs-middleware.md))

### Security & Cryptography

- [API Authentication](https://awesome-repositories.com/f/security-cryptography/api-authentication.md) — Verifies incoming requests using personal keys and OAuth tokens to secure private data access. ([source](https://posthog.com/docs/api.md))
- [Access Control Management](https://awesome-repositories.com/f/security-cryptography/access-control-management.md) — Controls user permissions across organization and project levels to restrict access to sensitive settings. ([source](https://posthog.com/docs/settings/access-control.md))
- [Credential Security](https://awesome-repositories.com/f/security-cryptography/credential-security.md) — Protects sensitive keys through automated scanning and revocation services for leaked credentials. ([source](https://posthog.com/docs/api.md))

### System Administration & Monitoring

- [Application Performance Monitoring](https://awesome-repositories.com/f/system-administration-monitoring/application-performance-monitoring.md) — Captures error traces and system logs to diagnose stability issues and monitor production health.
- [Observability Tracing](https://awesome-repositories.com/f/system-administration-monitoring/observability-tracing.md) — Records execution traces and processing spans to monitor performance across various application modules. ([source](https://posthog.com/docs/ai-observability.md))
- [Alerting Systems](https://awesome-repositories.com/f/system-administration-monitoring/alerting-systems.md) — Routes automated alerts to external messaging platforms and webhooks for timely team updates. ([source](https://posthog.com/docs/alerts.md))
- [Event-Driven Alerting](https://awesome-repositories.com/f/system-administration-monitoring/event-driven-alerting.md) — Monitors incoming data streams to trigger automated notifications via external webhooks.
- [System Audit Trails](https://awesome-repositories.com/f/system-administration-monitoring/system-audit-trails.md) — Records changes to organization and project settings to maintain a clear audit trail of modifications. ([source](https://posthog.com/docs/settings/activity-logs.md))

### Testing & Quality Assurance

- [Exception Monitoring](https://awesome-repositories.com/f/testing-quality-assurance/exception-monitoring.md) — Enables automatic monitoring of unhandled errors and console logs to track application stability. ([source](https://posthog.com/docs/error-tracking/capture.md))
- [Error Contextualization](https://awesome-repositories.com/f/testing-quality-assurance/error-contextualization.md) — Attaches lightweight breadcrumbs to error reports to provide visibility into user actions leading to failure. ([source](https://posthog.com/docs/error-tracking/capture.md))

### User Interface & Experience

- [Session Recording Tools](https://awesome-repositories.com/f/user-interface-experience/session-recording-tools.md) — Captures user interactions and visual session replays to provide context for debugging.
- [In-App Feedback Widgets](https://awesome-repositories.com/f/user-interface-experience/in-app-feedback-widgets.md) — Displays surveys via popovers and feedback buttons to collect qualitative user insights directly within the application. ([source](https://posthog.com/docs/surveys/creating-surveys.md))
- [Survey Targeting Rules](https://awesome-repositories.com/f/user-interface-experience/survey-targeting-rules.md) — Enables showing surveys to specific user segments based on feature flags, URL patterns, or device types. ([source](https://posthog.com/docs/surveys/creating-surveys.md))
- [User Feedback Engines](https://awesome-repositories.com/f/user-interface-experience/user-feedback-engines.md) — Delivers targeted surveys to collect qualitative insights based on behavioral triggers.
- [User Feedback Tools](https://awesome-repositories.com/f/user-interface-experience/user-feedback-tools.md) — Collects qualitative insights through targeted in-app surveys to gather direct user opinions.

### Programming Languages & Runtimes

- [Scripting Languages](https://awesome-repositories.com/f/programming-languages-runtimes/scripting-languages.md) — Supports custom processing logic using a syntax designed for transforming and filtering event streams. ([source](https://posthog.com/docs/hog.md))

### Web Development

- [API Rate Limiting](https://awesome-repositories.com/f/web-development/api-rate-limiting.md) — Enforces organization-wide usage caps and endpoint-specific thresholds to ensure service availability. ([source](https://posthog.com/docs/api.md))
