When a demand partner is interested in sending the user to an installed application (with an optional fallback), they have the option to use the "Smartlink" scheme. This scheme allows advertisers to provide a fallback URL, if the destination of the deep link cannot be found on the device.
This scheme also allows the attachment of appropriate click trackers to both the primary URL and the fallback URL.
Set out below is an example of a smartlink.
smartlink://navigate? primaryUrl=fyberawesomeapp%3A%2F%2Flink& primaryTrackingUrl=http%3A%2F%2Fpx.fyber.com%2FtrackPrimaryClicked& fallbackUrl=http%3A%2F%2Fwww.fyber.com& fallbackTrackingUrl=http%3A%2F%2Fpx.fyber.com%2FtrackFallbackClicked
The smartlink query parameters are made up of 4 components:
|primaryUrl||Query param, usually a deep link to another application which might be installed on the device|
|fallbackUrl||Query param, which takes the user to a webpage if the desired application was not installed on the device|
|primaryTrackingUrl||Query param(s), which is hit using an HTTP GET request when the primary url has been successfully opened|
|fallbackTrackingUrl||Query param(s), which is hit using an HTTP GET request when the fallback URL has been successfully opened|
- The scheme must be exactly "smartlink"
- The host path must be "navigate"
- The tracking URLs can be one or many, all tracking URLs present in the URL are fired when appropriate
For details of Click to Native Browser, click here.