Send iPhones to the App Store, Android phones to Google Play, and everyone else to your website, all from the same link.
Printing two QR codes, or asking people to "tap here for iPhone, here for Android", loses people. With device routing, a single Gajo link checks the visitor's device on every click and sends them to the destination you set for it.
| Device slot | Who it matches | Example destination |
|---|---|---|
iOS | iPhone | App Store listing |
Android | Android phones and tablets | Google Play listing |
Mobile | Other phones | Mobile site |
Tablet | Other tablets | Tablet-friendly page |
Desktop | Desktop and laptop browsers | Your website |
Default | Anything not matched above | Your website |
Use only the slots you need. The operating system slots (iOS, Android) win over
the device-type slots, and Default catches everyone else.
Open the app when it's installed. Any slot can be an app deep link with its own fallback, so iPhone users with your app land in it, and iPhone users without it land on the App Store.
Create a reusable route template once:
curl -X POST https://gajo.io/api/v1/route-templates \
-H "x-api-key: YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"name": "app-store-router",
"rules": [
{ "deviceType": "IOS" },
{ "deviceType": "Android" },
{ "deviceType": "Default" }
]
}'
Then bind it to any of your links, with a destination for each slot:
curl -X POST https://gajo.io/api/v1/urls/YOUR_CODE/binding \
-H "x-api-key: YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"templateType": "Device",
"templateName": "app-store-router",
"endpoints": [
{ "slotKey": "IOS", "targetUrl": "https://apps.apple.com/app/example/id123456789" },
{ "slotKey": "Android", "targetUrl": "https://play.google.com/store/apps/details?id=com.example" },
{ "slotKey": "Default", "targetUrl": "https://example.com" }
]
}'
Routing endpoints need a Pro API key. See the API docs for the full reference.
Open your app when it's installed, and send everyone else to the App Store, Google Play, or your site.
ProSplit traffic between landing pages from a single link, with click counts for each variant.
Free plan includedShorten links from your own code with a free API key. No credit card needed.
Device routing is part of Gajo Pro at $9.99 a month, along with deep links, custom codes, and A/B split links.
Create Free Account