โ† All posts

QR Code Redirect by Country or Language

๐Ÿ• 6 min readยทFor: Exporters, tourism businesses
routinginternational

You'll learn: How one QR code can open a different page depending on the scanner's country or phone language, and how to set the rules in Scnr.

The short answer

A QR code can redirect by country when it is dynamic: the scan passes through a short link that sees which country the phone is in and which language it is set to, then sends it to the page you chose for that country or language. One printed code can open your Sri Lankan price list in Colombo, your UK shop in London, and a Tamil page for phones set to Tamil.

This is useful wherever the same printed item travels: export packaging, a hotel brochure, a trade fair flyer, a product manual.

Illustration comparing a static QR code that opens one page with a dynamic code that passes through a cloud to a page you can swap
Illustration comparing a static QR code that opens one page with a dynamic code that passes through a cloud to a page you can swap

How the redirect works

When a phone opens the code's short link, two pieces of information arrive with it:

  • Country: worked out from the network the phone is using. A phone on a Sri Lankan mobile network shows as LK, one in India as IN.
  • Language: the main language the phone or browser is set to, such as si for Sinhala, ta for Tamil or en for English.

Scnr checks your rules from top to bottom. The first rule that matches decides where the person goes. If none match, they go to the code's main destination. That main destination is your safety net, so make it a page that works for everyone.

Country or language: which to use?

Use country whenUse language when
Prices, currency or delivery differ by countryThe content is the same but should be read in the person's language
A product is only sold in some marketsYou serve Sinhala, Tamil and English speakers in the same town
Laws or labels differ between countriesTourists from many countries visit one place

You can also combine them. For example, phones in Sri Lanka set to Tamil get the Tamil page; everyone else in Sri Lanka gets the Sinhala and English page.

Step by step: set up a QR code redirect by country

Step 1: Create a dynamic Website Link code

Click New QR, choose Website Link, and paste your main destination. This is the page for anyone your rules do not cover, so pick your international or English page.

Create QR content step with the main international page as the destination
Create QR content step with the main international page as the destination

Step 2: Open Smart routing

On the Options step, open Advanced options and find Smart routing. Smart routing is part of Pro and higher plans, and included in the 14-day trial.

Advanced options open on the Options step, showing the Smart routing section
Advanced options open on the Options step, showing the Smart routing section

Step 3: Add a rule for each country

Press + Add rule. In Countries, type the two-letter country codes, separated by commas, such as LK or AE, QA, SA. In Send to, paste the page for that market.

Step 4: Add language rules if you need them

Add another rule and fill Languages instead, such as ta for Tamil or si for Sinhala. Use the arrows to put the most specific rules at the top, because the first match wins.

Step 5: Save and test

Save the code. Test with a friend in another country, or change your phone's language and scan again. Then check the Top countries and languages cards in your stats to see where scans come from.

Analytics showing Top countries and Languages for the routed code
Analytics showing Top countries and Languages for the routed code

Example: a cinnamon exporter in Galle

This is an illustrative example, not a real customer. Chaminda exports cinnamon from Galle to the UK, the UAE and Australia, and sells locally too. His packs used to print three web addresses in small type.

Now each pack has one code with four rules: GB goes to his UK shop page, AE to his wholesale page for Dubai, AU to his Australian distributor, and LK to a local page with LKR prices and a WhatsApp order button. Everyone else gets his international page. When the Australian distributor changes, he updates one rule. The packs already in Sydney follow.

A laptop on a tidy desk with a coffee, a notebook and a printed card with a QR code
A laptop on a tidy desk with a coffee, a notebook and a printed card with a QR code

Things to know before you rely on it

  • Country comes from the network, not the passport. A Sri Lankan visitor in Dubai on local roaming may appear as either country, depending on the network. A VPN can also change the country.
  • Language is a setting, not a person. Many Sinhala and Tamil speakers keep their phone in English. Give every page a visible link to the other languages.
  • The fallback matters most. Most scans in a new market may not match any rule at first. Make the main destination clear and useful.
  • Keep rules few. Three or four rules are easy to manage; twenty are hard to check.

Other rules you can mix in

Smart routing also works by device (phone, tablet, computer), operating system, day of the week and time of day. See device routing and time-based routing for those.

Common questions

Q: Can I use this on a static QR code?
A: No. A static code opens the same link for everyone. Redirects by country need a dynamic code.

Q: Does the person scanning see the redirect?
A: No. They land straight on the page for their country or language.

Q: Which country codes should I use?
A: The standard two-letter codes: LK Sri Lanka, IN India, GB United Kingdom, AE United Arab Emirates, AU Australia, US United States.

Q: Can a Scnr page show Sinhala and Tamil without routing?
A: Yes. Scnr pages and the Restaurant Kit menu already switch between English, Sinhala and Tamil on the page itself. Routing is for sending people to different websites.

Next steps

Try smart routing during your 14-day trial, and learn the time-of-day version in time-based routing. If you print codes on exported goods, also read QR codes on packaging.

Ready to create?