Filter specific audiences with advanced test settings. See which filters are available for each test type and how to configure them.
Available audience settings by test type
Different test types support different targeting options. Here's what's available:
Test Type | Country | Traffic Source | New vs Returning | Device | Cookie |
Price Test | ✅ | ✅ | ✅ | ❌ | ❌ |
PDP Content Test | ❌ | ❌ | ❌ | ❌ | ❌ |
URL Redirect Test | ✅ | ❌ | ✅ | ❌ | ❌ |
Shipping Test | ❌ | ❌ | ✅ | ❌ | ✅ |
Template Test | ✅ | ❌ | ✅ | ✅ | ❌ |
Theme Test | ✅ | ❌ | ✅ | ✅ | ❌ |
Checkout UI Test | ✅ | ❌ | ✅ | ✅ | ❌ |
Payment Customization Test | ✅ | ❌ | ✅ | ✅ | ❌ |
Delivery Customization Test | ✅ | ❌ | ✅ | ✅ | ❌ |
How to set country filter
find the country filter in audience targeting / advanced options in your test setting
select the country you want to run your test in
After you select countries and create the test, only visitors come from selected country will enter the test traffic split, and all other visitors will see your original store.
When you have selected countries to only run the test in, we will exclude the none selected countries data in our analytics, and you can view the data as usual.
How to set traffic source filter
find the traffic source filter in advanced options in your test setting
set up the filter according to following logic: If A condition meets -> do B action
For example:
• If traffic comes from Facebook then assign it to a random group ->
utm_sourceequals tofacebookassigns to a random group.• If none of the above condition meets, then assign to the original group
In this way, you can set up many conditions at once, and each condition has its following action. And you can only run a price test when your audience is coming from a specific source.
filter in analytics page if you want to check the most accurate data on the specific traffic
How to set new or returning customer filter
find the new / returning visitors filter in audience targeting / advanced options in your test setting and select
click the Enable script to make sure you have enabled our visitor label script to track and filter visitors
How to set cookie filter
find the cookie filter in audience targeting / advanced options in your test setting
set up the cookie filter you want
How do I correctly view my cookie filter shipping rate
While visitors will see the correct shipping rate if they match your cookie filter, it is still important to view the variants yourself. With your intended cookie value set up, you simply need to clear the shipping configuration cache to view the variant shipping rate.
Here's a step-by-step tutorial:
Check if the correct cookie value is set up: Right click on your store website and select
Inspect > Application > Cookies. You should see the same cookie key-value pair as in your test settings. If not, double click in a new row to type in the cookie key and value.Clear the shipping configuration cache: Go to
Application > Local storageand locate theabconvert-shippingxpitem and delete it.
Refresh the page and add products to checkout. Make sure to start from the homepage or product page to re-add products to the cart. You will not see the changes if you stay on the checkout page.
In the checkout page, you should see the correct shipping rate for your cookie filter.
For detailed instructions, check out this video demo.
If you still cannot see the variant shipping rate for your cookie filter:
Check if you deleted the original shipping rates that you are running the test on. Go to Why should I delete my shipping rate for more details.
Your IP is not in the test zone for the particular shipping rate. To resolve this:
Use a VPN to connect to an IP address that is in your shipping rate zone.
Append
?country=<code>&preview=<group-index>to the URL. For example: https://abconvert-test.myshopify.com/checkouts/?country=US&preview=1Original group: group-index = 0
Test group: group-index = 1 (For multiple test groups, enumerate the index. For example: input 2 for test group 2)
FAQ
What happens to visitors who don't match my filters?
The visitors who don't match your filters will not be part of the experiment, so they will see your store as your original settings.
Can I combine multiple filters?
Yes. Visitors must match ALL enabled filters to see test variants. Example: Country = US AND Traffic Source = facebook AND Visitor Type = new.
⚠️ Combining filters significantly reduces your test audience and increases time to statistical significance.
Can I change filters after launching my test?
You can edit filters on running tests, but we don't recommend it. Changing filters mid-test means your data includes two different audiences, making results less reliable.
Best practice: Set filters before launching. If you need different targeting, create a new test.












