# Run an A/B test

> Test a different product, price or wording against your current offer and keep the one that earns more.

Source: https://help.attravo.com/post-purchase-upsell/articles/run-an-ab-test
Updated: 2026-10-06

An A/B test shows two or more versions of one step to different customers, so you learn which product, discount or wording earns more instead of guessing. A/B testing comes with the Scale and Enterprise plans.

## Add a version

1. Open the offer and, under **Versions**, select **Add a version to test**.

![Versions, with only version A, and Add a version to test highlighted](https://xprvgpfulbcxrftgyppu.supabase.co/storage/v1/object/public/help-media/5d8df30e-32a3-4311-b03c-158adc08841b/fd2105e9-1c4a-4e4a-8037-4b3b60e781d9/ab-1-add-version-0d952f2d97.webp#w=1122&h=562)

2. The new version starts as a copy of version A, open for editing. Change its product, discount or wording.
3. Set each version's **Traffic weight**. Weights are relative, so 100 and 100 split customers evenly, and they do not need to add up to 100.
4. Select **Save** at the top of the window.

![Version A and version B, each at 50% of customers](https://xprvgpfulbcxrftgyppu.supabase.co/storage/v1/object/public/help-media/5d8df30e-32a3-4311-b03c-158adc08841b/fd2105e9-1c4a-4e4a-8037-4b3b60e781d9/ab-2-two-versions-cca9481de9.webp#w=1122&h=1342)

Select **Edit version A** to switch back to a version. You can test up to five versions at once, and **Remove** takes a version out of the test.

## How customers are split

- Each order always sees the same version, even on a reload or a return visit to the order status page, so results stay clean.
- The post-purchase page always shows version A.
- A version with a weight of 0 gets no traffic. Every version at 0 stops the save.

## On plans without A/B testing

On Free and Growth, **Add a version to test** is disabled, and the window names the plan that adds it.

![Versions on the Free plan, with A/B testing named as part of Scale](https://xprvgpfulbcxrftgyppu.supabase.co/storage/v1/object/public/help-media/5d8df30e-32a3-4311-b03c-158adc08841b/fd2105e9-1c4a-4e4a-8037-4b3b60e781d9/ab-3-plan-7899b764e1.webp#w=1122&h=654)

After moving down to a plan without A/B testing, your versions stay saved and every customer sees version A until you move back up.

## Read the result

Results for each version, and the winner once there is one, are on **Performance**. See [Read A/B test results](https://help.attravo.com/post-purchase-upsell/articles/read-ab-test-results.md).
