Skip to main content
Complianz → BranchIntegration guide

Connecting Complianz to Branch

Complianz is a WordPress consent plugin that blocks scripts by category automatically, which means a plugin update can change what fires on your site without anyone 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 Complianz 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

Complianz and Branch: keep deep links working when tracking is off

Rather than letting Complianz block Branch's web SDK, which removes Journeys banners and deep links for decliners, load the SDK for everyone with tracking disabled by default and enable tracking after marketing consent, excluding Branch from Complianz's automatic blocking. Installs from decliners will look organic, which is correct. Test both choices with caching on.

On a WordPress site, Branch usually appears as its web SDK, powering Journeys banners and links that send mobile visitors into your app. If Complianz classifies that SDK as marketing and blocks it entirely, the banner and the deferred deep link disappear for everyone who declines, so a reader who simply wants to open the article in the app gets nothing.

Branch's web SDK has an option to run with tracking disabled, which keeps links and deep linking working without recording the visitor for attribution. Check whether your version supports it and how it behaves, then wire it to Complianz's consent state instead of letting Complianz block the script: load the SDK for everyone with tracking disabled by default, and enable tracking after marketing consent. You must take the Branch script out of Complianz's automatic blocking for this to work, or Complianz will block what you meant to load.

Expect installs from declined visitors to look organic in Branch, since no click context was recorded. That is the correct outcome. The broken outcome to look for is the opposite: a full-page cache serving a page where Branch was initialized with tracking on to a visitor who declined. Test the banner and an install in a private window with caching on, once accepting and once declining.

Complianz → Branch · what breaks

Why this join usually fails — Complianz → Branch

  1. 01

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

    Scripts are blocked before execution, and WordPress caching can serve a page with the wrong consent state entirely.

  2. 02

    Caching serving the wrong consent state

    A full-page cache does not know who is asking. A page cached for a consented visitor and served to one who declined runs scripts that should not have run, which is a compliance problem rather than a measurement one.

  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.

Complianz → Branch · the fix

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

Complianz → Branch · architecture

How Complianz and Branch actually connect

  1. 1

    Complianz holds the truth

    Automatic script blocking on WordPress interacts with every other plugin. A caching plugin, a tag manager and a consent plugin all touching the same page produce ordering problems nobody planned.

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

  4. 4

    The event source decides reliability

    Send consented conversions with the consent rate stated.

  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.

Complianz → Branch · normal or broken

Working vs. broken, side by side — Complianz → 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, and WordPress caching can serve a page with the wrong consent state entirely.

  • Sent from the browser

    A full-page cache does not know who is asking. A page cached for a consented visitor and served to one who declined runs scripts that should not have run, which is a compliance problem rather than a measurement one.

  • 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

Complianz → Branch · diagnose

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

    Test consent behaviour with caching enabled, not disabled

    Most consent testing is done with cache off, which is the one configuration that never runs in production.

  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.

Complianz → Branch · prove

How it gets proven — Complianz → Branch

Source of truth

Your order or CRM system, with consent state 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, verified with production caching active.

Complianz → 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
  • Test consent behaviour with caching enabled, not disabled
  • 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 consent state recorded at the time of the event.

Get my free conversion tracking audit

Free30 minutesNo obligation

Complianz → Branch · when not to buy

When you don't need this — Complianz → 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.
  • Sites without full-page caching avoid the interaction, though the category classification still matters.
  • If you have no app, or no web surface driving app installs, there is no seam here to bridge and the integration solves nothing.

Complianz → Branch · what we deliver

What gets built — Complianz → Branch

  • Identifier capture into Complianz

    Verify which category your capture script sits in, and check that caching does not serve a consented page to a non-consented visitor.

  • Event source: your order system, gated on consent

    Send consented conversions with the consent rate stated.

  • 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 stops future sends.

Written guarantee

95%+ tracking accuracy

Measured against Your order or CRM system, with consent state 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

Complianz → Branch questions, answered

Branch's web SDK can run with tracking disabled, which keeps links working without attribution; check your SDK version. That means loading it outside Complianz's automatic blocking and enabling tracking only after consent.

Free · 30 min

Get Complianz and Branch joined properly

Free30 minutesNo obligation