SmartRoute: Time-Based QR Code Routing for Restaurants, Events & Retail
Serve different content from the same QR code based on time of day and day of week. Perfect for restaurants, events, and retail promotions.
Your restaurant prints one QR code on every table. At 11am, it shows the lunch menu. At 6pm, the dinner menu. At 10pm, the late-night bar menu. No staff intervention. That's SmartRoute time-based routing.
How Time-Based Routing Works
Each redirect rule can include a time condition with a start and end time (24-hour format). When a scan occurs, the server checks the current time against your rules and redirects to the first match.
// Lunch: 11am-3pm weekdays
{ "conditions": [
{ "type": "time", "start": "11:00", "end": "15:00" },
{ "type": "day_of_week", "values": ["mon","tue","wed","thu","fri"] }
], "target_url": "https://restaurant.com/menu/lunch", "priority": 10 }
// Dinner: 5pm-10pm every day
{ "conditions": [
{ "type": "time", "start": "17:00", "end": "22:00" }
], "target_url": "https://restaurant.com/menu/dinner", "priority": 5 }
Overnight Time Spans
SmartRoute handles overnight spans automatically. A rule with start: "22:00" and end: "06:00" matches from 10pm through 6am.
Industry Examples
Restaurants & Bars: One table QR, four menus: breakfast, lunch, dinner, late-night. See our full restaurant QR setup guide.
Retail Stores: Weekday scans → product catalog. Weekend scans → flash sale page.
Events & Conferences: Before the event → registration. During → live schedule. After → recordings and feedback survey.
Gyms & Fitness: Morning → class schedule. Evening → personal training booking.
Combining with Other Conditions
Time rules are even more powerful combined with geo-fencing, device detection, or visitor scan counts. Read about compound conditions in our conditional routing guide.