K

Dynamic Links

Learn how to create dynamic links that redirect based on device, location, time, and more.

Emil Klitmose

Written by Emil Klitmose

Updated recently

Dynamic links are intelligent URLs that redirect users to different destinations based on various conditions like device type, location, time of day, language, and more. They allow you to create a single link that adapts to each visitor's context, providing a personalized experience.

Dynamic links work by evaluating conditions when a user clicks the link and redirecting them to the appropriate destination. For example, you could create a single link that:

  • Redirects mobile users to your mobile app store, while desktop users go to your website
  • Sends users from specific countries to localized versions of your site
  • Shows different content during business hours vs. after hours

To create a dynamic link:

  1. Navigate to the Dynamic Links page in your dashboard
  2. Click the "Create link" button or use the keyboard shortcut (C)
  3. Enter a short code (3-30 characters, letters, numbers, underscores, and dashes only)
  4. Set your default destination URL (where users go if no rules match)
  5. Add rules based on device, location, time, language, or referrer
  6. Optionally add a name, tags, and UTM parameters
  7. Save your dynamic link and start using it!

Redirect Rules

Dynamic links support various types of redirect rules:

Device Rules

Redirect based on device type: Mobile, Tablet, or Desktop. Perfect for sending mobile users to app stores or mobile-optimized pages.

Operating System Rules

Redirect iOS users to the App Store and Android users to Google Play Store, or send them to platform-specific pages.

Country Rules

Redirect users from specific countries to localized versions of your site or country-specific landing pages.

Language Rules

Redirect users based on their browser language preference to the appropriate language version of your site.

Time Rules

Set time-based redirects (e.g., business hours vs. after hours) to show different content or promotions.

Day of Week Rules

Redirect users differently on weekdays vs. weekends, or set specific rules for each day of the week.

Referrer Rules

Redirect users based on where they came from (e.g., social media, email, search engines) to track and personalize their experience.

Rule Priority

When multiple rules could apply, dynamic links evaluate rules in a specific order:

  1. Device rules are checked first
  2. Then operating system rules
  3. Followed by country rules
  4. Then language rules
  5. Time and day rules are evaluated next
  6. Referrer rules are checked last
  7. If no rules match, users are redirected to the default URL

Use Cases

Dynamic links are perfect for:

  • App Promotion: Send mobile users to app stores while desktop users go to your website
  • Localization: Redirect users to country or language-specific versions of your site
  • Time-Sensitive Promotions: Show different offers during business hours vs. after hours
  • Campaign Tracking: Track different sources and mediums with referrer-based redirects

Tip: Always set a default destination URL. This ensures users are redirected even if none of your rules match their context.