Branch, a mobile linking platform, helps you acquire, engage, and measure across all devices, channels, and platforms by providing a holistic view of all user touch points.
Branch and Braze help you understand exactly when and where users were acquired as well as how to personalize their journeys through robust attribution and deep linking.
Step 1: Integration Requirements
- This integration supports iOS and Android.
- If you expect more than 100 attributed installs per hour, you will need a Braze Enterprise account. See API Restrictions for more information.
- Your app will need Braze’s SDK and Branch’s SDK installed.
- You will need to enable IDFA collection in Braze’s SDK.
- If you have an Android app, you will need to include the code snippet below, which passes a unique Braze device id to Branch. You must set the correct key before calling
initSession. You must also initialize the Braze SDK before setting the request metadata in the Branch SDK.
1 2 3 4 5 Branch.getInstance().setRequestMetadata("$braze_install_id", Appboy.getInstance(this).getInstallTrackingId()); ... Branch.initSession(...);
Step 2: Getting the Attribution ID
In your Braze account, navigate to “Technology Partners” , then “Attribution” and find the API key and REST Endpoint in the Branch section. The API key and the REST Endpoint are used in the next step when setting up a webhook in Branch’s dashboard.
Step 3: Setting Up A Webhook from Branch
Follow these instructions to add a webhook in Branch’s dashboard. You will be prompted for the key and REST Endpoint that you found in Braze’s Dashboard in Step 2.
Step 4: Confirming the Integration
Once Braze receives attribution data from Branch, the status connection indicator on “Technology Partners” , then “Attribution” will change to green and a timestamp of the last successful request will be included. Note that this will not happen until we receive data about an attributed install. Organic installs are ignored by our API and are not counted when determining if a successful connection was established.