posthog
🦔 PostHog is an all-in-one developer platform for building successful products. We offer product analytics, web analytics, session replay, error tracking, feature flags, experimentation, surveys, data warehouse, a CDP, and an AI product assistant to help debug your code, ship features faster, and keep all your usage and customer data in one stack.
Understand PostHog's product isolation architecture. Learn how frozen dataclass contracts and facade APIs create strict boundaries for seamless cross-product communication.
How PostHog Experiments Statistical Analysis Calculates Significance: A Bayesian Deep DiveDiscover how PostHog calculates experiment significance using Bayesian methods and win probability. Learn about posterior sampling for count, continuous, and funnel metrics. Skip p-values.
How to Create and Run Asynchronous Migrations in PostHogDynamically build PostHog asynchronous migrations. Learn to subclass AsyncMigrationDefinition, implement operations, and run migrations via the CLI or UI for efficient data handling.
How Session Replay Recording and Storage Works in PostHog: A Technical Deep DiveDiscover how PostHog handles session replay recording and storage. Learn about event capture, Kafka streaming, S3 batching, and ClickHouse metadata persistence for efficient querying.
How to Use Hog Functions for Data Transformations and CDP in PostHogLearn how to use Hog Functions for real-time data transformations and CDP in PostHog. Unlock custom code, external destinations, and site apps without extra infrastructure.
How PostHog’s Data Warehouse Syncs External Sources: A Temporal-Driven ArchitectureDiscover how PostHog's Data Warehouse syncs external sources like Stripe and Postgres to ClickHouse using Temporal schedules and declarative models. Learn about its architecture.
How to Implement Real-Time In-App Notifications in PostHogImplement real-time in-app notifications using PostHog's powerful system. Leverage Django, Kafka, Redis, and SSE for instant alerts without polling.
How the PostHog MCP Server Exposes Tools: Registration Flow and HTTP EndpointsDiscover how the PostHog MCP server exposes tools through its registration flow and HTTP endpoints. Learn about the REST API for accessing tools.
How PostHog Handles Temporal Workflow Activity Payloads and Limits: Avoiding the 2 MiB ConstraintPostHog bypasses Temporal's 2 MiB payload limit by storing large data externally and returning references. Learn how this ensures reliable background job execution for data-intensive tasks.
How to Create and Run Django Migrations Safely: A PostHog Production GuideSafely create and run Django migrations with PostHog's production guide. Learn a multi-phase strategy to separate code and database ops, prevent downtime, and deploy zero-downtime changes.
How to Use the PersonHog gRPC Client for Person and Group Data Access in PostHogLearn to use the PersonHog gRPC client for efficient person and group data access in PostHog. This guide covers initialization, feature gate checks, RPC calls, and model conversion.
How API Rate Limiting Works with django-axes in PostHogLearn how PostHog secures authentication with django-axes API rate limiting. Discover automatic lockout after 30 failed attempts per IP or username to prevent brute-force attacks.
Have a question about this repo?
These articles cover the highlights, but your codebase questions are specific. Give your agent direct access to the source. Share this with your agent to get started:
curl -s "https://instagit.com/install.md" Maintain an open-source project? Get it listed too →