Branch.io is an industry leader in cross-platform attribution, mobile app measurement, and deep linking. Many top-ranking apps use Branch to increase their performance and revenue through better performance and engagement.
Find the open source transformer code for this destination in the GitHub repository.
Once you have confirmed that the source platform supports sending events to Branch, follow these steps:
From your RudderStack dashboard, add a source. Then, from the list of destinations, select Branch Metrics.
Assign a name to the destination and click Continue.
Connection settings
To successfully set up Branch as a destination, you will need to configure the following settings:
Branch key: Enter your Branch key from the Settings section in the Branch dashboard. For more information on obtaining this key, see FAQ.
Map Your Events To Branch Events: Use this setting to map your RudderStack events to specific Branch events from the dropdown.
Note that:
This setting is currently available in cloud mode only.
The mappings specified using this setting override the default event mappings configured by RudderStack internally.
Client-side Events Filtering: This setting lets you specify which events should be blocked or allowed to flow through to Branch. For more information on this setting, see the Client-side Events Filtering guide.
If needed, add the following optional dependencies required by Branch in the dependencies section:
// required if your app is in the Google Play Store (tip: avoid using bundled play services libs)
implementation'com.google.android.gms:play-services-ads-identifier:17.1.0+'// alternatively, use the following lib for getting the AAID
// implementation 'com.google.android.gms:play-services-ads:17.2.0'
// optional
// Chrome Tab matching (enables 100% guaranteed matching based on cookies)
implementation'androidx.browser:browser:1.0.0'// Replace above with the line below if you do not support androidx
// implementation 'com.android.support:customtabs:28.0.0'
Change the initialization of the SDK with the following:
This site uses cookies to improve your experience while you navigate through the website. Out of
these
cookies, the cookies that are categorized as necessary are stored on your browser as they are as
essential
for the working of basic functionalities of the website. We also use third-party cookies that
help
us
analyze and understand how you use this website. These cookies will be stored in your browser
only
with
your
consent. You also have the option to opt-out of these cookies. But opting out of some of these
cookies
may
have an effect on your browsing experience.
Necessary
Always Enabled
Necessary cookies are absolutely essential for the website to function properly. This
category only includes cookies that ensures basic functionalities and security
features of the website. These cookies do not store any personal information.
This site uses cookies to improve your experience. If you want to
learn more about cookies and why we use them, visit our cookie
policy. We'll assume you're ok with this, but you can opt-out if you wish Cookie Settings.