"Download our app" printed next to two QR codes, one with an Apple logo and one with a robot, asks every reader to make a choice before they have even decided they care. Some scan the wrong one. An app store QR code does the choosing for them: one code, and each phone is sent to the listing it can actually install from.
What an app store QR code does
You enter up to three things: your App Store ID, your Google Play package name, and a web fallback. We turn them into a dynamic code whose short link runs one deep-link rule on every scan.
What the person scanning sees depends on their phone:
- iPhone: the App Store listing for your app.
- Android phone: your Google Play listing.
- iPad in Safari: the App Store listing too, if you've given an App Store ID — the scan can't tell an iPad from a Mac by itself, so it shows a brief page that checks for a touch screen before deciding. Without an App Store ID, it goes to your web fallback instead.
- Everything else: your web fallback. That includes laptops (people share links as well as scan them), a real Mac, and devices that don't identify themselves clearly.
You need at least one of the two store ids. If you only publish on one platform, the other platform's phones land on the fallback, which is a good place to say so rather than leaving them at a store page that can't help them.
Telling an iPad from a Mac
Since iPadOS 13, Safari on an iPad requests desktop websites by default. To do that it sends the same User-Agent as Safari on a Mac, so at the moment of the scan an iPad and a Mac are indistinguishable. We don't guess: a guess in either direction strands one group of real people. Instead, whenever there's an App Store ID to offer, the scan gets a brief page whose script checks for a touch screen — the one thing a Mac genuinely doesn't have — and opens the App Store for an iPad, your web fallback for a Mac.
Without an App Store ID, there's nothing on offer that your web fallback isn't, so both a Mac and an iPad go straight there, with no extra page in between.
Either way, the fallback is still the field worth the most care. Make it a page with both store badges and a sentence about what the app does, and it works well for a real Mac, a desktop, and an iPad whenever you haven't set up a store listing. Our post on device routing for app downloads walks through the reasoning in more depth.
Why this has to be a dynamic code
A static QR code can only hold one address, so it can't look at the phone and choose. The choosing happens on our side, on each scan, which is why this type is available on Pro and above and not on the free generator.
It also protects the print run. Apps get renamed, change package ids after an acquisition, or launch on a second store a year after the packaging went out. The printed code keeps working: open the code's App download rule on the Rules tab, update the ids there, and publish.
Where routing fits
The code already routes by device: one deep-link rule, matching every scan, decides where each phone lands, and the iPhone and Android routing page walks through the same App Store/Google Play reasoning in more depth. It's an ordinary rule, so you can open it in the rule builder on Pro and above and add more, for example routing by country when an app is only published in some countries and everyone else should reach a waitlist page. Because the App download rule matches every scan, a rule you add only fires once you move it above it in the list — the rule builder flags an added rule below it as unreachable, as a reminder to move it.
Test the iPad case before you print
Every dynamic code has a scan simulator in its dashboard that runs the same routing code as live scans. Try an iPhone, an Android phone and an iPad, and check that each one lands somewhere useful.
What it can't do
- It doesn't open a specific screen inside your app from the wizard alone. The wizard collects store ids and a fallback. Universal Links, App Links and custom app schemes can be added to the rule afterwards in the rule builder.
- It can't tell an iPad in Safari from a Mac from the scan's request alone. Telling them apart needs the follow-up page's touch-screen check described above, which only runs when there's an App Store ID to send the iPad to.
- It doesn't track installs. Scan analytics count scans, devices and operating systems. Whether someone then tapped Install happens inside the store, where we can't see it.
- It isn't on the free plan. If you only have one store and one permanent link, a static URL QR code pointing at the store listing costs nothing and needs no account.