A follower in Toronto taps "Shop" and lands in a US store that won't ship to Canada. Another, on an Android phone, taps "Get the app" and lands on an App Store listing they can't install from. Neither sends you a message about it. They just leave, and your analytics record two perfectly healthy clicks.
Link rules close that gap. One link on your page can send each visitor to a different address, depending on the country they're in or the device they're holding. The button looks the same to everyone; only the destination changes.
This guide covers exactly how Linkbase picks the destination, four setups worth the effort, the cases where a rule is the wrong tool, and a test routine that finds the holes before your followers do.
What you'll learn
- How Linkbase picks a destination, and the limits of a single rule
- Four setups that earn their place: app stores, regional shops, language sites and where-to-buy pages
- How to order rules when country and device point different ways
- When a link rule is the wrong tool, and what to use instead
- What rules use about a visitor, and a test routine that covers the fallback
How Linkbase picks a destination
A link rule is a condition plus an address. Each rule looks at one thing:
- Country: where the visitor is when they tap. One rule can list up to 60 countries.
- Device: iPhone and iPad, Android (phones and tablets), or computer, which covers everything else.
A link can carry up to 10 rules. When someone taps it, Linkbase checks the rules from the top, and the first one that matches wins. If none matches, including when the country can't be worked out, the visitor goes to the link's normal address.
Two things follow. Order matters: a visitor who fits two rules always gets the higher one. And the normal address is your fallback, so it has to work for everyone, including people in countries you never planned for.
A few limits to know before you plan:
- A rule checks country or device, never both at once.
- Rules work on links that open an address, not on links that open one of your page's tabs.
- A link behind a gate (a password, an email or an age check) ignores its rules and uses its normal address.
- Rules change where a link goes, not whether it shows. Everyone sees the button.
Link rules are on Pro and Team plans.
Four setups that earn their place
1. One "Get the app" button for every phone
- Rule 1: iPhone and iPad go to your App Store listing.
- Rule 2: Android goes to your Google Play listing.
- Normal address: your website.
The website catches computers, and it also catches some iPads (more on that in testing), so make it a real landing spot: both store badges and one line on what the app does. If you'd rather show both badges on the page itself, the app store buttons block does that; rules are for when you want a single button. Our guide for creators in India shows both options side by side.
2. One "Shop" button for regional stores
Say you run a skincare brand with a US store, a UK store, an EU store, and an international store for everywhere else:
- Rule 1: United States goes to the US store.
- Rule 2: United Kingdom goes to the UK store.
- Rule 3: Germany, France, the Netherlands, Spain, Italy and every other EU country you ship to go to the EU store.
- Normal address: the international store.
Build rule 3 from the EU store's actual shipping list, not from memory. If you add Norway because it feels European and that store doesn't ship there, the rule does more harm than no rule at all.
3. A website in the visitor's language
If your website has language versions, you can send visitors in Mexico, Colombia, Argentina and Spain to the Spanish one. If it has both Brazilian and European Portuguese, give Brazil and Portugal a rule each rather than lumping them together.
Be careful: a country isn't a language. Switzerland has four national languages, Belgium three official ones and Canada two. For countries like those, send visitors to a page where they choose, or leave them on the fallback. If you'd rather keep several languages on your page itself, our guide to one page, many languages covers tabs per language.
4. Where to buy, when partners differ by region
Plenty of things are sold through different partners in different places. A band's European dates might sell on one ticket site and its North American dates on another. A book might sell through different retailers in Australia, the UK and the US. A food brand might sell direct at home and through a distributor abroad.
In each case, one button replaces a list of flags, and the visitor lands where they can actually buy instead of on a "not available in your region" message.
When country and device disagree: a worked example
Here's a rule list for a fitness app with a German-language website:
| Order | Rule | Goes to |
|---|---|---|
| 1 | iPhone and iPad | App Store listing |
| 2 | Android | Google Play listing |
| 3 | Germany, Austria | German website |
| Fallback | Everyone else | English website |
Now walk some visitors through it:
- On an iPhone in Berlin: rule 1 matches first, so they go to the App Store and never reach rule 3.
- On a laptop in Vienna: rules 1 and 2 don't match, rule 3 does, so they get the German website.
- On a laptop in Dublin: nothing matches, so they get the English website.
If you'd rather send everyone in Germany and Austria to the German website, phone or not, move rule 3 to the top. For every button, ask one question: when country and device point different ways, which matters more here? For an app download, it's usually the device. For a shop with regional pricing, it's the country.
When a link rule is the wrong tool
Rules are a convenience that guesses on the visitor's behalf. Skip them when a wrong guess costs more than an extra tap.
- When visitors should choose. An English speaker in Montreal or an expat in Seoul may not want the version their country suggests. Two clearly labeled buttons ("Shop in English", "Boutique en français") beat a clever button that guesses wrong.
- To enforce where you're allowed to sell. Country comes from the visitor's network connection, and a VPN changes it in seconds. If an offer is restricted to one country for legal reasons, the destination site has to check; a link rule is not a gate.
- To hide something. Rules can't hide a link in some countries; everyone sees the same page. If a link must not reach some visitors at all, a public page isn't the place for it.
- When the label isn't true everywhere. If one rule sends some visitors to a waitlist, "Shop now" is now a lie for them. Every destination should match the button's words.
What link rules know about a visitor
At the moment of the tap, a rule needs two facts: roughly where the visitor is, worked out from their network connection, and what kind of device they're on, from the browser. Linkbase uses them to pick the address, sends the visitor on and keeps nothing. Link rules set no cookies and don't store IP addresses.
The click itself is counted in your page analytics like any other link click, in the same cookieless way. Visitors don't sign in to anything, and nothing follows them afterward.
Country detection is approximate. Someone on a VPN appears to be wherever the VPN is, and travelers on roaming mobile data often appear to be in their home country. Plan your rules so a wrong guess still lands somewhere useful, with a way to switch.
How to test your link rules
Rules fail quietly: a visitor who lands in the wrong place just leaves. Test before you share, and again after every change.
- Test on the published page. Rules run only there. A draft preview opens each link's normal address, so it can't show you a rule at work.
- Test each device. Tap the button on an iPhone, an Android phone and a computer. Then try an iPad: Safari on iPad asks for desktop websites by default and describes itself much like a Mac, so Linkbase treats it as a computer. Make sure the computer destination works for iPad owners too.
- Test each country with a VPN set to that country, or ask a friend there to tap. Check the destination's language and currency, not just that it loads.
- Test the fallback. Pick a country and device none of your rules cover, and check that the normal address is a sensible place to land. This is the visitor you're most likely to forget.
Measure what happens next
Linkbase analytics count each link's clicks and show visitors by country and device, which also tells you which rules are worth writing. Clicks aren't split by rule, so add a UTM tag to each rule's address, such as utm_content=uk-store, and read the split in that site's own analytics.
Which plans include link rules?
Link rules are on Pro and Team plans. If you later move to a plan without them, the link keeps working and sends everyone to its normal address. A few other Pro and Team features pair well:
- Scheduled links appear and disappear on their own, useful for a launch or a ticket on-sale date.
- Short links have their own click counts, for sharing one destination outside your page.
- Advanced analytics add cities and attribution, so you can see which channels bring visitors from each market.
See pricing for what each plan includes and the features page for the rest. If you manage pages for clients, our agency guide covers running several brands from one account.
Your link rules checklist
- Check your visitors' countries and devices before writing any rule.
- Decide, per button, whether country or device matters more, and order rules to match.
- Group countries that share a destination into one rule, using the store's real shipping list.
- Make the normal address work for everyone.
- Test on the published page, on an iPhone, an iPad, an Android phone and a computer.
- Test each country with a VPN or a friend there.
- Give every destination a region or language switcher.
- Retest whenever a store, site or app listing changes its address.
Frequently asked questions
Can one rule check both country and device?
No. Each rule looks at either the visitor's country or their device. If both matter for one button, decide which matters more and put that rule first, since the first match wins.
What happens if a visitor matches no rule?
They go to the link's normal address. The same happens when Linkbase can't work out the visitor's country, which is why the normal address should work for everyone.
Do link rules use cookies or store personal data?
Link rules set no cookies and don't store IP addresses. Linkbase works out the visitor's country and device when they tap, sends them on, and doesn't keep either.
Do clicks still show up in my analytics?
Yes. A click on a link with rules counts as a click on that link, like any other. Analytics don't show which rule each click matched, so tag each rule's address with UTM parameters if you need that split.
Which plans include link rules?
Pro and Team plans. Every plan starts with a free trial, no card needed.