• Why PostHog?
  • Products
  • Pricing
  • Docs
  • Community
  • Company
Get started
  • Product OS
  • Product analytics
  • Web analytics
  • Session replay
  • Feature flags
  • Experiments
  • Error tracking
  • Surveys
  • Data pipelines
  • Data warehouse
  • LLM observability
  • Max AI
  • Docs

  • Overview
  • Integration

  • Install and configure
    • Install PostHog
    • Send events
    • Identify users
    • Deploy a proxy
    • Next steps
  • SDKs
    • SDK comparison
    • JavaScript Web Popular
      • Setup
      • Features
      • Configuration
      • Persistence
    • Android Popular
    • Capacitor 3rd party
    • Elixir
    • Flutter
    • Go
    • iOS Popular
    • Java Beta
    • Node.js
    • PHP
    • Python
    • React Popular
    • React Native Popular
    • Ruby
    • Rust 3rd party
    • C#/.NET
  • Frameworks
    • Overview
    • Angular
    • Astro
    • Bubble
    • Django
    • Docusaurus
    • Flask
    • Framer
    • Gatsby 3rd party
    • Google Tag Manager
    • Hono
    • Laravel
    • Next.js
    • Nuxt.js
    • n8n
    • Phoenix
    • Remix
    • Retool
    • RudderStack
    • Segment
    • Sentry
    • Shopify 3rd party
    • Svelte
    • Vue.js
    • Webflow
    • WooCommerce
    • WordPress
  • API
    • Overview
    • Popular

    • Capture
    • Decide
    • Queries
    • More endpoints

    • Actions
    • Activity log
    • Annotations
    • Batch exports
    • Cohorts
    • Dashboards
    • Dashboard templates
    • Early access features
    • Environments
    • Event definitions
    • Events
    • Experiments
    • Feature flags
    • Groups
    • Groups types
    • Hog functions
    • Insights
    • Invites
    • Members
    • Notebooks
    • Organizations
    • Persons
    • Projects
    • Property definitions
    • Query
    • Roles
    • Session recordings
    • Session recording playlists
    • Sessions
    • Subscriptions
    • Surveys
    • Users
    • Data model
  • Advanced
    • Using a Customer Data Platform
    • Using Content Security Policies
    • Browser extensions
    • Enabling beta features
    • Data import and export
    • Ingestion warnings
  • Winning with PostHog

  • Getting HogPilled
  • Measuring activation
  • Tracking retention
  • Capturing revenue
  • Switching to PostHog
    • Convincing teammates
    • Planning your pilot
    • What to expect when migrating
  • PostHog explained

  • What is Product OS?
  • Data types
    • Your data in PostHog
    • Events
    • Anonymous vs identified events
    • Actions
    • People
    • Cohorts
    • Sessions
    • Annotations
    • Data management
    • Properties
      • Ecommerce events spec
      • Channel type
      • Timestamps
      • UTM segmentation
  • Tools and features
    • Max AI
    • Toolbar
    • Heatmaps
    • Notebooks
    • Organizations
    • Projects
    • Hog
    • SQL access
      • Overview
      • SQL expressions
      • Supported functions
      • Supported aggregations
      • Variables
      • Tutorials
    • Access control
    • SSO & SAML
    • Command palette
    • Account settings
  • Resources

    • Overview
      • Instance settings
      • Environment variables
      • Securing PostHog
      • Running behind a proxy
      • Configuring email
      • Configuring Slack
    • Troubleshooting and FAQs
    • Support
    • Disclaimer
  • Migrate
    • Overview
    • Migrate to PostHog Cloud
    • Migrate from Amplitude
    • Migrate from Google Analytics
    • Migrate from Heap
    • Migrate from LaunchDarkly
    • Migrate from Matomo
    • Migrate from Mixpanel
    • Migrate from Pendo
    • Migrate from Plausible
    • Migrate from Statsig
  • Reverse proxy
    • Managed reverse proxy
    • AWS CloudFront
    • Caddy
    • Cloudflare
    • Kubernetes
    • Netlify
    • Next.js
    • Next.js middleware
    • nginx
    • Nuxt
    • Pomerium
    • Remix
    • SvelteKit
    • Vercel
    • Billing limits and alerts
    • Estimating usage and costs
    • Annual plans
    • Common questions about billing
    • Overview
    • GDPR guidance
    • HIPAA guidance
    • CCPA guidance
    • SOC 2
    • Data egress & compliance
    • Data deletion
    • Ad blockers
  • Contribute
    • Overview
    • Code of conduct
    • Recognizing contributions
    • Badge
    • Overview
    • Data model: fields
    • Ingestion pipeline
    • ClickHouse
    • Querying data
    • Session replay
  • Support options
  • Glossary

Framework guides

PostHog works with most popular web frameworks and services.

Library

  • Angular
  • Astro
  • Bubble
  • Django
  • Docusaurus
  • Flask
  • Framer
  • Gatsby
  • Google Tag Manager
  • Hono
  • Laravel
  • Next.js
  • Nuxt.js
  • n8n
  • Phoenix
  • Remix
  • Retool
  • RudderStack
  • Segment
  • Sentry
  • Slack
  • Shopify
  • Svelte
  • Vue.js
  • Webflow
  • WooCommerce
  • WordPress

Interested in writing a framework guide? Submit a PR to our website repo on GitHub.

  • Products

  • All products
  • Max AI
  • Product analytics
  • Web analytics
  • Session replay
  • Feature flags
  • Error tracking
  • Experiments
  • Surveys
  • Product OS
  • Data connections
  • Customer stories
  • PostHog vs...
  • For startups
  • Pricing
  • How we do "sales"
  • Founder stack
  • Product OS

  • New? Start here.
  • SDKs
  • Framework guides
  • Data management
  • SQL access
  • Toolbar
  • API
  • Docs

  • Product analytics
  • Session replay
  • Feature flags
  • Error tracking
  • Experiments
  • Surveys
  • CDP
  • Data warehouse
  • Migrate
  • Community

  • Questions?
  • Guides
  • Integrations
  • Dashboard templates
  • Founders
  • Product engineers
  • Tracks
  • Merch
  • Contributors
  • Newsletter
  • PostHog FM
  • PostHog on GitHub
  • Cool tech jobs
  • Handbook

  • Why we're here
  • Our story
  • How we work
  • Values
  • Tips for working here
  • Team structure
  • Engineering
  • Design
  • Marketing
  • Company

  • About
  • Roadmap
  • Changelog
  • People
  • Small teams
  • Blog
  • Investors
  • Press
  • FAQ
  • Security
  • Support
  • Careers
© 2025 PostHog, Inc.
  • System status
  • 👉Generate a DPA👈(It's guaranteed fun!)
  • SOC 2
  • HIPAA
  • Privacy policy
  • Terms
  • Product OS
  • Product analytics
  • Web analytics
  • Session replay
  • Feature flags
  • Experiments
  • Error tracking
  • Surveys
  • Data pipelines
  • Data warehouse
  • LLM observability
  • Max AI
  • Why PostHog?
  • Products
  • Pricing
  • Docs
  • Community
  • Company