Link rules
Updated
Link rules decide where each link opens:
- In the app — the page loads inside your app
- In-app browser — a browser sheet opens on top of your app
- Outside the app — the phone's browser or another app opens
Patterns
Rules match URLs with * as a wildcard. Matching ignores upper and lower case and works with or without https://.
rules.txt
*.instagram.com/* → Outside the app
maps.google.com/* → Outside the app
checkout.shopify.com/* → In the appOrder matters
Rules are checked from top to bottom; the first match wins. Links that match no rule open in the app, so add rules for social networks, maps and other sites you want to send outside.
Shopify
Shopify stores get rules for checkout, Shop Pay and customer accounts automatically.
Was this helpful?