How to get details from link_click_id in Branch.io

Viewed 902

When clicking the button from the email which has the below Branch URL

http://my.app.link/feed/response/MyUniQuEId

redirect me to my app but the url received is something like below:

myapp://open?link_click_id=123456789

How can we get the http://my.app.link/feed/response/MyUniQuEId from the link click id in react native.

When opening from messenger these links are not getting changed but when clicking from mail the branch URL is getting changed like above.

2 Answers

A Branchster here -

You can not read the referring link from the link click ID. It's a unique parameter that Branch appends for attribution.

Please reference the following documentation to read the deep link data and you can check for the referring link in the link payload given by the Branch SDK - https://help.branch.io/developers-hub/docs/react-native#read-deep-link

I encountered the same issue. Make sure to double check that the deep link is configured correctly in the manifest.

<intent-filter android:autoVerify="true">
       <action android:name="android.intent.action.VIEW" />
       <category android:name="android.intent.category.DEFAULT" />
       <category android:name="android.intent.category.BROWSABLE" />
       <data android:scheme="https" android:host="my.app.link" />
</intent-filter>
Related