For more information about deep link URLs, visit How to Deep Link to Your Mobile App from Your Website.
Formatting the Deep Link URL
For information on how to create properly formatted Invoke URLs, reference the technical documentation provided by the native platforms themselves.
For iOS, reference the "Registering Custom URL Schemes" section for information on how to set up URL schemes and handle deep links in your app delegate:
On Android, reference how to set a URL data scheme in an intent filter:
Learn how to read the data from the intent when your app is launched:
If your Application and Activities are instrumented according to our Android Quick Start guide, then the opened url should automatically be recorded as the referral source for the app launch.
However, note that Chrome on Android has a different URL format than the standard Android browser:
Below is example code that first tries to open the app for existing users (with the app already installed) and redirect new users to download the app via a TUNE link to the app store.