Skip to content
AppQR

Free tools

Device-based redirect link

One short link that redirects each visitor by device: Android, iPhone and iPad, Windows, Mac and Linux to their own addresses, everyone else to a default.

Where should each device go?

Leave one empty and it uses the default.

Try it: pretend to scan the code with

An iPhone or iPad goes straight to apps.apple.com/app/vlc-media-player/id650377962

QR code for https://go.appqr.org/vlc?qr=1
go.appqr.org/vlc
go.appqr.org/
Save link and get the code

Free for your first 2 links. You only make an account when you save.

The example is VLC media player, with its real store and download pages. AppQR is not affiliated with VLC or VideoLAN. Replace the addresses with your own to see where each device would go.

What each device gets

Fill in a row for each device you care about, and a default. A visitor whose device has no row of its own, or cannot be recognised, goes to the default. Try it above: choose a device under "Try it" to see where it would land.

When a hosted redirect beats doing it yourself

A redirect by device is a few lines of code on your own server. A hosted link is worth it when you also want a QR code, scan counts, or a way to change destinations without a deploy, or when you have no server to put it on.

If you would rather build it, this guide has working code and the pitfalls to avoid.

Honest limits

  • An iPad that asks for desktop websites says it is a Mac, so it gets the Mac destination.
  • A phone set to "desktop site" gets the destination for the computer it claims to be.
  • Phones and tablets are not told apart, except that on Business a phone-brand destination can send iPads somewhere of their own.
  • The link opens a web address, not an installed app.

Questions

How does a link know which device opened it?

Every browser sends a short description of itself, called the user agent, with each request. It names the operating system. The link reads it on the server and redirects at once, without running code on the visitor's device or setting a cookie.

Which devices can have their own destination?

Android, iPhone and iPad, Windows, Mac and Linux, plus a default for everything else. Business plans can also send particular phone brands, countries or languages to their own addresses.

What happens if the device cannot be recognised?

The visitor goes to the default address. The link never guesses, so nobody is sent to a store they cannot use.

Is there a page or a delay before the redirect?

No. There is no waiting page, advert or countdown. The redirect happens in the same response.

Can I see which devices opened my link?

Yes. Each link shows its scans and the platforms they came from, and Pro and Business add fuller breakdowns. Scans are counted without cookies and without storing raw IP addresses.