Source: https://nishanth-fern-test.docs-staging.pageloop.ai/mobile/deeplink

# Deeplink

Deep link enables you to link content present in your app itself. Embed a Deep link in Whatfix Mobile projects such as Walkthrough, Pop-ups, and more inside project elements such as buttons and text. Once the element is clicked, the added deep link page opens.

#### Setup a Deep Link

You need to set up a deep link in your app's AndroidManifest.xml. Android supports both **app\://some-page** and **<http://www.app.com/some-page>** type schemes.

Consider that you have a profile page, and you want to add deep link capability to that, use the following code snippet:

```plaintext
<activity android:name="app.ProfileActivity">    
    <intent-filter>
        <action android:name="android.intent.action.VIEW" />
        <category android:name="android.intent.category.DEFAULT" />
        <category android:name="android.intent.category.BROWSABLE" />
        <data android:scheme="http"
              android:host="www.app.com"
              android:pathPrefix="/profile" />
        <data android:scheme="app"
              android:host="profile" />
    </intent-filter>
</activity>
```

#### Deep Links in Flow Menu

When configuring a Flow Menu (such as Walkthrough Checklist or Walkthrough Menu), add a Deep Link for a particular menu item. It is better if that menu item of the Flow Menu starts on a different page (not the same as the Flow Menu). With the help of Deep link, Whatfix Mobile SDK can go to the required page.

Consider that you want to add a deep link with the Checklist Flow Menu, ![walkthrough\_checklist\_deeplink\_android.png](/images/56/walkthrough_checklist_deeplink_android-563d0ffd.png)

Consider that the menu item **Create a follow-up task** is configured on a different page (not the same as the start screen). To go to the required page, add the deep link.

1. Click **Create a follow-up task**.
2. In the **DEEPLINK** section, add your configured deep-link URL. ![Walkthrough\_Checklist\_deeplink\_url\_android.png](/images/75/Walkthrough_Checklist_deeplink_url_android-75d50262.png)

For example, consider the flow menu starts in the Home Screen and **Create a follow up task** needs to start from the Create Task Screen. To redirect from Home Screen to Create Task Screen, configure a deeplink **app\://task** and add it to the Create a follow up task flow in the Whatfix Mobile Dashboard.

#### Deep link with Elements

Go to a particular screen using the Whatfix Mobile Elements with a deep link enabled in the button.

For example, consider you want your end user to be redirected to the offers page when they click the **Avail Offer Now** button, you can configure a deeplink **app\://offer-page** and add it to the button in the Whatfix Mobile Dashboard. ![Android\_url\_deep\_link.png](/images/16/Android_url_deep_link-1613e5bd.png)
