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.

23 articles 33.3k View on GitHub ↗
23 articles
How PostHog's Product Isolation Architecture Works: Facades and Contracts Explained

Understand PostHog's product isolation architecture. Learn how frozen dataclass contracts and facade APIs create strict boundaries for seamless cross-product communication.

architecture
Apr 25, 2026
How PostHog Experiments Statistical Analysis Calculates Significance: A Bayesian Deep Dive

Discover how PostHog calculates experiment significance using Bayesian methods and win probability. Learn about posterior sampling for count, continuous, and funnel metrics. Skip p-values.

deep-dive
Apr 25, 2026
How to Create and Run Asynchronous Migrations in PostHog

Dynamically build PostHog asynchronous migrations. Learn to subclass AsyncMigrationDefinition, implement operations, and run migrations via the CLI or UI for efficient data handling.

how-to-guide
Apr 25, 2026
How Session Replay Recording and Storage Works in PostHog: A Technical Deep Dive

Discover how PostHog handles session replay recording and storage. Learn about event capture, Kafka streaming, S3 batching, and ClickHouse metadata persistence for efficient querying.

deep-dive
Apr 25, 2026
How to Use Hog Functions for Data Transformations and CDP in PostHog

Learn 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-to-guide
Apr 25, 2026
How PostHog’s Data Warehouse Syncs External Sources: A Temporal-Driven Architecture

Discover how PostHog's Data Warehouse syncs external sources like Stripe and Postgres to ClickHouse using Temporal schedules and declarative models. Learn about its architecture.

architecture
Apr 25, 2026
How to Implement Real-Time In-App Notifications in PostHog

Implement real-time in-app notifications using PostHog's powerful system. Leverage Django, Kafka, Redis, and SSE for instant alerts without polling.

how-to-guide
Apr 25, 2026
How the PostHog MCP Server Exposes Tools: Registration Flow and HTTP Endpoints

Discover how the PostHog MCP server exposes tools through its registration flow and HTTP endpoints. Learn about the REST API for accessing tools.

how-to-guide
Apr 25, 2026
How PostHog Handles Temporal Workflow Activity Payloads and Limits: Avoiding the 2 MiB Constraint

PostHog 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.

deep-dive
Apr 25, 2026
How to Create and Run Django Migrations Safely: A PostHog Production Guide

Safely 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.

best-practices
Apr 25, 2026
How to Use the PersonHog gRPC Client for Person and Group Data Access in PostHog

Learn 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-to-guide
Apr 25, 2026
How API Rate Limiting Works with django-axes in PostHog

Learn 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.

how-to-guide
Apr 25, 2026

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:

Share the following with your agent to get started:
curl -s "https://instagit.com/install.md"

Works with
Claude Codex Cursor VS Code OpenClaw Any MCP Client

Maintain an open-source project? Get it listed too →