Smart Redirect Rules

Send visitors to different destinations based on their device or platform

What Are Smart Redirect Rules?

Smart Redirect Rules (also called Targeting Rules inside the link editor) let you send different visitors to different destination URLs based on their country, device, browser, operating system, or referrer. Instead of sharing multiple links for different audiences, you share a single short link that automatically routes each visitor to the right destination.

For example: iPhone users go to the App Store, Android users go to Google Play, Australian visitors go to your AU shop, and everyone else goes to your global website — all from one short link.

The default destination URL is always used as a fallback for any visitor that doesn't match a rule. Rules are checked in order — the first matching rule wins.

Plan requirement: Smart Redirect Rules are available on Pro Toolkit and Agency plans. Free plan users can upgrade from Billing & Settings → Account Plan to unlock this feature.

How Smart Redirects Work

When someone clicks your short link, EziLinks inspects the visitor's request and walks down your rule list from top to bottom:

  1. A visitor clicks your short link
  2. EziLinks detects their country (from IP), device, OS, browser, and referrer
  3. The first rule whose conditions all match wins — the visitor is sent to that rule's URL
  4. If no rule matches, the visitor goes to the default destination URL

Detection happens instantly — visitors are redirected seamlessly with no intermediate page.

Available Conditions

  • Country — pick one or more countries (the editor has chip-style quick-add)
  • Device — Mobile, Desktop, or Tablet
  • Operating system — iOS, Android, Windows, macOS, Linux
  • Browser — Chrome, Safari, Firefox, Edge, etc.
  • Referrer — route by which site sent the visitor

Built-in Presets

  • Apply App Link Rules — one click sets up iOS → App Store and Android → Google Play redirects. Edit the URLs after applying.
  • Add Country Rule — adds a country-based rule with the chip picker
  • Custom Rules — the advanced editor for combining any of the conditions above
Rule ordering matters: More specific rules should sit above broader rules. For example, an "iPhone + US" rule should appear above a "Mobile" rule, otherwise the broader Mobile rule will match first.

Setting Up Smart Redirects

Adding redirect rules to a link takes just a few steps.

1 Go to Links

Click "Links" in the sidebar navigation.

2 Edit or create a link

Click Edit on an existing link, or create a new link using the "+ Create New Link" button.

3 Find the Targeting Rules section

In the link edit modal, scroll to the Targeting Rules section. This is a Pro Toolkit feature and will be visible to users on Pro Toolkit or Agency plans.

4 Pick a starting point

Choose one of:

  • Apply App Link Rules — auto-creates iOS and Android redirect rules
  • + Add Country Rule — adds a country-targeted rule
  • Custom Rules+ Add Targeting Rule — build a rule with any combination of conditions

5 Configure the rule

For each rule, set:

  • Conditions — country, device, OS, browser, and/or referrer
  • Redirect URL — the destination URL for visitors that match

6 Add more rules as needed

Repeat the process to add as many rules as you need — one per platform.

7 Save your changes

Click Save to apply the rules. The default destination URL at the top of the form is used for any platform without a specific rule.

Common Use Cases

App Download Links

This is the most popular use case. Set the default URL to your website, add an iPhone rule pointing to the Apple App Store link, and add an Android rule pointing to the Google Play Store link. One short link works for all platforms — share it on social media, in emails, or on print materials.

Mobile-Optimised Landing Pages

If you have separate desktop and mobile versions of a landing page, use smart redirects to route visitors automatically. Set your default URL to the desktop landing page and add a Mobile rule pointing to your mobile-optimised page or AMP page.

Regional or Platform-Specific Promotions

Show different offers to mobile vs desktop users. For example, mobile visitors might see a special in-app discount while desktop visitors see your standard offer page.

Example Setup

Here is a concrete example of how you might configure smart redirects for an app download link:

1 Default URL

https://yourapp.com

This is the fallback — any visitor whose device does not match a rule goes here.

2 iPhone rule

https://apps.apple.com/app/yourapp/id123456

iPhone and iPad users are sent directly to the App Store.

3 Android rule

https://play.google.com/store/apps/details?id=com.yourapp

Android users are sent directly to Google Play.

4 Desktop rule

https://yourapp.com/desktop-download

Desktop users are sent to a dedicated download page for Windows/Mac.

When shared as a single link, each visitor automatically goes to the right place — no need for separate links or landing pages with manual download buttons.

Tips and Best Practices

  • Always keep a sensible default URL — this is your fallback for any device that doesn't match a rule. Make sure it leads somewhere useful.
  • Test your rules — click the link on different devices (or use browser developer tools to emulate devices) to confirm each rule works as expected.
  • Use "Mobile" for a catch-all — when you don't need separate iPhone and Android destinations, a single Mobile rule covers all mobile devices.
  • Works with other features — smart redirects work alongside all other link features including analytics, retargeting pixels, and password protection.
  • Edit anytime — you can edit or remove rules at any time without changing the short link itself. Your existing shared links continue to work.
Pro Tip: Combine smart redirects with retargeting pixels for powerful campaign tracking — fire different pixels based on which platform the user comes from.
© 2025 EziLinks. All rights reserved.