Free Tool
A/B test generator
Run an A/B test on your landing pages without a paid testing tool. Enter your page URLs and the split you want (50/50, 80/20, any mix) and get one small file to upload to your site. Visitors stay on their variant, your UTMs survive, and each variant is tagged for analytics.
offer-test.php
How to use it
- Download the file and upload it to your site, e.g.
yoursite.com/go/offer-test.php - Use that URL as the link in your ads or emails, with your usual UTM tags.
- Preview each variant by adding
?force=Aor?force=B. - When you have results, check them in the A/B significance calculator.
How to run an A/B test on your landing pages
This kind of A/B test (also called a split URL or redirect test) compares two or more complete landing pages at different addresses. It's the simplest way to test a whole new page against your current one, and unlike A/B testing tools that swap content with JavaScript, there's no flicker and nothing slowing the page down.
Why the script works the way it does
- Sticky visitors. A cookie keeps each person on the same variant when they come back, otherwise returning visitors get counted in both groups and your results get muddied.
- 302, not 301. A temporary redirect tells search engines the test is temporary, so they keep your original pages indexed. Google recommends this for A/B tests.
- No caching. The script tells browsers and CDNs not to cache the redirect, so every new visitor gets a fresh random assignment.
- Attribution intact. UTM tags and ad click IDs (gclid, fbclid) are passed through, so conversions are still credited to the right campaign.
A/B testing tips for a fair result
- Change one big thing. A new headline and offer angle, or a new layout. Testing lots of small tweaks at once makes the result hard to learn from.
- Work out your sample size first with the A/B test calculator, and run for at least a full week to cover weekday and weekend behaviour.
- Uneven splits are fine. An 80/20 split limits the risk of an untested page, but it takes longer to reach a confident result.
- Don't change the split mid-test. Visitors who already have a cookie keep their variant; changing weights only affects new visitors and skews the comparison. Start a new test (with a new name) instead.
How do I set up an A/B test for two landing pages?
Is this a free alternative to A/B testing tools?
Will an A/B test hurt my SEO?
How do I see which variant wins?
Do my UTM tags and click IDs survive the redirect?
What do I need to run it?
How do I preview each variant?
Want us to run your landing page tests?
We design the variants, run the traffic and tell you what won, and why. Testing is part of every landing page we build.
More free tools
All 15 free tools →Lead Gen Funnel & Ad Budget Calculator
Work backwards from your sales goal to the leads, clicks and ad budget you need, and see what a better landing page is worth.
Open tool → CROLanding Page CRO Scorecard
Answer 20 quick questions about your landing page and get a conversion score with a prioritised list of fixes.
Open tool → CROA/B Test Significance & Sample Size Calculator
Find out whether your test winner is real or random, and how much traffic you need before calling it.
Open tool →