Skip to main content
All Collections3rd-party integrationsAnalytics
How can I add my Branch.io links to Batch push notifications?
How can I add my Branch.io links to Batch push notifications?

Indeed, Branch.io links can be used in Batch notifications for your referral and attribution needs.

Baptiste avatar
Written by Baptiste
Updated over a week ago

Branch.io is a comprehensive mobile attribution & linking platform, that helps you acquire, engage, and measure across all devices, channels, and platforms by providing a holistic view of all user touchpoints.

The good news is that those links can be added to your Batch push notifications to ensure your users can open your notification deeplinks while you keep track of your push opens with Branch.io.

But how?

To add Branch deep links to your campaigns, you just have to add a 'Branch' key with your Branch deep link to your campaign custom payload to handle push notifications, very much like below:

Important note: Remember not to add any deeplink in the dedicated text field, it won't work this way.

⚙️ Prerequisites 

On Android

For this integration to work on Android, you have to wire Batch SDK to Branch SDK in a notification interceptor. The Branch link has to be added to your result intent as shown in this code sample:

More information is in the Branch's official Android documentation.

On iOS 

No intervention whatsoever is necessary on iOS. More information is in Branch's official iOS documentation.


This article belongs to Batch's FAQ. Need more help? Find insightful articles, documentation, case & market studies, guides, and even more in our website's Resources section on batch.com and our blog.

Did this answer your question?