Testing a scan with the simulator
Use the scan simulator to see exactly where a scan of your code would land — by device, place, language, time and visit — before you publish or print.
A routing mistake on a printed code doesn't show up as an error. It quietly sends real people to the wrong place. The scan simulator exists to catch that before it happens: describe a scan, and it tells you where that scan would go, which rule decided it, and why each of the others didn't.
It's on every dynamic code, whatever plan it's on — including a Free workspace that kept codes after a downgrade — and it's the thing that should run before anything is printed. Free itself starts with no dynamic code to open it on, since those begin at Pro; the public routing simulator runs the same engine over ready-made examples, no account needed.
Where to find it
Open a dynamic code and look for Test a scan. The simulator always tests the rules as they are now in the dashboard — including changes you haven't published yet — so you can check a change before you make it live.
There is also a public routing simulator with ready-made examples, if you want to see how rules behave before you have a code of your own.
Describing a scan
Start from a preset — iPhone in the US, Android in Germany or Desktop in Japan — then change whatever you need:
- Device and system — device type, operating system, browser, OS version and in-app browser (Instagram, TikTok and so on).
- Location — country, continent, region, city, and a latitude and longitude for distance rules.
- Visitor — the browser's languages (a list, or a pasted
Accept-Languageheader), the scan's number, whether this browser has scanned before, and the referrer. - Time — the date and time of the scan in UTC, and the scanner's time zone.
- For an A/B split or a rotation, which variant or which turn to simulate.
Reading the answer
The simulator shows where the scan would land — a rule's destination, the fallback, or the code's hosted page — and, rule by rule:
- Matched — this rule decided the scan.
- Did not match — with each condition's result, so you can see which one failed.
- Not reached — a rule above it matched first.
- Disabled — switched off, so skipped.
- Matched, but had nothing to send to — an A/B split or rotation with every option paused, which passes the scan on to the next rule.
It also shows the one language the scan is counted as (see how language works), any warning about the destination, and a banner if the code is currently paused, expired, over its scan limit or suspended.
Simulating degraded geo accuracy
Tick Simulate degraded geo accuracy to see which rules depend on region, city or distance — the conditions iCloud Private Relay and VPNs make unreliable. It doesn't change which rule matches; it flags the rules that could fire for the wrong people, and warns when such a rule has no country-level rule beneath it to catch the scans it misses. See why sub-country geo is best-effort.
The same engine as a real scan
The simulator doesn't approximate. It runs the same routing code that answers real scans, reading each field of your simulated scan the way a real scan's is read. If it says a scan lands somewhere, a real scan with those details lands there too.
That includes what happens before any rule runs. A scan dated after the code's expiry gets the expired page, and a scan numbered past its scan limit gets the scan-limit page — the simulator says so and names no destination. A code with an age or password prompt shows that prompt as the first step. The simulator uses the expiry, limit and prompts as saved on the Settings tab, published or not, just as it uses your unpublished rules.
What it can't know is what a real phone will report. A scanner on a VPN reports the VPN's location; a browser may be set to a language its owner doesn't read. That is why the simulator lets you try the awkward cases on purpose.
A checklist before you print
- One scan for each rule you wrote, to see it match.
- One scan that should match nothing, to see it reach the fallback.
- If you route by language: a visitor whose first language has no rule, and one who lists two languages you do have rules for.
- If you route by time: a scan just before and just after each boundary, in the time zone the rule reads.
- If you use region, city or distance: the same scan with degraded geo accuracy ticked.
Then publish, and scan the printed proof with your own phone.