A/B testing
A/B test the page behind a printed QR code
Print one code, split its scans between two or more landing pages by weight, and compare how each does. When you've decided, declare a winner and every scan goes there — the print run stays as it is.
The problem
Testing on print usually means printing twice
Testing two offers on print normally takes two print runs, two codes and two sets of placements that are never quite equal. Splitting one code's scans puts both pages behind the same poster, in the same places, at the same time.
Worked example
Try it: change the scan, or the rules
One rule: scans from the UK, where the posters are, are split 50/50 between two offers. A scan from anywhere else — someone abroad scanning a shared photo of the poster — stays out of the test and goes to the standard page. Which offer a UK visitor gets is decided per visitor; in the simulator you choose it.
A/B testing a poster campaign
UK scans of a poster split 50/50 between two offers; a scan from anywhere else goes to the standard page. Pick which offer a visitor was given in the result.
Rules are checked from the top. The first enabled rule that matches the scan decides where it goes, and a scan no rule matches goes to the fallback. Pick a scan or set your own, and the rule that decides it is highlighted.
- United Kingdom (GB)
Leave empty to simulate a scan whose country is unknown (a VPN, or an address that can’t be placed).
The region the scan comes from, in the country above — the code a real scan reports alongside its name. Best-effort for real scans. Leave blank to simulate as unknown.
In order of preference, the way a browser sends them — or paste a real Accept-Language header. Leave blank to simulate as unknown.
The instant of the simulated scan.
Used by rules set to "scanner's local time". Leave it blank for a scan from a location we can't place: like a real one, it's read in UTC.
More scan details — in-app browser, OS version, city, location, scan number, returning visitor, referrer
Browsers differ in what they report — see what a real scan from this one tells the edge below.
The version the device really runs. Leave blank for a current one — every phone reports some version.
A real scan reports the continent along with the country, so it's taken from the country unless you pick one.
As a scan reports it — usually the English name (Munich, not München); case and accents don’t matter. Leave blank for unknown.
For distance rules. A real scan is placed near its city's centre, and only roughly. Leave blank to simulate as unknown.
For distance rules. A real scan is placed near its city's centre, and only roughly. Leave blank to simulate as unknown.
Which of the code's counted scans this is — 1 is its first. Only scans that reach a destination count: not bots, and not scans that stop at a password or age prompt or a warning page. A scan limit of 100 serves scans 1 to 100. Real scans are counted approximately: when many people scan at the same moment some can get the same number, so a busy code may serve some past a limit or an "at most" rule. Leave it blank to simulate a scan made while the counter couldn't be read, which no scan-number rule matches.
No enabled rule here reads this, so this choice changes nothing — and a real scan of a code with these rules sets no returning-visitor cookie. Add a returning-visitor rule and scans are remembered from the moment it is published.
Leave blank to simulate this as unknown.
No version entered, so this tests a current iOS 26 — enter one to test another.
What a real scan from this device tells the edge: iOS 26.
The User-Agent this device's browser sends, which the edge reads: Mozilla/5.0 (iPhone; CPU iPhone OS 18_6 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/26.0 Mobile/15E148 Safari/604.1
At the edge, each new visitor is assigned a variant by weight and keeps it on later scans. Which one a given person gets can't be simulated, so pick one.
- Variant 1 · 50% of new visitors → https://example.com/offer/a
- Variant 2 · 50% of new visitors → https://example.com/offer/b
- UK scans → Offer A or B, 50/50Matched
country is United Kingdom (GB) — simulated value: United Kingdom (GB)
→ split visitors between these variants. Each visitor keeps the variant they first get:
- Variant 1 · 50% → https://example.com/offer/a
- Variant 2 · 50% → https://example.com/offer/b
Your changes stay in this tab and are gone when you leave. On your own codes, routing rules come with Pro and above, and A/B splits and rotations with Business and above.
Where each scan lands
- London, iPhoneRule 1 · UK scans → Offer A or B, 50/50Offer A or Offer B, 50/50, kept per visitor
- Manchester, AndroidRule 1 · UK scans → Offer A or B, 50/50Offer A or Offer B, 50/50, kept per visitor
- Dublin (a shared photo of the poster)FallbackStandard offer page
Every outcome shown here is checked by an automated test that runs these scans through the same routing code a live scan uses.
Setting it up
- 1
Create a dynamic code with one of the pages as its fallback destination.
- 2
Add a rule with a split: each page and its share of scans, adding up to 100%.
- 3
Compare each page's scans in the code's analytics, then declare a winner — every scan from then on goes to it.
Which plan
A/B splits and rotations are included from the Business plan, at $99 a month.
What to know before you print
A visitor who scans again from the same browser stays on the page they were first given, so nobody flips between versions.
Declaring a winner sends every scan to it, including visitors who were given the other page. The original split is kept, so you can still see what the test ran at.
Each visitor's page is assigned by chance, so a small number of scans won't divide exactly. Judge a test on what each page achieved, over enough scans to mean something.
Questions
How are scans divided between the pages?
Each new visitor is given a page in proportion to the weights you set, and keeps that page on later scans from the same browser.
Can I end the test without reprinting?
Yes. Declare the winner in the dashboard and publish, and scans go to it within about a minute. The printed code doesn't change.
Does a returning visitor see the same page?
Yes, when they scan again from the same browser. Declaring a winner is the one thing that moves them.
Other ways to route a scan
All routing examplesRoute by device
iPhone and Android
The App Store on an iPhone, Google Play on Android, your website on anything else.
See the exampleRoute by country
Country
Each market's own site from one print run, and a safety net for everywhere else.
See the exampleRoute by language
Language
The menu, manual or page in the language the scanner's browser asks for.
See the exampleRoute by time
Time of day
Brunch, lunch and dinner menus from one code on the table, on your clock.
See the exampleRotation
Rotating links
One code that hands each scan to the next destination in turn.
See the example
Route your next printed code
Create an account, set up the rules, and check them in the simulator before anything goes to print.