I have video sharing and content sharing enabled for my iOS application with Branch.io deeplinking. When I share my contents from mobile to social networks and any user clicks on the same link from desktop, I would like to redirect them to a particular page in website.How can I achieve this?
Branch's deep links store contextual information about where a user wants to go, where the link was clicked, who originally shared the link, and an almost unlimited amount of custom data. This empowers you to build powerful personalization features to provide users better experiences and happier, stickier users.
A canonical URL is a Branch referred term that represents the corresponding web URL for the in-app content. If your app can already deep link using web URLs, it is recommended to use the $canonical_url key with the web URLs value for deep linked routing for the app.
Flywheel's default redirect behaviorFlywheel automatically redirects what we call secondary domains to the site's primary domain, including the full URL path. This is perfect if you simply want to redirect one domain to another.
Deferred deep links allow you to branch into other channels, promoting specific content within the app safely, where previously with deep links alone this was not possible. This allows engagement of both app users and those without the app installed.
Example: When user click on “Contact Us” link present at bottom of page, he will be redirect to ” Home section” on the same page. When user click on Contact Us link, user will be redirected to top 600 px to “Home section”.
One can use the anchor tag to redirect to a particular section on the same page. You need to add ” id attribute” to the section you want to show and use the same id in href attribute with “#” in the anchor tag.
Example: When user click on “Contact Us” link, he will be redirect to “Contact Us section” on the same page. When user click on “Contact Us” link, user will be redirect to “contact us section”. Method 2 : Using JQuery: The scrollTop () method sets or returns the vertical scrollbar position for the selected elements.
There are several methods to redirect to another webpage using JavaScript. Some of them are listed below: location.href; location.replace() location.assign() Syntax: location.href="URL" or location.replace("URL") or location.assign("URL") Parameters: It accepts single parameter URL which is required. It is used to specify the reference of new ...
Alex from Branch.io here: this is accomplished via the $desktop_url
link control parameter. You can read about how to use it on this docs page
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With