Change a QR Code by Time of Day
You'll learn: How one QR code can point to different places at different times—automatically.
Why this matters
Your café opens at 6 AM with breakfast. At 11 AM, it's lunch. At 5 PM, happy hour starts. Would you print three different QR codes for one table? No.
One QR code, three destinations. Scnr routes people based on the time they scan.
Scan at 8 AM → sees breakfast menu. Scan at 2 PM → sees lunch menu. Scan at 6 PM → sees happy hour special. Same code, different destinations. No reprinting.

Getting started: Set up time-based routing
Step 1: Open Smart routing
Click New QR, choose your type and go to the Options step. Open Advanced options and you will see Smart routing.

Step 2: Add your first time rule
Click + Add rule. Set:
- From: when this rule starts (for example 6:00 AM)
- To: when it ends (for example 11:00 AM)
- Send to: where people go (for example your breakfast menu link)
All times are Sri Lanka time. You can also tick specific Days, so a rule only runs on weekends, for example.

Step 3: Add more rules, or use the day plan
Click + Breakfast, lunch and dinner to add three rules in one go, then paste the right link into each one. Rules are checked from the top, and the first match wins.

Step 4: Set a default
If someone scans outside all your times (say, 2 AM), they go to the Destination URL you entered on the Content step. Use your homepage or main menu.

Step 5: Run a campaign between two dates
Rules can also have dates. In a rule, fill in From date and To date (the last day is included, in Sri Lanka time). Put your Christmas menu link in a rule dated 1 to 26 December and the normal menu in the Destination URL. On 27 December the code goes back to the normal menu by itself, with no reprint.
As soon as one rule has a date, a Campaign calendar box appears above your rules and lists every dated rule in order, so you can see your plan at a glance.

You can combine dates with the other conditions. A rule with From date, To date and Days set to Friday and Saturday only applies on weekends during the campaign.
Step 6: Make a limited offer (first N scans)
In a rule, type a number in Only the first … scans. Write 50 and the rule applies to the first 50 scans of the code. After that, scanners fall through to your next rule or the destination, so "free dessert for the first 50" ends on its own.
The count is for the whole code, not per person, and it is as exact as the Scan limit option: close to the number you set, but in a very busy moment across many countries it can run a little over.
Step 7: Say hello to new visitors
Set Visitor to First visit on this phone and the rule applies only to people who have not scanned this code before. Add a second rule with Coming back to send regulars somewhere else, for example your loyalty page. Scnr remembers a phone with a small cookie, so a café where everyone shares one Wi-Fi network is still counted person by person.
Put the more specific rule first. The first rule that matches wins.
That's it. Scnr checks the date, the time and the scanner on each scan and sends people to the right place.
Real-world example
Ramesh runs a restaurant in Colombo. His printed table QR codes go to:
- 6 AM – 11 AM: Breakfast menu (PDF)
- 11 AM – 4 PM: Lunch menu (PDF)
- 5 PM – 10 PM: Happy hour special (web page with discounts)
- Otherwise: Main restaurant website
Same QR code on 50 tables. Guests scan anytime, get the right menu automatically. He updates destinations from his phone anytime.
One day, he changes happy hour to 4 PM. He updates the rule in Scnr. Everyone scanning after 4 PM the next day sees the new time. No new codes, no reprinting.
Pro tips
- Think about overlaps: what if you're open late? Set end times carefully
- Test each rule: scan your QR at different times to verify it's working
- Use clear boundaries: 11:00 AM is clearer than "around 11 AM"
- Plan for seasons: if hours change in summer, update your rules
Troubleshooting
Q: What if my times change seasonally?
A: Edit the rules anytime. Changes are instant.
Q: Can I add rules for specific days?
A: Yes—Monday–Friday rules, weekend rules. Use our day-of-week selector too.
Q: What if someone scans at exactly 11:00 AM (the boundary)?
A: The first rule that matches wins. Set boundaries clearly (10:59 AM end, 11:00 AM start).
Q: Can I have more than 3 time rules?
A: Yes, as many as you need.