PostHog AB test name

Clear PostHog Experiment naming helps your team quickly understand each test’s purpose, scope, and context—without digging into the details. We use the following guidelines to create consistent and meaningful experiment names.
If you want to learn how to create an experiment in PostHog from scratch, click the link.

Experiment Naming Structure

We use this general format:
[Experiment number] – [Step of the Funnel/Page] – [Test Hypothesis]
Experiment number: Use a sequential number to keep track of experiments easily (e.g., 001, 002, 003).
Step of the Funnel/Page: Identify where in the user journey the experiment is running (e.g., Homepage, Signup, Checkout, Onboarding).
Test Hypothesis: Describe what’s being tested in a few words (e.g., CTA Text, Modal Design, Pricing Layout).

Feature Flag Naming Structure

We use something very similar to the Experiment name, with a few changes—like converting the step of the funnel/page into a number or abbreviation, removing spaces, and keeping everything lowercase for easier implementation in code.

Examples

Experiment Names:
010 – Pricing Page – Toggle Design
015 – Onboarding – Welcome Modal

Feature Flags:
010- pricing-page-toggle-design
015-onboarding-welcome-modal

Note: We use 3-digit numbers to ensure we won’t run out of unique test identifiers in the future.

Best Practices

  • Be specific: Avoid vague names like “Test 1” or “Homepage Experiment.” They’re hard to track later.
  • Keep it short but descriptive: Aim for clarity without over-explaining.
  • Use consistent terms: Align naming across experiments.
Don’t Miss These

We’ve also explained how to run an A/B test in WordPress and Shopify, in case you need it.

Similar Posts

Leave a Reply

Your email address will not be published. Required fields are marked *