Ramon Canales
Ramon Canales

Reputation: 972

How to pass link query params to deeplink using Branch.io

Is it possible to create a branch link that receives a query param, and then use this parameters as a path param to the deeplink passed to the app?

Example:

Would this be possible (having this dynamic :id parameter)?

Upvotes: 1

Views: 3680

Answers (2)

nicoaguilar
nicoaguilar

Reputation: 31

Trying to do this in 2024, is still not possible?

I want to pass the deeplink://pages/ID

to www.domain.com/web/ID

Please your feedback.

Upvotes: 0

Kartik Shandilya
Kartik Shandilya

Reputation: 3924

If your use case is to create dynamic links then definitely it is possible. If you would like to append custom data to one of the Quick Links you can do it in the following way -

https://your.app.link/fzmLEhobLD?content_id=123

For long links which can be created without network calls to Branch, you can have something like this -

https://your.app.link/fzmLEhobLD?foo=bar&baz=456&$fallback_url=https%3A%2F%2Fbranch.io%2F 

Similarly a dynamic long link would be -

https://your.app.link/?foo=bar&baz=456&$fallback_url=https%3A%2F%2Fbranch.io%2F

You can reference the following Branch Documents for all above examples -

https://help.branch.io/using-branch/docs/creating-a-deep-link#section-create-deep-links

https://help.branch.io/using-branch/docs/creating-a-deep-link#section-long-links

Upvotes: 3

Related Questions