Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Redirecting to a particular page in website when clicked on link shared from Mobile via Branch.io

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?

like image 985
akhiljij Avatar asked Dec 02 '16 05:12

akhiljij


People also ask

How does branch IO deep linking work?

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.

What is canonical URL in branch IO?

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.

What is default redirect behavior?

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.

How does Branch deferred deep linking?

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.

What is an example of a redirect in a website?

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”.

How to redirect to a particular section on the same page?

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.

How to redirect user to “contact us” on the same page?

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.

How to redirect to another webpage using JavaScript?

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 ...


1 Answers

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

like image 109
Alex Bauer Avatar answered Nov 01 '22 22:11

Alex Bauer