Traffic split and audience targeting
Split visitors between variants by percentage, or target variants with AND/OR rules on market, country, language, device OS and logged-in status.
On this page
On a test’s Targeting tab, choose how visitors are assigned to variants. There are two distribution methods. The one in use is marked Active; if you switch, an Unsaved badge reminds you to click Save to apply it.
Traffic split
Every visitor enters the test and is randomly assigned a variant by percentage.
- Choose Traffic split.
- Set a percentage for each variant, or drag the slider. The total must reach 100%.
- Click Save.

Audience targeting
Give a variant to the shoppers who match its conditions. Everyone else goes to the variants without conditions.
- Choose Audience.
- On a variant, click + Add condition, then pick a condition, an operator such as is any of, and the values.
- To add more conditions, click + Add condition again and choose AND (both conditions must match) or OR (either can match).
- Optionally, leave a variant with no conditions as the default for everyone who doesn’t match. If every variant has conditions, the Fallback traffic split shares out the rest.
- Click Save.

How visitors are matched
Variants are checked in order: A, then B, then C. A visitor gets the first variant whose conditions they match. Anyone who matches none gets a variant without conditions. The count above the variants, such as 1 of 2 variants targeted, shows how many have conditions.
Fallback traffic split
Visitors who don’t match a targeted variant are shared out by the Fallback traffic split: between the variants without conditions, or between all variants if every variant has conditions. It isn’t used for visitors who match a variant’s conditions, and existing visitors keep their current variant.
Conditions you can use
| Condition | Operator | Example use |
|---|---|---|
| Market | is any of / is none of | A different cart per Shopify Market |
| Country | is any of / is none of | A goal only where you can afford the reward |
| Language | is any of / is none of | Cart text written for each language |
| Device OS | is any of / is none of: iOS / iPadOS, Android, Windows, macOS, Linux, ChromeOS, Other | A simpler cart on phones |
| Logged-in status | is: Logged in, or Logged out (guest) | A loyalty gift for signed-in customers |
A variant can have up to 20 conditions. Within a variant, AND binds tighter than OR: “Country is India AND Device OS is iOS OR Logged in” means (India and iOS) or logged in.
Was this page helpful?
Thanks for letting us know.
Sorry about that. Tell us what was missing and we'll fix the page.