Skip to content
Docs and guides

Help Center

Step-by-step guides for every setting in App Studio.

Link rules

Updated

Link rules decide where each link opens:

A tapped URL is routed to the app, an in-app browser or the external browser.
Choose link destinations deliberately and test checkout, sign-in and external websites on a device.View full size
  • 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 app

Order 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?