How can I tell if a user was in the original or variant group of my A/B test?

In most reports, the quickest way to analyze Events and compare impacts based on which variant the user received is to use the Experiments Property. This Property is readily available in your Funnels, Retention, and Formulas report.

For example, here is the Property as it appears in the Formulas report:

alt text

The Experiments Property shown above is also available in Segmentation. However, rather than a human-readable name, the Property reflects the numeric Experiment ID and the Variant IDs.

To find the Experiment ID and Variant IDs for your A/B test for use in Segmentation:

  1. Click on the A/B Testing tab in your project.
  2. Click the Analytics icon for the experiment you'd like to analyze.
    alt text
  3. The last number in the URL is the Experiment ID. For example: mixpanel.com/report/your_project_id/ab_test/#analytics/experiment_id mixpanel.com/report/123/ab_test/#analytics/678
  4. To get the Variant IDs, from the same page, open your developer console (Mac: option + command + j on Google Chrome).
  5. Search for “segmentation” under Network, and the Variant IDs will show under Preview:
    alt text

One you know the Experiment ID and Variant IDs, you can segment by those values in your reports to understand which users were in the original or variant of your test and do further analysis on your experiments.

Learn more about Events and Properties sent by default with A/B tests.