Get started – free
  • Home
  • Self-driving product
  • Context warehouse
  • Pricing
  • Docs
  • Demo
  • Talk to a human
  • Why PostHog?
  • Changelog
  • Company handbook
  • Store
  • Careers
  • Trash
  • Home
  • Self-driving product
  • Context warehouse
  • Pricing
  • Docs
  • Demo
  • Talk to a human
  • Why PostHog?
  • Changelog
  • Company handbook
  • Store
  • Careers
  • Trash
Experiments
Overview
Getting started
Start here
Installation
Creating an experiment
Adding your code
Testing and launching
Analyzing results
Managing lifecycle
No-code experimentsBeta
Concepts
Traffic allocation
Exposures
Metrics
Running time
Bayesian statistics
Frequentist statistics
CUPED
Holdouts
Guides
A/B testing promptsBeta
Tracking long-term metrics
Changing distribution after rollout
Experiments without Feature Flags
New user experiments
A/A testing
A/B/n testing
Holdout testing
Redirect testing
Fake door test
LLM A/B tests
Data Warehouse experimentsBeta
Tutorials and framework guides
PostHog AI
Analyze experiments with PostHog AI
Create experiments with MCP
Resources
Best practices
Troubleshooting
Changelog

Tutorials and guides

Contents

Got a question which isn't answered below? Head to the community forum to let us know!

  • How to run experiments on new users
  • How to do A/A testing
  • How to do A/B/n testing
  • How to do holdout testing
  • How to do redirect testing
  • How to run a fake door test
  • How to A/B test LLM models and prompts

Framework guides

  • How to run A/B tests in Android
  • How to run A/B tests in Angular
  • How to run A/B tests in Astro
  • How to run A/B tests in Bubble
  • How to run A/B tests in Django
  • How to run A/B tests in Flutter
  • How to run A/B tests in Framer
  • How to run A/B tests in iOS
  • How to run A/B tests in Go
  • How to run A/B tests in Laravel
  • How to run A/B tests in Next.js
  • How to run A/B tests in Node.js (Express)
  • How to run A/B tests in Nuxt
  • How to run A/B tests in PHP
  • How to run A/B tests in Python
  • How to run A/B tests in React
  • How to run A/B tests in React Native
  • How to run A/B tests in Remix
  • How to run A/B tests in Ruby on Rails
  • How to run A/B tests in Svelte
  • How to run A/B tests in Vue
  • How to run A/B tests in Webflow
  • How to run A/B tests in Python

Best practices

Learn more about A/B testing best practices from our blogs below:

  • A beginners guide to A/B testing
  • A software engineer's guide to A/B testing
  • 8 annoying A/B testing mistakes every engineer should know
  • When and how to run group-targeted A/B tests

Community questions

Was this page useful?

Jump to: