# One QR with destination by iPhone, Android, language or country | aiLinks

> Make the same link or QR go to the App Store on iPhone, Google Play on Android, or another site based on language or country. Up to 10 ordered rules with fallback.

- **Source (source):** https://aistohire.com/dynamic-qr-codes-editable-short-links-206/f/qr-link-by-device-language-or-country
- **Platform (platform):** AIstoHire
- **Language (language):** en

## In summary

- One QR code that leads to a different site depending on who scans it
- Rules by system, language, or country: iPhone to the App Store, Android to Google Play, and everyone else to your website. The printed code always stays the same.
- One poster for iOS and Android
- Three conditions that cover what actually changes
- You decide the order

## One QR code that leads to a different site depending on who scans it

Each aiLinks link can hold up to ten routing rules. A rule is a condition and a destination: "if the system is iOS → the App Store", "if the browser language is English → the English version of your site", "if the country is Mexico → your Mexican store". Rules are ordered and evaluated top to bottom: the first one that matches wins, and routing stops there.

If none match, the link's main destination is used as a fallback. There's never a blank screen or error: anyone who doesn't match any rule goes exactly where they would if you hadn't created any. That's why you can start with a single rule and add the rest with the poster already printed.

Conditions are read from the scan request itself: the operating system from the user-agent (iOS, Android, or "Others"), the browser language from Accept-Language—an "es" rule also catches someone with their phone set to es-MX—and the country from the CDN's network geolocation. Each rule's destination is validated just like the main one: only http and https, no weird schemes and no pointing to another aiLinks short link to avoid loops.

The editor lives in the link's details, under Options → Routing. You add a rule by choosing condition and destination (web, WhatsApp with message, phone, or PDF), move it up or down with the arrows to decide what wins, and delete it with the trash can. There's a one-touch iOS/Android template for the most common case. When you save, the redirect updates instantly for the next scan.

## What's included

- **One poster for iOS and Android** — the one-touch template creates the iPhone rule pointing to the App Store and you add the Android one to Google Play. No one lands on the wrong store again.
- **Three conditions that cover what actually changes** — operating system (iOS, Android, or "Others"), browser language, and scan country. No formulas or code, just choosing from a list.
- **You decide the order** — up to ten rules per link that are evaluated from top to bottom, and the first one that matches wins. If a country rule should take precedence over a language rule, just move it up with the arrow and you're done.
- **Guaranteed fallback** — if no scan matches any rule, the main destination of the link opens. Routing adds cases, it never breaks what was already working.
- **Each rule can have its own destination type** — a website, a WhatsApp with a pre-written message, a phone number, or a PDF. You're not forced to make all paths a URL.
- **Validated destinations in rules too** — only http and https, dangerous schemes blocked, and loop detection so that a rule doesn't point to another aiLinks short link.
- **You know which rule is working** — the link statistics include the "Applied Rule" block showing the distribution of scans by rule, and the clicks CSV includes a column with the rule for each one.
- **Rules and poster are independent** — you can add, reorder, or remove rules whenever you want without reprinting anything, because the QR keeps encoding the same short link. And it doesn't consume AI credits: it's aiLinks' own logic.

## Frequently Asked Questions

### Can I make a QR code go to the App Store on iPhone and Google Play on Android?

Yes, that's exactly what the one-tap template is for. In the link details, go to Options → Routing, click the "iOS/Android" button—which creates the iOS rule already pointing to the App Store—and add a second rule with the Android condition and the Google Play URL. Anyone scanning from an iPhone will go to the App Store, anyone scanning from Android to Google Play, and any other device to the link's main destination, typically your website.

### How many rules can I set and what happens if two match at once?

Up to ten rules per link. They are evaluated in order, from top to bottom, and the first one that matches wins: as soon as one matches, routing stops and the following ones aren't checked. That's why order matters, and you control it with the up/down arrows on each rule. If you want, for example, the country rule to take precedence over the language rule, simply move it above.

### What happens if the scan doesn't match any rule?

The main link destination opens, which works as a fallback. There's no error, no blank page, no choice screen. This means you can add rules to a link that's already printed and circulating without any risk: cases you haven't covered still go where they went before.

### How does aiLinks detect the system, language, and country of the person scanning?

The operating system comes from the browser's user-agent and is reduced to three options: iOS, Android, or "Other" (including computers). The language comes from the browser's Accept-Language header, and matching is by prefix: an "es" rule also catches those who have their phone in es-MX or es-AR. The country comes from the CDN's network geolocation serving the redirect; if the country data doesn't arrive in that scan, country rules simply aren't applied and the fallback is used, because aiLinks doesn't invent a country. No location permission is requested and nothing is installed on the phone.

### Can I see how many scans each rule has redirected?

Yes. The applied rule is saved with each click, so in the link statistics the "Applied rule" block appears with the distribution of scans by rule, alongside the breakdown by country, device, and language. And if you export the CSV of click details, each row includes a column with the rule that was applied in that scan (or empty if it went to the main destination).

- [aiLinks — Short links and dynamic QR codes with editable destination](https://aistohire.com/dynamic-qr-codes-editable-short-links-206)

## About the platform

**aiLinks — Short links and dynamic QR codes with editable destination** — an app by AIstoHire. Available at: https://aistohire.com/dynamic-qr-codes-editable-short-links-206/f/qr-link-by-device-language-or-country

### Other languages

- `es`: https://aistohire.com/es/codigos-qr-dinamicos-enlaces-cortos-editables-206/f/enlace-qr-segun-movil-idioma-o-pais
- `fr`: https://aistohire.com/fr/qr-codes-dynamiques-liens-courts-modifiables-206/f/lien-qr-selon-mobile-langue-ou-pays
- `it`: https://aistohire.com/it/codici-qr-dinamici-link-brevi-modificabili-206/f/link-qr-in-base-a-telefono-lingua-o-paese
- `pt`: https://aistohire.com/pt/codigos-qr-dinamicos-links-curtos-editaveis-206/f/link-qr-segundo-celular-idioma-ou-pais
- `de`: https://aistohire.com/de/dynamische-qr-codes-editierbare-kurzlinks-206/f/qr-link-nach-handy-sprache-oder-land
- `bg`: https://aistohire.com/bg/dinamichni-qr-kodove-i-redaktiruemi-kasi-vrazki-ailinks-206/f/qr-kod-spored-iphone-android-ezik-ili-darzhava
- `ja`: https://aistohire.com/ja/dynamic-qr-code-short-link-206/f/qr-code-redirect-by-os-language-country
- `nl`: https://aistohire.com/nl/dynamische-qr-codes-en-aanpasbare-korte-links-ailinks-206/f/qr-link-per-telefoon-taal-of-land
- `ko`: https://aistohire.com/ko/dynamic-qr-code-short-links-ailinks-206/f/qr-iphone-android-eoneo-guk-ga-byeol-link
- `sv`: https://aistohire.com/sv/dynamiska-qr-koder-och-redigerbara-korta-lankar-ailinks-206/f/lank-qr-efter-mobil-sprak-eller-land
- `da`: https://aistohire.com/da/dynamiske-qr-koder-og-redigerbare-korte-links-ailinks-206/f/qr-link-efter-mobil-sprog-eller-land
- `ar`: https://aistohire.com/ar/rmuz-qr-dinamikia-wruabt-qsira-qabla-lltadil-ailinks-206/f/smart-qr-link-ios-android-language-country
- `no`: https://aistohire.com/no/dynamiske-qr-koder-og-redigerbare-korte-lenker-ailinks-206/f/qr-lenke-etter-mobil-sprak-eller-land
- `fi`: https://aistohire.com/fi/dynaamiset-qr-koodit-ja-muokattavat-lyhyet-linkit-ailinks-206/f/linkki-qr-puhelimen-kielen-tai-maan-mukaan
- `zh`: https://aistohire.com/zh/ailinks-dynamic-qr-short-links-206/f/qr-link-by-phone-language-or-country
- `pl`: https://aistohire.com/pl/dynamiczne-kody-qr-i-edytowalne-krotkie-linki-ailinks-206/f/link-qr-wedlug-telefonu-jezyka-lub-kraju
- `he`: https://aistohire.com/he/kodi-qr-dinmiim-vkishorim-ktsrim-hnitnim-larikh-ailinks-206/f/kishur-qr-lefi-nayad-safa-o-medina
- `cs`: https://aistohire.com/cs/dynamicke-qr-kody-a-upravitelne-zkracene-odkazy-ailinks-206/f/qr-odkaz-podle-mobilu-jazyka-nebo-zeme
- `id`: https://aistohire.com/id/kode-qr-dinamis-dan-tautan-pendek-yang-dapat-diubah-ailinks-206/f/tautan-qr-sesuai-ponsel-bahasa-atau-negara
