What a rule is
A rule has two halves. When holds one or more conditions, such as “Time of day is 07:00 to 11:30”. Scanners get holds what opens when the conditions are true.
What a rule opens does not have to be a link. It can be a link, one of your pages, a contact card, Wi-Fi details, a WhatsApp chat, an SMS, an email, a phone call, a map location, a calendar event or plain text.
The content you typed in the Details step stays as the code's main content. Anyone no rule matches gets that, so a code with rules still works for everybody.
The conditions
| Condition | What it checks |
|---|---|
| Operating system | iPhone or iPad, Android, Windows, Mac, Linux or other. |
| Device | Phone, tablet or desktop. |
| Country | Where the scan comes from, by the network the phone is on. |
| Language | The language the scanner's phone is set to. |
| Time of day | A window such as 11:30 to 16:00, in the time zone you pick. It can run past midnight. |
| Day of week | The days you tick, such as Saturday and Sunday. |
| Date | A date range, such as the three days of an event. |
| Scan count | Total scans or unique scanners so far: fewer than a number, or at least a number. |
| Near a place (Pro) | Within a radius of a spot on the map, from 10 metres to 100 km. The scanner is asked to share their location first. |
- Most conditions have an is / is not switch, so “Country is not Canada” is one condition, not a long list.
- A rule with several conditions is set to All must match or Any can match. “Saturday or Sunday, and after 18:00” is All must match with a Day of week and a Time of day condition.
Order: the first match wins
Rules are checked from the top of the list to the bottom. The first rule whose conditions are true decides where the scanner goes, and the rules under it are not looked at. If none is true, the code opens its main content.
- Put the narrowest rule first. “First 100 scans” above “Android” means early Android scanners still get the prize page.
- Use the arrows on a rule to Move up or Move down.
- Each rule has its own On / Off switch. Off keeps the rule saved but skips it, which is handy for a seasonal offer.
A quick check for overlaps
Rules choose what a code opens. To decide whether it opens at all (an access code, an end date, a scan limit or a place), use the scan controls. They are checked before any rule.
Add a rule
- 1
Open the code
Create a new dynamic code, or open one in My QRs and press Edit. The Smart rules card sits under Details. - 2
Switch Smart rules on
Then press Add your first rule, or Start from a preset to begin with a ready-made one. - 3
Name the rule
A short name such as “Breakfast” or “Android users”. The name is what you see later in the tester and in analytics. - 4
Set When
Pick a condition and fill it in. Add another condition if the rule needs two things to be true. - 5
Set Scanners get
Choose what opens: a link, one of your pages, a contact card and so on. Fill in its details. - 6
Pick the time zone
Only shown when a rule uses a time, a day or a date. Choose the zone of the place where the code is printed, not where you are today. - 7
Save the code
Press Create QR Code or Update QR Code. A rule that is not finished is marked, and the code will not save until it is complete or deleted.
Recipes to copy
| What you want | How to set it |
|---|---|
| Breakfast, lunch and dinner on one table card | Rule 1: Time of day 07:00 to 11:30 opens the breakfast menu. Rule 2: Time of day 11:30 to 16:00 opens the lunch menu. Main content: the dinner menu. |
| One code for both app stores | Preset App Store / Play Store. It adds an iPhone rule and an Android rule; paste each store link. Main content: your website, for computers. |
| A different page when you are closed | Preset Business hours. One rule covers your opening days and times and opens today's page. Main content: your opening hours and how to book. |
| A page per language | One rule per language: Language is Spanish opens the Spanish page, Language is French opens the French one. Main content: the page most visitors can read. |
| A page per market | Preset By country. Pick the countries for each rule and the link that market should get. Main content: your international site. |
| A prize for early scanners | Preset First 100 scans. The rule opens the prize page while the code has had fewer than 100 scans. Main content: the normal offer. |
| Before, during and after an event | Rule 1: Date up to the day before opens the invitation. Rule 2: Date on the event days opens the schedule. Main content: the photos and thank-you page. |
Showing the same page or menu in several languages? You may not need rules at all: language versions open the right one by themselves and add a switcher.
Test your rules
Once a code has a rule, Test your rules appears under the list. You describe a scanner and it shows which rule they would hit and where they would land. Nothing in the tester is saved or counted as a scan.
- Under Who is scanning, set the device, operating system, country and phone language.
- For scan-count rules, type how many scans the code has had so far.
- Leave the scan time at now, or pick a date and time to check a rule that starts tonight or next month.
- Read Where this scanner lands. Under it, each rule is listed in order with the condition that failed, so you can see why a rule was skipped.
For a Near a place rule the tester says the scanner would first be asked to share their location. Check that one on a real phone, standing in and out of the area.
See which rule people got
Open the code in Analytics. Scans by smart rule shows how many scans each rule served and how many fell through to the main content. Scans by device and by country beside it tell you whether a rule is worth keeping.
The scan export has a Smart rule column too, one row per scan. See scan analytics and exporting scans.
Plans, and what happens on Free
- Smart rules are part of Starter and every plan above it. The Near a place condition needs Pro.
- Every new account has 7 days of Pro with no card, so you can build and test rules before choosing a plan.
- On Free, the Smart rules card shows which plan includes it, and switching it on opens an upgrade prompt instead. Codes without rules work as usual.
- If a trial or paid plan ends while a code has rules, nothing changes for 7 days. After that the rules stop deciding and every scanner gets the main content. The rules stay saved and start again the moment you upgrade.
Printing during a trial?
More on what stays live and what pauses is in When your plan or trial ends. For ideas by business, see smart QR codes.