Route by time

A QR code that changes with the time of day

One code on the table, the window or the flyer. At the weekend it opens brunch, at lunchtime the lunch menu, in the evening dinner — and the all-day menu the rest of the time.

The problem

A fixed link is wrong for most of the day

A code that always opens the same page leaves visitors scrolling past what isn't being served, and a code someone edits by hand every morning is wrong on the morning nobody remembers. Time rules switch it for you.

Worked example

Try it: change the scan, or the rules

Three rules on the restaurant's clock in London, and the all-day menu as the fallback. The Saturday 1pm scan matches both weekend brunch and lunch; brunch is higher, so brunch decides. The visitor whose phone is on New York time still gets dinner at 8pm London time.

A menu by opening hours

A London restaurant's table code: weekend brunch, lunch and dinner menus by the restaurant's own clock, whatever time the phone is set to.

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

Resolves to https://example.com/menu/brunch, via "Weekend brunch, Sat–Sun 9am–2pm".
  1. Weekend brunch, Sat–Sun 9am–2pmMatched

    day is one of Sunday, Saturday, Europe/London time — simulated value: Sat, Oct 3, 2026, 10:30 (Europe/London) and time is between 09:00 and 14:00, Europe/London time — simulated value: Sat, Oct 3, 2026, 10:30 (Europe/London)

    → https://example.com/menu/brunch

  2. Lunch, 11:30am–2:30pmNot reached

    → https://example.com/menu/lunch

  3. Dinner, 6–10:30pmNot reached

    → https://example.com/menu/dinner

Every code has a fallback, so no scan ever dead-ends.

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

  • Saturday, 10:30amRule 1 · Weekend brunch, Sat–Sun 9am–2pmBrunch menu
  • Saturday, 1pmRule 1 · Weekend brunch, Sat–Sun 9am–2pmBrunch menu
  • Tuesday, 12:45pmRule 2 · Lunch, 11:30am–2:30pmLunch menu
  • Friday 8pm, phone on New York timeRule 3 · Dinner, 6–10:30pmDinner menu
  • Monday, 4pmFallbackAll-day menu

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. 1

    Create a dynamic code with the page you want most of the time as its fallback destination.

  2. 2

    Add a rule for each time window and choose whose clock it reads: yours for opening hours, the scanner's for something that follows them. Put the narrowest window at the top.

  3. 3

    Check a scan in each window with the simulator, then print.

Which plan

Routing rules are included from the Pro plan, at $29 a month.

What to know before you print

  • Each time rule names its clock: a fixed timezone, such as your restaurant's, or the scanner's own. Opening hours should use yours — as the example does — so a visitor's phone settings can't change what they see.

  • A window can run past midnight, such as 22:00–02:00. Combined with a day of the week, the hours after midnight count as the next day: for Friday and Saturday nights until 02:00, use 22:00–00:00 on Friday and Saturday, and 00:00–02:00 on Saturday and Sunday. Overlapping windows are fine: where they overlap, the higher rule wins.

  • A rule on the scanner's clock uses the timezone of where their network places them, which a VPN can change.

Questions

Whose time does the code go by?

The one you choose for each rule: a fixed timezone, such as your venue's, or the scanner's own, read from where their network places them.

Can a time window run past midnight?

Yes. A window from 22:00 to 02:00 covers the late evening and the early hours after it. If the rule also names days of the week, the early hours count as the next day — Saturday 01:00 is Saturday, not Friday night — so name the days for each half of the night.

Can a code change on a date, not just a time?

Yes. Date rules apply between two dates — a campaign page from launch day, or an event page that becomes the recording afterwards.

Route your next printed code

Create an account, set up the rules, and check them in the simulator before anything goes to print.

Time-based QR code: a different link by time of day · QRtoMany