To preserve UTM parameters in a Shopify URL split test, carry the campaign tags from the incoming landing URL to the assigned destination. Test control and variant from a tagged external link and confirm an eligible test order keeps the expected campaign and experiment assignment in their respective reports.
Start with one tagged entry URL
For example, open /pages/winter-kit?utm_source=newsletter&utm_medium=email&utm_campaign=winter_kit from outside the store. A visitor assigned to /pages/winter-kit-b should land with those same values. If the destination already has a query parameter, preserve it and avoid duplicate names. Preview both variants with fresh sessions so existing assignments or attribution do not hide the issue.
Verify both campaign and experiment attribution
Check the initial analytics event on both destinations, with the same applicable consent choices. Then place one approved test order per variant and confirm the campaign appears in your attribution report and the order belongs to the intended experiment group. If both URLs retain their tags but only one purchase loses credit, inspect checkout handoff, consent and the event configuration before trusting the comparison.
Sources
Run the test in Shopify
Sofcy supports URL, template, theme, and custom JavaScript API experiments.
Start free trial