Skip to main content

Configuring mobile app deeplinks

Y
Written by Yohan
Updated today

What is a deep-link?

Deep links are a way of redirecting users who have your mobile app to be redirected to it upon opening a product page. In many cases, this is the preferred interaction as mobile app users prefer the user experience of the app and usually are already logged in on the app and may not be on their mobile browser.

Setup

Dataiads is deeplink compatible, meaning that upon being taken to a Dataiads landing page, a user can be redirected to the corresponding product page on the application.

To do this, you’ll need to enable the feature in the Dataiads backoffice, as well as whitelist the Dataiads subdomain in your mobile applications configuration. We’ll show you how to do both of those things in this document.

Enabling deeplinks in the Dataiads backoffice

In order to do this step, you’ll need admin rights.

Go to Settings > Setup & Install.

Here, if you scroll down the page, you’ll see an option called “App deeplink info”.

There are two different types of deeplink configurations: Apple and Android.

The simplest way to set this up is to go to:

  • yoursite.com/.well-known/apple-app-site-association

and

  • yoursite.com/.well-known/assetlinks.json

For each one, copy/paste what is already set on your website into the respective block.

If needed, you can refer to the documentation for Apple and Android.

But it’s unlikely that you will need to change any configurations.

Finally, to enable the deeplink on the Dataiads side, you’ll need to enable the feature for both Apple and Android by toggling the switch.

Enabling deeplinks in the mobile application

Finally, even though you’ve enabled deeplinks in the Dataiads backoffice, you’ll need to allow your app to open links from the Dataiads subdomain.

To do this, please refer to the corresponding documentation for Apple and Android.

Testing

In order to verify that your setup works, you simply need to open a landing page.

Of course, if you have a live experience, you can always test the deeplinks by finding your landing page naturally, just like your customers will.

Otherwise, you can simply open a preview link via the backoffice.

There are two preview links in the backoffice: template preview and experience preview.

Template preview links use the backoffice URL, and will therefore not work for testing deeplinks.

You’ll need to use the experience preview link, this can be found by finding a product in a configured experience, opening its information page, clicking “preview” in the top-right corner, and selecting a variation conferred to open a landing page (not the original page).

Beware: some browsers will cache the deeplink info, so you may need to open your landing page in private browsing if you’ve just toggled the setting on/off.

External documentation


Android


Apple

Did this answer your question?