Use a redirect test, also called a split URL test, when the new version is a separate page — a redesigned landing page, a new checkout, a different pricing layout — rather than a few edits on the existing one. Visitors in Control stay where they are; visitors in the variant are sent to the new address. Both are counted, so you can compare conversions.
For small changes on the same page, a visual editor test is quicker.
1. Create a redirect test
- Go to Tests › Tests and click New Test.
- Name the test and choose Redirect test under Test type.
- Pick a Redirect mode: Exact URL or Wildcard pattern.
Both pages need the tracking script: the control page to make the redirect, and the variant page to count conversions.
2. Set the redirect rule
Exact URL: one page to another
Fill in Control page (the existing page) and Variant page (the new page). Visitors in the variant who open the control page are sent to the variant page.
Field | Example |
|---|---|
Control page |
|
Variant page |
|
Wildcard pattern: many pages at once
Use a wildcard to redirect a whole group of pages, like every product page, with one rule.
Field | What to enter |
|---|---|
From pattern | The addresses to match, with |
To template | Where to send the visitor. |
Sample URL | A real address that should match, to check the rule. |
Sample URL redirect | Shown for you: where the sample address would send a visitor. If it's empty, the sample doesn't match the pattern. |
Preserve query string | Tick it to carry the visitor's parameters (UTMs, ad click IDs) to the new address. |
The Sample URL redirect line shows where a matching visitor would land.
The pattern is matched against the page address without its query string, so https://www.example.com/products/blue-shirt?color=navy matches https://www.example.com/products/*.
3. Review and publish
Click Create Test. The Review redirect test rules window opens with the rule at the top, followed by the test settings: Audience, Metric, Devices, Countries, Goals, Allocation, Auto completion, Hypothesis and Trigger. There's no Pages setting — the rule decides which pages take part. Details are in Test settings.
Pick at least one goal, then click Publish. To change the rule later, click Edit on the test's row.
What visitors experience
- Each visitor is placed in Control or the variant once, and stays there on every visit.
- Visitors in the variant are redirected as soon as the tracking script decides — usually a few milliseconds for a returning visitor.
- The visitor's parameters (UTMs,
gclid,fbclid…) are carried over on exact redirects, and on wildcard redirects with Preserve query string. - Search engine crawlers and other bots are never redirected.
- Going back with the browser's back button shows the original page without redirecting again.
Variant on another domain? Subdomains of the same site (www.example.com and try.example.com) share the visitor's ID. A page on a different domain can't, so the visitor is counted as new there. Keep both pages on the same domain when you can.
Avoid the flash of the original page
With the standard snippet alone, a visitor in the variant can see the control page for a moment before the redirect. The fix is to keep the page blank until CROforce has decided. Add this to the <head> of the pages that run a redirect test only, as high as possible:
<style id="entail-hide-page">html{opacity:0 !important}</style>
<script>setTimeout(function(){var s=document.getElementById('entail-hide-page');if(s)s.remove()},1500)</script>- The page stays white until CROforce decides, then it either shows (Control) or redirects (variant).
- If the script can't load, the page still appears after 1.5 seconds at most.
- Don't add it to every page: while the page is hidden, it counts as not yet painted, which delays your Largest Contentful Paint score.
Tests that target countries or new vs returning visitors need an answer from CROforce's servers before deciding, so they take a little longer. Other set-ups — a rules file for first-time visitors, or a synchronous install for no flash at all — are in Redirect tests without flicker.
Check the redirect yourself
Add a parameter to the control page address to force a version. Neither visit is counted in your results, and it works before the test is live:
?test_variant=test— you're sent to the variant page.?test_variant=control— you stay on the control page.
For example: https://www.example.com/pricing?test_variant=test. More in Preview a test on your site.
When you stop the test
When you pause or complete the test, new visitors stop being redirected within about a minute. A returning visitor may be redirected once more on their next page view, for up to about 10 minutes, while their browser refreshes its saved copy of the rules.
Next steps
- Redirect tests without flicker: Every install option, for developers.
- Test settings: Audience, devices, countries and goals.
- Read test results: Which page converts better.
- Domains to allow: If your site uses a Content Security Policy.
Frequently asked questions
Do UTM parameters survive the redirect?
Yes for an exact redirect: the visitor's query string, including UTMs and ad click IDs, is always carried to the variant page. For a wildcard redirect, tick Preserve query string. If the variant address already sets a parameter, its own value wins.
Will visitors see the original page before they're redirected?
They can, for a moment, with only the standard snippet. Add the short hide snippet to the pages that run the test and the page stays blank until CROforce decides, instead of flashing the original.
Does a redirect test hurt SEO?
Search engine crawlers aren't redirected, so they keep seeing your original page.
Can a redirect test have more than one variant?
No. A redirect test compares the control page with one variant page.

/filters:quality(80)/cro-force/abtestsredirectwildcard-1795547771081.png)