A/B Testing Links: A Practical Link Rotator Guide
Learn how A/B testing links with a link rotator works: set weights, tag variants with UTMs, avoid targeting conflicts and read results you can trust.
You have two landing pages and a teammate who is sure the other one is better. A/B testing links settles that argument with data instead of opinions: one short link, several possible destinations, and a link rotator that splits clicks between them. This guide explains how link-level testing works, how to plan a test that produces a trustworthy answer, and how to run one in ShortGo.
What link-level A/B testing is
Most A/B testing tools run inside your website. They need a script on the page, and they swap headlines or buttons after the visitor arrives. Link-level testing works one step earlier. When someone clicks your short link, the redirect decides which destination they land on.
That design has some practical advantages:
- No code on the destination. You can compare pages you can’t easily edit, such as two marketplace listings, two app store pages, or a landing page builder versus your main site.
- Whole-page comparisons. A long sales page against a short one, or a product page against a dedicated campaign page.
- One link in every channel. The same short link can go into an email, a social post, an ad and a printed QR code, and every click joins the same test.
The trade-off is visibility. The redirect sees the click, but not what happens afterward. Sign-ups, purchases and other conversions happen on the destination, so you measure them there, usually with your site analytics and UTM tags that tell the variants apart.
Link rotator vs. on-page testing
| Aspect | Link rotator | On-page testing script |
|---|---|---|
| Where the split happens | At the redirect, before the page loads | Inside the page, after it loads |
| Code needed on the destination | None | Yes |
| What you can compare | Entirely different URLs, even on different sites | Elements within one page |
| Same visitor sees same version | Not guaranteed | Usually, via a cookie |
| Where conversions are measured | Destination analytics with UTM tags | Inside the testing tool |
How the ShortGo link rotator works
In ShortGo, the A/B rotator lives in a link’s Targeting settings. You add several destination URLs and give each one a weight, for example 50/50 for an even split or 70/30 when you want most traffic on a proven page while you try a challenger.
Four details shape how you should plan a test:
- Each click is assigned randomly by weight. Over many clicks, the split approaches the weights you set. With small numbers it can look lopsided, which is ordinary randomness, not a bug.
- Selection is not sticky. A returning visitor may land on a different variant than the first time.
- Targeting rules run first. Rules for country, region, city, device, operating system, browser, language and time are checked top to bottom, and the first match wins. Only clicks that match no rule reach the rotator.
- Analytics are split by variant. The link’s statistics break clicks down by A/B variant and by matched targeting rule, so you can compare variants side by side.
How weights affect your test
Weights decide how quickly each variant collects data. With an even split, both variants gather evidence at the same pace, so you reach a conclusion fastest. With 70/30, the smaller variant collects data more slowly, so the test runs longer.
Uneven weights still make sense in some situations:
- Protecting revenue. If one page is your reliable earner, sending most traffic to it limits the cost of a weak challenger.
- Trying something risky. A radical redesign can start with a small share and grow once early signals look healthy.
A good default is an even split between two variants.
Sample size thinking, without the math anxiety
You don’t need a statistics degree to avoid the most common mistake, which is calling a winner too early.
Count conversions, not clicks
Clicks on the short link happen before the visitor sees the destination, so the clicks themselves can’t tell you which page is better. What matters is how many visitors converted on each variant. A test with plenty of clicks but only a handful of conversions per variant is still a small test.
Small differences need more data
If one page is dramatically better, it often becomes obvious quickly. If the two pages are close, random noise can easily flip the leader back and forth from day to day. The smaller the real difference, the more conversions you need before the result is stable.
Run through full cycles
A common rule of thumb is to run a test for at least one full week so both weekdays and weekends are represented. ShortGo’s weekday by hour heatmap shows whether your traffic has strong daily patterns that a short test could miss.
Decide your stopping rule in advance
Checking results every hour and stopping the moment your favorite pulls ahead is a reliable way to fool yourself. Before you launch, write down the goal metric, the minimum run time and roughly how many conversions per variant you want before you decide.
Tagging variants with UTM parameters
Because conversions happen on the destination, your site analytics need a way to tell variant A from variant B. The cleanest approach is a distinct utm_content value on each destination URL:
https://example.com/pricing?utm_source=newsletter&utm_medium=email&utm_campaign=spring-sale&utm_content=variant-ahttps://example.com/pricing-v2?utm_source=newsletter&utm_medium=email&utm_campaign=spring-sale&utm_content=variant-b
Keep utm_source, utm_medium and utm_campaign identical across variants so the only difference is the variant label. ShortGo lets you save reusable sets of UTM parameters as a UTM template, which helps the whole team tag links consistently. If you also enable forward parameters, any query string on the short link itself (for example ?ref=partner) is passed through to whichever destination the rotator picks. Our guide to UTM parameters done right covers naming conventions in more depth.
How targeting rules interact with the rotator
Since targeting rules are evaluated before the rotator, any rule that matches a visitor takes them out of the test entirely.
Consider a link with these settings:
- Rule: device is mobile, send to the app store page.
- A/B rotator: 50/50 between two landing pages.
Every mobile visitor matches the first rule, so your A/B test only measures desktop and tablet traffic. That may be fine, but you should know it before you interpret the results.
You can also use this ordering on purpose. For example, send visitors from one country to a localized page with a geo rule, and A/B test everyone else. Our geo targeting guide explains how to order rules so the right visitors reach the right page.
How to set up an A/B test in ShortGo
- Create or open a short link. Go to Links and create a new link, or edit an existing one. Use a clear custom alias, such as
go.yourbrand.com/spring-sale, if the link will be shared publicly. - Open Targeting and add the A/B rotator. Add each destination URL as a variant.
- Set the weights. Start with an even split unless you have a specific reason to protect one page.
- Tag each variant. Give each destination a unique
utm_contentvalue, or apply a UTM template and adjust the content tag per variant. - Review your rules. Make sure no targeting rule above the rotator is catching traffic you meant to test.
- Preview before sharing. Add
+to the end of the short link to check its destination instead of clicking through repeatedly, so your own testing doesn’t inflate the numbers. - Share the link and wait. Stick to the run time you decided on.
If you want to rotate between whole links rather than destinations, Campaigns offer a related option. Each campaign can have a public rotator URL (/r/<slug>) that sends each visitor to a random active link in that campaign.
Designing a test that tells you something
Change one meaningful thing
If variant B has a new headline, a new price display and a new layout, a win tells you B is better but not why. When you can, change one major element at a time so the result teaches you something you can reuse.
Keep conditions equal
Don’t change the ad, the audience or the email copy halfway through. If something outside the test changes, note the date and consider restarting.
Reading the results
Start in ShortGo, then move to your site analytics.
| What to check | Where to look | Why it matters |
|---|---|---|
| Click split per variant | ShortGo variant breakdown | Confirms the weights are working |
| Clicks absorbed by rules | ShortGo matched rule breakdown | Shows how much traffic reached the test |
| Device, country and referrer mix | ShortGo analytics, filtered by variant | Spots uneven audiences |
| Conversions per variant | Your site analytics, by utm_content |
Identifies the real winner |
| Bot traffic | ShortGo bot view | Bots are excluded from totals by default |
If the variant split is far from your weights after a large number of clicks, check your rules first. If the audiences look similar and one variant clearly converts better after your planned run time, you have a result. If the numbers are close, the variants may simply perform about the same, and you can keep whichever is easier to maintain.
Putting it together
When you have a winner, either set its weight to 100 percent or remove the rotator and make the winner the main destination. The short link stays the same, so every email, post and printed QR code keeps working. Then pick the next hypothesis and run another test.
To learn what else the click data can tell you, read link analytics explained. Ready to run your first test? Create a free account and check the pricing page for what your plan includes.
Frequently asked questions
Does the link rotator remember which variant a visitor saw?
No. Each click picks a variant randomly according to the weights, so a returning visitor might land on a different page. For most link-level tests this has little effect, but keep it in mind when interpreting results.
Can I combine A/B testing with geo or device targeting?
Yes. Targeting rules are checked first and the first matching rule wins, while clicks that match no rule go to the rotator. That lets you send one audience to a dedicated page and test everyone else.
How long should an A/B test on a short link run?
Run it for at least one full week so weekday and weekend behavior are both included, and wait until each variant has a meaningful number of conversions. Decide the run time before launch so you are not tempted to stop early.
Why are clicks the same across variants if one page is better?
The click happens before the visitor sees the destination, so it can’t reflect page quality. Compare conversions per variant in your site analytics using the utm_content tag on each destination.
Is the A/B rotator available on every plan?
Feature availability depends on your plan. The pricing page lists what each plan includes.