How to A/B Test Landing Pages Using Redirects

A/B testing landing pages with redirects sends visitors from one campaign URL to two landing-page variants. A traffic-splitting mechanism assigns visitors to each destination, while analytics compare conversion rates. The method works for campaign traffic when you can preserve attribution, keep the variants consistent, and collect enough evidence before choosing a winner.
Introduction#
A/B testing landing pages with redirects lets you compare two page versions while keeping one campaign link in your ads, emails, QR codes, or social posts. Instead of sending every visitor to the same destination, a split-testing redirect distributes traffic between version A and version B so you can measure which experience produces more of the outcome you care about.
This approach is useful when you need a fast, channel-level test without rebuilding your campaign URLs or adding a testing script to the website. It is also easy to misunderstand: a redirect can split traffic, but it does not automatically make an experiment statistically valid. You still need a clear hypothesis, consistent measurement, enough traffic, and a plan for handling returning visitors.
This guide explains how redirect-based landing-page tests work, what the setup requires, how to measure a winner, and where the technique stops being the right tool.
What does A/B testing with redirects mean?#
In a redirect-based A/B test, one starting URL sends visitors to one of two landing-page destinations. For example, a campaign link such as go.example.com/demo could route some visitors to /demo-a and the rest to /demo-b.
The redirect is the traffic-splitting layer. The landing pages are the variants. Your analytics and conversion system measure what happens after each visitor arrives.
The method is different from changing a headline for every visitor inside one page. The visitor receives one destination or the other, which makes it practical for testing substantially different layouts, offers, forms, or page experiences. It also means the split must happen before the visitor reaches either page.
What you need before you start#
The technical setup is small, but the measurement setup matters just as much. Prepare these five pieces before sending traffic:
- Two materially different destinations: Create version A and version B as separate URLs, or use two stable variants in your testing system.
- One controlled campaign URL: Use a redirect or short link that you can edit without changing the link in the ad, email, QR code, or printed asset.
- A traffic-splitting mechanism: The redirect layer needs a rule that distributes requests between the two destinations according to a chosen allocation, such as 50/50.
- A primary conversion event: Choose one outcome before the test begins: a signup, completed form, purchase, booked call, or another measurable action.
- Consistent attribution: Preserve campaign parameters and record which variant each visitor saw. Without variant-level attribution, the total conversion count cannot tell you which page performed better.
Keep everything else as consistent as possible. If you change the audience, offer, ad creative, page design, and conversion event at the same time, the test may show a difference without explaining what caused it.
How to set up a redirect split test#
1. Write the hypothesis#
Start with a sentence that can be tested: “Changing the form from six fields to three will increase completed signups without reducing lead quality.” This gives the test a reason and tells you what to measure.
Avoid a vague goal such as “make the page better.” A useful hypothesis identifies the change, the expected effect, and the audience or campaign where the effect should appear.
2. Build the two landing-page variants#
Give each page a stable URL and make the intended difference explicit. If version A is the current page and version B has a shorter form, do not also change the headline, pricing, traffic source, and follow-up email unless the test is deliberately comparing complete experiences.
Check both pages on the devices and browsers your campaign audience uses. Confirm that forms submit correctly, analytics fire once, confirmation pages load, and the pages do not redirect visitors back through the split link.
3. Create the controlled redirect#
Create a campaign link that is separate from both landing-page URLs. The campaign should point to this controlled link, not directly to version A or version B. That gives you one place to manage the experiment and keeps the distributed campaign assets unchanged.
Configure the split destinations and choose an initial allocation. A 50/50 split is a straightforward default when both variants have equal business importance. A different allocation can make sense when the new page is risky, when you want a smaller exposure during an early check, or when the control must continue receiving most traffic.
If you use RedirHub for the campaign link, keep the redirect path readable and use the platform’s A/B testing configuration to define the destinations and allocation. Preserve the original campaign parameters so the traffic source remains visible in your analytics.
4. Preserve attribution and identity#
Use distinct variant labels in your analytics. You might append variant=a and variant=b to the destination URLs, use separate campaign names, or record the variant in an event property. The exact method depends on your analytics stack, but the result should be the same: every conversion can be connected to the variant the visitor received.
Returning visitors need special attention. If the redirect chooses a new destination on every request, one person could see version A on their first visit and version B after clicking again. Where the testing mechanism supports it, use a stable assignment for the visitor during the test window. Document the assignment method so the result is interpretable.
5. Test the complete path before launch#
Use test clicks from multiple devices and locations. Verify the redirect status, destination, campaign parameters, page loading, form submission, confirmation event, and variant label. Test both variants directly and through the campaign link.
Also check failure behavior. A missing destination, broken tracking parameter, redirect loop, or incorrectly encoded URL can invalidate the test while the campaign continues to spend money. Keep an owner responsible for monitoring the redirect and both landing pages during the experiment.
How to measure the winner#
Measure the conversion rate for each variant, not just the number of conversions. If version A receives 1,000 visits and 50 signups while version B receives 200 visits and 20 signups, B has more conversions per visit even though A has the larger total.
At minimum, track:
- visits or eligible sessions per variant;
- primary conversions per variant;
- conversion rate per variant;
- cost or revenue per conversion, when relevant;
- invalid traffic, duplicate submissions, and technical errors.
Use the same attribution window and event definition for both variants. Decide in advance whether you will count a conversion immediately, within seven days, or within another fixed window. If the business outcome is revenue or qualified leads, do not stop at a high click-through rate that does not produce downstream value.
Traffic allocation is not the same as performance measurement. A 50/50 split only describes how visitors were assigned. It does not prove that one page wins, and it does not correct for bot traffic, inconsistent audiences, tracking failures, or external changes in demand.
How long should a redirect A/B test run?#
Run the test until each variant has enough eligible traffic and conversions to support a useful decision. There is no universal visitor count that works for every campaign. A page with a high conversion rate may produce directional evidence quickly; a low-volume campaign or a rare conversion event may need much longer.
Set a minimum test duration that covers the normal weekly pattern of the campaign. Ending a test after a strong first day can capture a temporary audience mix rather than a durable page effect. Avoid checking the result repeatedly and stopping the moment one variant moves ahead; frequent early stopping increases the chance of treating random movement as a real improvement.
Before launch, define the decision rule. For example: continue the current page if the result is inconclusive, roll out the winner if it clears the agreed confidence threshold and does not reduce lead quality, or run a follow-up test if the difference is too small to justify a change.
Limitations of redirect-based A/B testing#
Redirect splitting is useful, but it is not a complete experimentation platform. It usually operates at the destination level, so it cannot by itself test individual page elements, personalize experiences, calculate statistical significance, or manage complex multi-step experiments.
Redirects can also add a request before the landing page loads. Keep the redirect path fast, avoid chains, and test on mobile networks. A redirect-based test may be a poor fit when even a small amount of extra latency affects the experience or when the site already has several routing layers.
SEO requires additional care. Do not use a temporary experiment as a permanent way to serve different pages to search engines and users. For paid, email, social, QR, and other campaign traffic, keep the test link out of indexable site navigation and review canonical, robots, and redirect behavior with your SEO owner before using the method on organic pages.
Finally, do not compare variants if the pages have different legal disclosures, pricing availability, inventory, or eligibility rules unless those differences are part of the intended experiment. A conversion-rate lift is not useful if the winning page creates operational or compliance problems.
When to use a dedicated experimentation tool instead#
Use a dedicated experimentation platform when you need server-side or client-side tests inside one page, audience targeting, feature flags, sequential testing, multivariate experiments, automatic statistical analysis, or detailed experiment history. Those systems are designed to manage the parts that a redirect only approximates.
Use a redirect split test when the decision is primarily about which destination should receive campaign traffic and you value a simple, editable control point. It works well for comparing two complete landing pages, two offers, or two campaign flows, provided you can measure the same outcome on both paths.
Conclusion#
Redirect-based A/B testing gives marketers a practical way to send one campaign link to two landing-page variants and compare their results. The reliable workflow is straightforward: define a hypothesis, create separate destinations, split traffic through a controlled redirect, preserve attribution, test the full path, and wait for enough evidence before choosing a winner.
The redirect handles routing; your analytics and experiment design determine whether the result is trustworthy. When you need destination-level testing for campaign traffic, RedirHub can provide the managed link and A/B testing controls to keep the experiment editable after distribution.
Run cleaner landing-page tests
Keep one campaign link and route traffic between landing-page variants with RedirHub.
Create a campaign linkFrequently asked questions
A/B testing with redirects sends visitors from one campaign URL to two different landing-page destinations. The redirect distributes traffic, while analytics compare visits, conversions, and other outcomes for each variant.
Yes. Point the ad or campaign asset to one controlled redirect URL, then configure that redirect to distribute visitors between the two landing pages. The campaign asset stays unchanged while you manage the destinations behind it.
A 50/50 allocation is a common starting point when both variants have equal importance and similar risk. Use another allocation only when you have a clear reason, such as limiting exposure to an unproven page during an initial check.
Give each destination a distinct variant label through URL parameters, campaign names, or analytics event properties. Then compare visits and conversions for A and B using the same attribution window and conversion definition.
They require caution for SEO traffic. Use the technique primarily for campaign traffic, and review canonical tags, indexing, and redirect behavior with an SEO specialist before exposing an experiment to search engines.
Run it long enough to cover normal traffic patterns and collect enough conversions for a meaningful comparison. Define the minimum duration and decision rule before launch, and avoid stopping immediately after one variant gets an early lead.
Yes. RedirHub provides managed campaign links with A/B testing controls for routing traffic between landing-page destinations. You can configure the destinations and allocation while keeping the campaign link unchanged.
Use a dedicated experimentation platform when you need element-level tests, audience targeting, feature flags, multivariate experiments, or automated statistical analysis. A redirect split test is best suited to comparing complete destinations or campaign flows.

Leo Astarothman is the Brand & Content Lead at RedirHub, where he shapes the company's visual identity, educational content, product experiences, and marketing strategies. He also specializes in system design. Simplifying complex redirect infrastructure into practical resources, product experiences, and campaigns that help businesses understand and adopt modern redirect management.



