Getting started
dil.im is a smart link service: every short link has a default destination and can send visitors elsewhere depending on their device, operating system, country or language. You can use it three ways — all with the same account:
- Dashboard — create an account at app.dil.im, verify your email, and create links, campaigns and QR codes.
- AI assistants — connect ChatGPT, Claude or another MCP client to
https://mcp.dil.im/mcpand ask for links in plain language. See MCP server. - REST API — create an API key in the dashboard and call
https://api.dil.im/v1. See REST API.
Short links and slugs
A short link is dil.im/ followed by a slug. If you don’t choose one, dil.im generates a readable English slug such as dil.im/blue-fox; as the namespace fills up it may use three words or a short number.
Custom slugs must:
- be 3–64 characters long;
- use only lowercase letters, digits and single hyphens, not starting or ending with a hyphen;
- not be a reserved word (site pages such as
pricingordocs) or offensive.
Slugs are case-insensitive: dil.im/Blue-Fox opens dil.im/blue-fox. The slug of an existing link can’t be changed; its destination, title, rules and expiry can. A link can also expire at a date you set, after which it stops redirecting.
Routing rules
Rules send matching visitors to a different destination. They are checked in order — bypriority (lower first), then by the order you gave them — and the first match wins. Visitors who match no rule go to the link’s main URL. A link can have up to 20 rules.
| Field | Values | Matches when |
|---|---|---|
device | mobile, tablet, desktop | the browser’s device type is one of the values |
os | ios, android, windows, macos, linux, chromeos | the operating system is one of the values |
country | ISO 3166-1 alpha-2 codes, e.g. TR, US, DE | the visitor’s country (worked out at the network edge) is one of the values |
language | language codes, e.g. tr, en, pt-br | the browser’s preferred language matches; en matches en-US, pt-br matches only pt-BR |
Inside one condition, all fields must match (AND); within a field, any value may match (OR). This rule set sends iPhones to the App Store, Android phones to Google Play, and Turkish speakers in Türkiye to the Turkish page:
{
"url": "https://acme.com/spring",
"rules": [
{ "condition": { "os": ["ios"] }, "url": "https://apps.apple.com/app/acme/id123" },
{ "condition": { "os": ["android"] }, "url": "https://play.google.com/store/apps/details?id=com.acme" },
{ "condition": { "country": ["TR"], "language": ["tr"] }, "url": "https://acme.com/tr/bahar" }
]
}Campaigns and UTM tags
A campaign groups links and carries default UTM parameters (source, medium, campaign, term, content). Links created in a campaign get those parameters added to their destination; a value set on an individual link overrides the campaign’s. A typical pattern is one link per channel, each with its own utm_source.
UTM values you give replace the same parameter if it is already in the destination URL; other query parameters are left alone.
Analytics
Every click is recorded with its time, country, device, operating system, browser, preferred language, referring domain and the rule that matched. IP addresses are never stored. Bots and link-preview crawlers (Slack, WhatsApp, search engines…) are still redirected but are flagged and left out of statistics by default.
Click history is kept for 30 days on Free, 2 years on Pro and 5 years on Business, then deleted automatically. Each plan also has a monthly number of tracked clicks; past it, links keep redirecting but new clicks aren’t recorded until the next calendar month.
Previews, warnings and safety
Add + to any link — dil.im/blue-fox+ — to see its destination and rules without opening it. Previews don’t count as clicks.
Destinations are checked when a link is created or changed: against Google Web Risk and URLhaus, by following redirect chains to the end, and by looking at how new the domain is. Links to other URL shorteners, raw IP addresses, data: URLs and look-alike brand domains are refused. Links from new accounts, and links with a suspicious destination, show a warning page before redirecting. Harmful links are frozen or blocked, and the owner is emailed. See the acceptable use policy.
Limits
| Free | Pro | Business | |
|---|---|---|---|
| New links / month | 50 | 2,000 | 20,000 |
| Tracked clicks / month | 5,000 | 100,000 | 1,000,000 |
| Routing rules / link | 2 | 20 | 20 |
| Click history | 30 days | 2 years | 5 years |
| Custom domains | — | 1 | 10 |
| Campaign links / request | 10 | 100 | 100 |
| API requests / minute | 60 | 300 | 1,200 |
Monthly limits reset at the start of each calendar month (UTC). New accounts also have lower limits for their first week: 10 links a day and 20 API requests a minute. Pro and Business are coming soon; custom domains arrive with them.