Email Integration Guide

Prev Next

This guide covers how to configure and test Branch Email in your dashboard and ESP.

Before you begin

Branch Email requires technical prerequisites to be completed by your development team before you can configure the integration.

Your developers must implement the Branch SDK, enable Universal Links, configure Associated Domains, and set up deep link routing in your app.

See our developer documentation for implementation details.

Enable the integration

To enable the integration:

  1. In the left-hand navigation, click Email.

  2. On the Email overview page, click the Manager tab at the top.

  3. Find your ESP and click Enable.

Note

Branch automatically detects any global link settings you have already provided during the initial setup of your Branch account as outlined above.

If you have not set up your global link settings and redirect preferences, you will be prompted to do so at this time.

Provide click tracking domain

Click tracking domains allow you to track engagement on email opens and link clicks.

If you're unsure what your click tracking domain (CTD) is, take a look at one of your recently sent emails. If you hover over the link or right-click/copy the link address, you will see that the domain of the link in the email does not match the URL in your HTML. This domain is your click tracking domain used by your ESP to provide you click reporting.

Alternatively, use the button below to find your ESP's documentation on how to find your click tracking domain. If no documentation is available, we provide a link on how to contact the support team for your ESP.

Caution

Leave off http:// and https:// when adding your click tracking domain in the Branch Dashboard.

2412

Caution

Before you click NEXT and proceed to the Validate & Test section, please complete the DNS CNAME configuration step, as it's required for passing integration validation. Your development or IT team will need to configure DNS settings.

Important considerations

  • You can enable the integration with multiple CTD if needed, but you cannot add the same CTD to multiple Branch dashboards or ESP integrations.

  • In some ESP integrations, you will also be required to add a "data domain" the ESP uses to collect click data.

    • The ESP selected will dictate whether this field appears or not - if the field does not appear, you're not required to add it.

    • Confirm the data domain with your ESP's account manager.

  • In some ESP integrations, you will also be required to send them the AASA file Branch generates by providing your ESP's contact email.

    • The ESP selected will dictate whether this field appears or not - if the field does not appear, you're not required to add it.

DNS CNAME configuration

Most ESP integrations require updating the DNS record for your click tracking domain to include a CNAME record that points to Branch's domain. Your development or IT team will need to complete this step. See our developer documentation for implementation details.

Test the integration

Once the validation process is complete, you can test the integration by generating a test link. The test link generated by Branch is unique in that it's already converted to a Branch Link for you and allows you to test without creating an email template in your ESP. In reality, this conversion happens behind the scenes once a user clicks on your normal email template link.

To generate a test link:

  1. In the Validate & Test section, input a URL from your website.

  2. Click Get Test Link.

  3. Once the test link is generated, you can share it via:

    1. Copy to clipboard

    2. SMS

    3. Email

Once you've generated your test link, click the link on your mobile device.

Tip

Make sure your mobile device already has the app installed!

Send emails with flagged links

Before you start setting up your email campaigns, you need to determine what flow you want the user to experience and flag your email link accordingly.

Most ESPs support the following user flows:

  • Deep linking users to in-app content

    • Added to your links as a URL query parameter:
      <a href="links.example.com?$deep_link=true" >Link to your app!</a>

    • Added to the HTML:
      <a href="http://example.com" deeplink="true">Link to your app!</a>

  • Linking users to web-only content

    • Added to your links as a URL query parameter:
      <a href="links.example.com?$web_only=true" >Link to your app!</a>

Expand for required link flags for each ESP

ESP name

ESP required link flags

Adestra

  • Deep linking users to in-app content: add $deep_link=true to you links as a query parameter

  • Linking users to web-only content: add $web_only=true to your links as a query parameter

Adobe Campaign Classic

See Dedicated Adobe Campaign Classic Guide

Adobe Campaign Standard

See Dedicated Adobe Campaign Standard Guide

Airship

  • Deep linking users to in-app content: add $deep_link=true as a query parameter

  • Linking users to web-only content: add $web_only=true to your links as a query parameter

Amazon Simple Email Service

  • Deep linking users to in-app content: add $deep_link=true to your links as a query parameter

  • Linking users to web-only content: add $web_only=true to your links as a query parameter

Betaout

  • Deep linking users to in-app content: add $deep_link=true to your links as a query parameter

  • Linking users to web-only content: add $web_only=true to your links as a query parameter

Bluecore

  • Deep linking users to in-app content via UI Editor: select the Deep Link checkbox

  • Deep linking users to in-app content via HTML Editor: add universal="true" to the HTML

⚠️If you are using dynamic links in email, contact Bluecore team to enable link scraping.⚠️

Blueshift

  • Deep linking users to web-only content: add web-only="true" to your HTML code

Braze + Mailjet

  • Deep linking users to in-app content: add $deep_link=true as a query parameter

  • Linking users to web-only content: add $web_only=true to your links as a query parameter

Braze + SendGrid

  • Deep linking users to in-app content: add universal="true" to the HTML

Braze + SparkPost

  • Deep linking users to in-app content: add data-msys-sublink="uni" to the HTML

Braze + SparkPost (query parameter method)

  • Deep linking users to in-app content: add $deep_link=true as a query parameter

  • Linking users to web-only content: add $web_only=true to your links as a query parameter

Campaign Monitor

  • Deep linking users to in-app content: add $deep_link=true  as a query parameter

  • Linking users to web-only content: add $web_only=true to your links as a query parameter

Cheetah Digital Marketing Suite

  • Deep linking users to in-app content: add $deep_link=true as a query parameter

  • Linking users to web-only content: add $web_only=true to your links as a query parameter

CleverTap + Amazon SES

See Dedicated Clevertap + Amazon SES Guide

CleverTap + Mailgun

See Dedicated Clevertap + Mailgun Guide

CleverTap + Mandrill

See Dedicated Clevertap + Mandrill Guide

CleverTap + SendGrid

See Dedicated Clevertap + Sendgrid Guide

CMercury

  • Deep linking users to in-app content: add $deep_link=true as a query parameter

  • Linking users to web-only content: add $web_only=true to your links as a query parameter

Cordial

  • Deep linking users to in-app content: add $deep_link=true as a query parameter

  • Linking users to web-only content: add $web_only=true to your links as a query parameter

Customer.io

  • Deep linking users to in-app content: add $deep_link=true as a query parameter

  • Linking users to web-only content: add $web_only=true to your links as a query parameter

Emarsys

  • Deep linking users to in-app content: add $deep_link=true as a query parameter

  • Linking users to web-only content: add $web_only=true to your links as a query parameter

Epsilon

  • Deep linking users to in-app content: add $deep_link=true as a query parameter

  • Linking users to web-only content: add $web_only=true to your links as a query parameter

ExpertSender

  • Deep linking users to in-app content: add $deep_link=trueto your links as a query parameter

  • Linking users to web-only content: add $web_only=true to your links as a query parameter

Hootsuite

  • Deep linking users to in-app content: add $deep_link=true as a query parameter

  • Linking users to web-only content: add $web_only=true to your links as a query parameter

IBM Watson Campaign Automation

  • Deep linking users to in-app content: add $deep_link=true as a query parameter

  • Linking users to web-only content: add $web_only=true to your links as a query parameter

Iterable v1 (legacy)

  • Deep linking users to in-app content: add $deep_link=true as a query parameter

  • Linking users to web-only content: add $web_only=true to your links as a query parameter

Iterable v2

Kahuna

  • Deep linking users to in-app content: add kahuna_branch_deep_link=true as a query parameter

Klaviyo

  • Deep linking users to in-app content: add universal="true" to the HTML

Leanplum

  • Deep linking users to in-app content: add universal="true" to the HTML

Mailgun

  • Deep linking users to in-app content: add deeplink="true" to the HTML

Mailjet

  • Deep linking users to in-app content: add $deep_link=true as a query parameter

  • Linking users to web-only content: add $web_only=true to your links as a query parameter

MailUp

  • Deep linking users to in-app content: add $deep_link=true as a query parameter

  • Linking users to web-only content: add $web_only=true to your links as a query parameter

Mandrill

  • Deep linking users to in-app content: add $deep_link=true as a query parameter

  • Linking users to web-only content: add $web_only=true to your links as a query parameter

Marketo

  • Deep linking users to in-app content: add $deep_link=true as a query parameter

  • Linking users to web-only content: add $web_only=true to your links as a query parameter

Message Gears

  • Deep linking users to in-app content: add $deep_link=true as a query parameter AND add mobile="true" to the HTML

  • Linking users to web-only content: add $web_only=true to your links as a query parameter

MoEngage

  • Deep linking users to in-app content: add $deep_link=true as a query parameter

  • Linking users to web-only content: add $web_only=true to your links as a query parameter

Optimove

  • Deep linking users to in-app content: add universal="true" to the HTML

Oracle Bronto

  • Deep linking users to in-app content: add deeplink="true" to the HTML

Oracle Eloqua

  • Deep linking users to in-app content: add $deep_link=true as a query parameter

  • Linking users to web-only content: add $web_only=true to your links as a query parameter

Oracle Responsys

See Dedicated Oracle Responsys Guide

Pepipost

  • Deep linking users to in-app content: add $deep_link=true as a query parameter

  • Linking users to web-only content: add $web_only=true to your links as a query parameter

PostUp

  • Deep linking users to in-app content: add $deep_link=true as a query parameter

  • Linking users to web-only content: add $web_only=true to your links as a query parameter

Rapid Mail

  • Deep linking users to in-app content: add $deep_link=true as a query parameter

  • Linking users to web-only content: add $web_only=true to your links as a query parameter

Sailthru v1

  • Deep linking users to in-app content: add $deep_link=true as a query parameter

  • Linking users to web-only content: add $web_only=true to your links as a query parameter

Sailthru v2

Salesforce Open Web Default

See Dedicated Salesforce Open Web Default Guide

Salesforce Open App Default

See Dedicated Salesforce Open App Default Guide

Salesforce Legacy v2

See Dedicated Salesforce Legacy v2 Guide

Salesforce Legacy v3

See Dedicated Salesforce Legacy v3 Guide

Selligent Marketing Cloud

  • Deep linking users to in-app content: add $deep_link=true as a query parameter

  • Linking users to web-only content: add $web_only=true to your links as a query parameter

Selligent Message Studio

  • Deep linking users to in-app content: add $deep_link=true as a query parameter

  • Linking users to web-only content: add $web_only=true to your links as a query parameter

Sender

  • Deep linking users to in-app content: add $deep_link=true as a query parameter

  • Linking users to web-only content: add $web_only=true to your links as a query parameter

SendGrid

  • Deep linking users to in-app content: add universal="true" to the HTML

Smartech

  • Deep linking users to in-app content: add $deep_link=true as a query parameter

  • Linking users to web-only content: add $web_only=true to your links as a query parameter

SocialFlow

  • Deep linking users to in-app content: add $deep_link=true as a query parameter

  • Linking users to web-only content: add $web_only=true to your links as a query parameter

Vero

  • Deep linking users to in-app content: add universal="true" to the HTML

WhatCounts

  • Deep linking users to in-app content: add $deep_link=true as a query parameter

  • Linking users to web-only content: add $web_only=true to your links as a query parameter

Yes Marketing

  • Deep linking users to in-app content: add $deep_link=true as a query parameter

  • Linking users to web-only content: add $web_only=true to your links as a query parameter

Yiye Technology

  • Deep linking users to in-app content: add $deep_link=true as a query parameter

  • Linking users to web-only content: add $web_only=true to your links as a query parameter

FAQs

Why is there an additional Safelink redirect on top of my Click Tracking Domain?

While testing your Branch Email integration, you may see an additional wrapping around your email links. Platforms like Outlook will add an additional redirect for security purposes.

For example - you might see https://safelinks.protection.outlook.com/ before a 302 Redirect to the Click Tracking Domain.

Fix: Send and open the email to a non-Outlook email address

How can I request a new Email partner?

Have your Email Service Provider (ESP) Account Manager fill out the Branch Partner Profile form.

How can I send additional data to my ESP?

Branch's Branch Email integration will automatically send click tracking analytics to ESPs. Some ESPs have formal data integrations with Branch to send additional data like installs.

Please refer to Branch's Data Integrations Partner List to see if your ESP supports this.