Skip to main content
OneTrust → BranchIntegration guide

Connecting OneTrust to Branch

OneTrust sits upstream of every tag on the site, which makes it the single system most able to change your conversion volume overnight without anybody touching a tag. 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 OneTrust consent record 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

OneTrust and Branch: deep links that keep working with tracking off

Branch routes and attributes, and only attribution needs advertising consent. Map a OneTrust decline to Branch's tracking-disabled mode rather than removing the SDK, so deep links still land on the right screen, confirming what works for your SDK version. In the app, ask consent before enabling Branch tracking on first launch, and report decliners' installs separately from organic.

Branch does two jobs, routing people to the right screen and attributing installs, and only the second needs advertising consent. Branch's SDKs have a tracking-disabled mode intended for users who opt out; check in Branch's documentation exactly what still works in that mode for your SDK version, because deep links that keep routing while attribution stops is the outcome you want for people who decline.

That makes the OneTrust mapping straightforward on paper. On the website, the Branch web SDK and its smart banner load under the category counsel assigns, and a decline switches Branch into its disabled-tracking state rather than removing it, so an Open in app link still lands on the right product. In the app, the OneTrust mobile SDK's result drives the same switch at launch, before Branch reports the first open.

The failure specific to this pair is the first launch after a web click. The install is new, nobody has asked for consent in the app yet, and Branch wants to match the click to the open immediately. Ask in-app consent before enabling Branch tracking; installs from people who decline will then read as organic in Branch, so report that share separately instead of reading it as organic growth.

OneTrust → Branch · what breaks

Why this join usually fails — OneTrust → Branch

  1. 01

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

    The identifier can only be captured after consent is given, so a visitor who consents on the second page has already lost the parameter from the first.

  2. 02

    A governance change that looks like broken tracking

    A privacy team tightens a banner on a Tuesday and a fifth of conversions disappear. The marketing team spends a week debugging tags that are working exactly as configured, because nobody connects the two systems.

  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.

OneTrust → Branch · the fix

What working looks like — OneTrust → Branch

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

  • 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

OneTrust → Branch · architecture

How OneTrust and Branch actually connect

  1. 1

    OneTrust holds the truth

    Consent is not a tracking detail, it is the gate. A conversion from a visitor who declined cannot lawfully be sent to an ad platform, and the share who decline is the ceiling on everything you report.

  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 OneTrust consent record.

  4. 4

    The event source decides reliability

    Send only conversions where consent for advertising purposes was actually granted, and report the unconsented share as a stated number rather than a gap.

  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.

OneTrust → Branch · normal or broken

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

Normal, not a fault

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

  • Sent from your order system, gated on the consent record

  • 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

    The identifier can only be captured after consent is given, so a visitor who consents on the second page has already lost the parameter from the first.

  • Sent from the browser

    A privacy team tightens a banner on a Tuesday and a fifth of conversions disappear. The marketing team spends a week debugging tags that are working exactly as configured, because nobody connects the two systems.

  • 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

OneTrust → Branch · diagnose

Diagnostic order — OneTrust → Branch

  1. 01

    Count consent records carrying the Branch link click identifier and the deferred deep link payload

  2. 02

    Follow one real conversion end to end

  3. 03

    Correlate conversion drops against the consent change log first

    Before touching a tag. In governed environments this explains the drop more often than any technical fault does.

  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.

OneTrust → Branch · prove

How it gets proven — OneTrust → Branch

Source of truth

Your order or CRM system, with the consent state at the time of the event recorded alongside.

  • The Branch link click identifier and the deferred deep link payload confirmed present on a live consent record.
  • Attributed installs and in-app purchases reconciled against your own user records, with the unattributed share stated.
  • Consented conversions reconciled against imported figures, with the consent rate stated explicitly in the report.

OneTrust → Branch · free audit

What we check in the free audit

  • Count consent records carrying the Branch link click identifier and the deferred deep link payload
  • Follow one real conversion end to end
  • Correlate conversion drops against the consent change log first
  • Measure your organic install share and ask whether it is plausible
  • Read the match rate, not the success message

Checked against

Your order or CRM system, with the consent state at the time of the event recorded alongside.

Get my free conversion tracking audit

Free30 minutesNo obligation

OneTrust → Branch · when not to buy

When you don't need this — OneTrust → Branch

  • Measure identifier coverage yourself first — pull your last hundred consent records and count how many carry the Branch link click identifier and the deferred deep link payload.
  • If your consent rate is very low, improving the banner experience will do more for your reporting than any tracking build — and that is a design and legal conversation, not a tagging one.
  • If you have no app, or no web surface driving app installs, there is no seam here to bridge and the integration solves nothing.

OneTrust → Branch · what we deliver

What gets built — OneTrust → Branch

  • Identifier capture into OneTrust

    Capture into a pending buffer on landing and only persist and dispatch once consent is recorded — never the reverse, and never 'capture now, ask later'.

  • Event source: your order system, gated on the consent record

    Send only conversions where consent for advertising purposes was actually granted, and report the unconsented share as a stated number rather than a gap.

  • 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

    Withdrawal of consent should stop future sends and, where the platform supports it, trigger a deletion request.

Written guarantee

95%+ tracking accuracy

Measured against Your order or CRM system, with the consent state at the time of the event recorded alongside.. Miss it and we keep working at no cost.

Get my free conversion tracking audit

From $400 · See packages

FAQ

OneTrust → Branch questions, answered

Branch offers a tracking-disabled mode for opted-out users. Check its current docs for what routing and deferred deep linking still do in that mode on your SDK version.

Free · 30 min

Get OneTrust and Branch joined properly

Free30 minutesNo obligation