Back to Guides
September 20265 min read

How to Set Up Conditional Dynamic Routing

Sharing different links for iPhone users, Android users, and desktop visitors gets messy fast. Dynamic conditional routing lets you use one single short link that automatically sends each person to the right destination based on their location and device.

What Is Dynamic Routing?

Normally, a short link sends everyone who clicks it to the exact same web address. With dynamic routing, you can set simple rules. If a visitor meets the conditions in your rule, they get redirected to a specific URL. If they do not match any rule, they land on your default destination URL.

The 4 Criteria You Can Use

  • Country:Match visitors by their country using standard country codes (like Portugal, United States, or Germany).
  • Region:Target specific states or provinces within a selected country (like California in the US or Lisbon in Portugal).
  • Platform:Target mobile operating systems specifically: iOS (iPhones and iPads) or Android.
  • Device:Filter by hardware form factor: Mobile, Tablet, or Desktop.

Real-World Examples

App Store Smart Routing

Put one link on your poster or website:

Rule 1: If Platform is iOS → Apple App Store

Rule 2: If Platform is Android → Google Play Store

Default: Web marketing landing page

Localized Storefronts

Direct shoppers straight to their regional store:

Rule 1: If Country is United Kingdom → .co.uk shop

Rule 2: If Country is Portugal → .pt shop

Default: Global .com shop

How Rules Work

  1. First match wins: Rules are checked in the order you create them (Rule 1, then Rule 2, up to Rule 5). As soon as a visitor matches a rule, they are redirected immediately.
  2. Conditions inside a rule use AND: If you add multiple conditions to Rule 1 (for example, Country is Portugal AND Device is Mobile), the visitor must match all of them for that rule to trigger.
  3. The default URL is your safety net: If someone clicks from a country or device that does not match any of your rules, they will always end up on your main destination URL without errors.

Step-by-Step: Adding Rules in EZY

1
Open Link Creation: Click the "Create Link" button on your dashboard, or edit an existing link from your links list.
2
Expand Advanced Options: Click "Dynamic Routing" to open the routing section.
3
Add a Rule: Click "Add Rule". Pick your criteria (Country, Region, Platform, or Device) and operator (is / is not).
4
Enter Destination: Put the exact destination URL for visitors who match this rule.
5
Save Link: Save your link. Test it from your phone and desktop to confirm both route exactly where you expect.

Ready to try dynamic routing?

Create your first smart link on your dashboard today.

Go to Links