Skip to main content
Cookiebot → BranchIntegration guide

Connecting Cookiebot to Branch

Cookiebot scans your site and blocks scripts automatically by category, which means it can stop a tag you rely on without anybody deciding to. 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 Cookiebot consent state 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

Cookiebot and Branch on the web: keep the deep link alive

Cookiebot does not govern Branch link clicks, but it can block the Branch Web SDK that powers smart banners and link generation. Exclude the SDK from auto-blocking and wire Cookiebot's marketing decision to Branch's tracking-disabled mode, which keeps deep linking. Web declines do not cross the install unless you pass them in deep link data.

Branch's links live on Branch's own domain, so the click itself is not something your Cookiebot banner governs. What it does govern is the Branch Web SDK on your site, which powers smart banners and generates links carrying the visitor's context into the app. If Cookiebot blocks the SDK under marketing, decliners see no app banner and the links it would have created never exist.

Branch's Web SDK offers a mode that disables tracking while keeping deep linking working; check its current name and behavior in Branch's documentation. Wiring Cookiebot's marketing decision to that mode, rather than letting auto-blocking remove the SDK, keeps the app handoff for everyone and stops behavioral tracking for decliners. The script then has to be excluded from auto-blocking so it can read the decision at all.

The installed app is outside the banner's reach. Once someone opens it, the iOS tracking prompt and your in-app consent screen decide what Branch's mobile SDK may collect, and a web decline does not travel across the install. Decide whether to honor it in the app as well, and if so, pass it explicitly in the deep link data.

Cookiebot → Branch · what breaks

Why this join usually fails — Cookiebot → Branch

  1. 01

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

    Scripts are blocked before execution, so an identifier-capture script placed in a blocked category never runs at all.

  2. 02

    Automatic classification blocking the wrong script

    The scanner decides what each script is. It gets things wrong, and a first-party capture script filed under marketing will be blocked for every visitor who declines marketing — including many who would have accepted what it actually does.

  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.

Cookiebot → Branch · the fix

What working looks like — Cookiebot → 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

Cookiebot → Branch · architecture

How Cookiebot and Branch actually connect

  1. 1

    Cookiebot holds the truth

    Automatic blocking classifies scripts by scanning. A misclassified tag gets blocked for visitors who would have consented, and the loss is invisible because everything looks configured correctly.

  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 Cookiebot consent state.

  4. 4

    The event source decides reliability

    Send consented conversions, with the consent rate and the blocked-category mix reported alongside.

  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.

Cookiebot → Branch · normal or broken

Working vs. broken, side by side — Cookiebot → 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 consent

  • 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

    Scripts are blocked before execution, so an identifier-capture script placed in a blocked category never runs at all.

  • Sent from the browser

    The scanner decides what each script is. It gets things wrong, and a first-party capture script filed under marketing will be blocked for every visitor who declines marketing — including many who would have accepted what it actually does.

  • 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

Cookiebot → Branch · diagnose

Diagnostic order — Cookiebot → 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

    Read the scan results and check how each of your scripts was classified

    This takes ten minutes and it is the first thing to check when conversions drop after a CMP deployment.

  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.

Cookiebot → Branch · prove

How it gets proven — Cookiebot → Branch

Source of truth

Your order system, with the visitor's consent categories recorded at the time of the event.

  • 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 script classifications verified against what they collect.

Cookiebot → 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
  • Read the scan results and check how each of your scripts was classified
  • 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 the visitor's consent categories recorded at the time of the event.

Get my free conversion tracking audit

Free30 minutesNo obligation

Cookiebot → Branch · when not to buy

When you don't need this — Cookiebot → 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 you have no legal requirement for consent in your markets, adding automatic blocking will cost you data for no compliance benefit.
  • If you have no app, or no web surface driving app installs, there is no seam here to bridge and the integration solves nothing.

Cookiebot → Branch · what we deliver

What gets built — Cookiebot → Branch

  • Identifier capture into Cookiebot

    Verify which category your capture script is classified into, and keep capture in a category that matches what you actually collect.

  • Event source: your order system, gated on consent

    Send consented conversions, with the consent rate and the blocked-category mix reported alongside.

  • 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

    Consent withdrawal stops future sends.

Written guarantee

95%+ tracking accuracy

Measured against Your order system, with the visitor's consent categories recorded at the time of the event.. Miss it and we keep working at no cost.

Get my free conversion tracking audit

From $400 · See packages

FAQ

Cookiebot → Branch questions, answered

Branch links on Branch's domain still work. Cookiebot can block the Branch Web SDK on your site, which removes smart banners and SDK-generated links for visitors who decline.

Free · 30 min

Get Cookiebot and Branch joined properly

Free30 minutesNo obligation