> ## Documentation Index
> Fetch the complete documentation index at: https://docs.dashlink.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Dynamic traffic routing

> How to send shortlink clicks to different destinations based on country, language, device, browser, OS, or time rules.

**Dynamic traffic routing** sends visitors to alternate destinations when rule conditions match. Rules are evaluated in order; the first match wins. Everyone else gets the default destination.

## Prerequisites

* Your plan includes dynamic routing.
* You are on create or edit shortlink (`/app/shortlinks/create` or `/app/shortlinks/edit?s=…&section=dynamic_routing`).

## Steps

**1. Enable Dynamic Traffic Routing**

Open the **Dynamic Traffic Routing** section and turn it on.

**2. Add a rule**

Add a rule (up to 10). Choose a condition dimension (country, language, device/platform, browser, OS, or time fields), an operator (**is** / **is not**), and values.

**3. Set the rule destination**

Enter the alternate destination URL for that rule.

**4. Order rules intentionally**

Broader rules lower in the list only run if earlier rules do not match.

**5. Save**

Create or update the shortlink.

![Dynamic traffic routing rules on a shortlink](https://mintcdn.com/dashlink/dI1L7IwD_tmvTbZR/images/help/shortlinks/dynamic-routing.png?fit=max\&auto=format\&n=dI1L7IwD_tmvTbZR\&q=85\&s=890daa88b3d2b077b470aac025233283)

## View rules from the list

On **Shortlinks**, open the routing action on a row to view rules read-only, then **Edit** to change them.

## Related

* [Create a shortlink](https://docs.dashlink.ai/help/shortlinks/create.md)
* [Shortlink analytics](https://docs.dashlink.ai/help/shortlinks/analytics.md) (routing breakdown when enabled)
* API: [Routing rules](https://docs.dashlink.ai/guides/links/routing-rules.md)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.