When a web page links to an app screen and the app is not installed, the user sees a blank page or an error. Universal Links (iOS) and App Links (Android) solve the installed case but leave the uninstalled case broken unless you plan for it.
The fallback chain
Try the universal/app link.
If the app is not installed, the OS falls through to the web URL.
The web URL should be a full-featured page, not a "download our app" interstitial.
<a href = "https://example.com/games/slots" > View Slots </a>
Enter fullscreen mode
Exit fullscreen mode
The .well-known/assetlinks.json (Android) and apple-app-site-association (iOS) files declare that the app handles this URL pattern. If the app is present, the OS intercepts the navigation. If not, the browser loads the web page normally.
Deferred deep linking
For marketing campaigns, you want the link to work even if the user installs the app after clicking. Store the intended destination in a first-party cookie before redirecting to the app store:
document .β¦