Skip to main content
SendGrid → BranchIntegration guide

Connecting SendGrid to Branch

SendGrid carries both transactional and marketing mail through one account, which is convenient operationally and the source of the measurement problem: only one of those two streams has anything to do with acquisition. Branch's real job is the web-to-app seam — a person clicks a link in a browser, installs the app, and something has to carry the context across an install that destroys every cookie involved. The join between them succeeds or fails on one thing: whether the Branch link click identifier and the deferred deep link payload reaches the SendGrid send before the conversion happens, because Branch can only match a conversion it can tie back to a click it recognizes.

Free30 minutesNo obligation

Specific to this pair

SendGrid and Branch: universal links that survive click tracking

Branch provides deferred deep linking from SendGrid email, but SendGrid's click-tracking redirect blocks universal links unless a branded click-tracking domain's association file lets the app claim the link; check Branch's current guide. Report app purchases once, from SDK or server with a shared identifier, and pass a SendGrid campaign identifier into Branch links.

Branch's job in this pair is deferred deep linking from email: a SendGrid recipient taps a link, lands on the right screen in the app if they have it, or installs and still lands there if they do not. SendGrid's click tracking interferes with that, because every link is rewritten through a redirect domain, and a redirect does not open the app on iOS unless that domain is set up for universal links.

Branch documents an email integration for several email service providers, and SendGrid has been one of them; check Branch's current guide. The general shape is a branded click-tracking domain in SendGrid whose association file lets the app claim the link, so the click is recorded and the app still opens. Without it, you choose between SendGrid click data and working deep links, and teams often discover the problem only when app opens from email drop to near zero.

Then decide where the conversion lives. A purchase in the app after an email tap should be reported once, from the SDK or from your server with a shared event identifier, and attributed to the email link. Pass a campaign identifier into the Branch link so you can compare email-driven app purchases by SendGrid campaign, and exclude transactional links unless you want receipts in that report.

SendGrid → Branch · what breaks

Why this join usually fails — SendGrid → Branch

  1. 01

    The Branch link click identifier and the deferred deep link payload never reaches SendGrid

    Marketing clicks land with tracking parameters; transactional clicks generally do not, and both arrive on the same domain.

  2. 02

    Receipt clicks credited to email marketing

    A customer clicking through their own order confirmation to check delivery is not an email marketing conversion. Untagged transactional traffic pooled with marketing makes the channel look far better than it is.

  3. 03

    The install that erases the campaign

    Someone clicks a paid ad on the mobile web, hits the app store, installs, and opens the app as a brand new anonymous user. Without deferred deep linking that campaign produced an organic install, and the ad account shows nothing for a conversion it genuinely caused.

  4. 04

    Nothing reconciles afterwards

    Branch shows the attributed link and campaign on the event in its dashboard. Check that the install carries a link click rather than showing as organic, which is the failure this product exists to prevent.

SendGrid → Branch · the fix

What working looks like — SendGrid → Branch

  • The Branch link click identifier and the deferred deep link payload on every message

  • Conversions arriving in Branch

    The event is attributed to the originating link and campaign, and forwarded to any configured downstream partners.

  • Reconciled against the source

SendGrid → Branch · architecture

How SendGrid and Branch actually connect

  1. 1

    SendGrid holds the truth

    A receipt and a promotional campaign are both an email in the same account. Only the campaign can plausibly have caused a purchase, and only if the purchase carries the campaign's identifier.

  2. 2

    Branch needs a click to match

    Branch needs the link click context matched to the app open, plus the event and its revenue. Without the deferred deep link payload there is nothing to join the install to.

  3. 3

    The identifier is the bridge

    The Branch link click identifier and the deferred deep link payload, captured at the visit and carried into the SendGrid send.

  4. 4

    The event source decides reliability

    Send orders with the marketing campaign attributed where a tagged click preceded them.

  5. 5

    Deduplication at the destination

    Branch deduplicates on the event identifier you supply. Firing a purchase from both the SDK and your server without a shared identifier double-counts, and Branch forwards to downstream partners, so the duplicate propagates.

SendGrid → Branch · normal or broken

Working vs. broken, side by side — SendGrid → Branch

Normal, not a fault

  • The Branch link click identifier and the deferred deep link payload present on the message

  • Sent from your order system

  • Deduplicated correctly

    Branch deduplicates on the event identifier you supply. Firing a purchase from both the SDK and your server without a shared identifier double-counts, and Branch forwards to downstream partners, so the duplicate propagates.

  • Reconciles with the source

Actually broken

  • The Branch link click identifier and the deferred deep link payload missing on most records

    Marketing clicks land with tracking parameters; transactional clicks generally do not, and both arrive on the same domain.

  • Sent from the browser

    A customer clicking through their own order confirmation to check delivery is not an email marketing conversion. Untagged transactional traffic pooled with marketing makes the channel look far better than it is.

  • Counted twice, or not at all

    Someone clicks a paid ad on the mobile web, hits the app store, installs, and opens the app as a brand new anonymous user. Without deferred deep linking that campaign produced an organic install, and the ad account shows nothing for a conversion it genuinely caused.

  • Nobody has reconciled it

SendGrid → Branch · diagnose

Diagnostic order — SendGrid → Branch

  1. 01

    Count messages carrying the Branch link click identifier and the deferred deep link payload

  2. 02

    Follow one real conversion end to end

  3. 03

    Check whether transactional links carry campaign parameters

    If they do, every receipt click is being credited to email and the channel's reported performance is inflated.

  4. 04

    Measure your organic install share and ask whether it is plausible

    An implausibly large organic share is usually broken attribution rather than genuine word of mouth.

  5. 05

    Read the match rate, not the success message

    Branch shows the attributed link and campaign on the event in its dashboard. Check that the install carries a link click rather than showing as organic, which is the failure this product exists to prevent.

SendGrid → Branch · prove

How it gets proven — SendGrid → Branch

Source of truth

Your order system, with marketing sends distinguished from transactional ones.

  • The Branch link click identifier and the deferred deep link payload confirmed present on a live message.
  • Attributed installs and in-app purchases reconciled against your own user records, with the unattributed share stated.
  • Orders from tagged marketing clicks reconciled against imported conversions, with transactional traffic excluded.

SendGrid → Branch · free audit

What we check in the free audit

  • Count messages carrying the Branch link click identifier and the deferred deep link payload
  • Follow one real conversion end to end
  • Check whether transactional links carry campaign parameters
  • Measure your organic install share and ask whether it is plausible
  • Read the match rate, not the success message

Checked against

Your order system, with marketing sends distinguished from transactional ones.

Get my free conversion tracking audit

Free30 minutesNo obligation

SendGrid → Branch · when not to buy

When you don't need this — SendGrid → Branch

  • Measure identifier coverage yourself first — pull your last hundred messages and count how many carry the Branch link click identifier and the deferred deep link payload.
  • If you send only transactional mail, there is no marketing channel here to measure.
  • If you have no app, or no web surface driving app installs, there is no seam here to bridge and the integration solves nothing.

SendGrid → Branch · what we deliver

What gets built — SendGrid → Branch

  • Identifier capture into SendGrid

    Tag marketing links explicitly and attribute purchases from those; treat transactional traffic as returning customers, not as a channel.

  • Event source: your order system

    Send orders with the marketing campaign attributed where a tagged click preceded them.

  • Dispatch to Branch

    The Branch server-to-server events API, posted from your backend with the user identity and event data.

  • Reversals where they exist

    Refunds reverse.

Written guarantee

95%+ tracking accuracy

Measured against Your order system, with marketing sends distinguished from transactional ones.. Miss it and we keep working at no cost.

Get my free conversion tracking audit

From $400 · See packages

FAQ

SendGrid → Branch questions, answered

SendGrid click tracking wraps them in a redirect. Set up a branded click-tracking domain configured for universal links per Branch's email guide, or disable click tracking on those links.

Free · 30 min

Get SendGrid and Branch joined properly

Free30 minutesNo obligation