Skip to main content
OneTrust → BrazeIntegration guide

Connecting OneTrust to Braze

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. Braze is mobile-first lifecycle messaging, which means it resolves to a user rather than to a click and its most valuable channels — push and in-app — exist nowhere near a browser. The join between them succeeds or fails on one thing: whether the Braze external user ID reaches the OneTrust consent record before the conversion happens, because Braze can only match a conversion it can tie back to a click it recognizes.

Free30 minutesNo obligation

Specific to this pair

OneTrust and Braze: consent as a profile attribute, not an event

Write OneTrust consent state to Braze as a custom attribute on the user's external_id, so segments exclude people without the relevant purpose across channels. Keep banner consent, Braze email subscription state and OS push permission separate. Don't initialize the Braze web SDK before a choice where opt-in applies, and define when withdrawal means deletion.

Braze resolves to a user by external_id, so the useful thing to send it from OneTrust is the consent state itself, written as a custom attribute on that user, not a consent event that triggers nothing. Campaign segments can then exclude anyone without the relevant purpose, and the exclusion holds across push, email and in-app without every campaign builder remembering to add it.

Keep three things apart: the cookie consent from the banner, the email subscription state Braze stores (opted in, subscribed or unsubscribed), and push permission granted by the operating system. OneTrust's banner touches only the first. If you also run OneTrust's preference center, map its marketing topics to Braze subscription groups deliberately, and check whether your OneTrust license includes a Braze integration before building one on webhooks.

The Braze web SDK needs gating too: do not initialize it on the site before OneTrust reports a choice in regions where you need opt-in, or anonymous device profiles are created for people who then decline. When consent is withdrawn, the reversal is not only stopping sends. Braze has a user deletion endpoint, and your policy should say when a withdrawal triggers deletion and when it only removes the person from marketing.

OneTrust → Braze · what breaks

Why this join usually fails — OneTrust → Braze

  1. 01

    The Braze external user ID 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

    Duplicate events sending duplicate push notifications

    A duplicate here is visible to your customer on their lock screen, twice, and the second one is the reason they turn push off permanently. This is a more expensive mistake than a double-counted conversion in an ad platform, because the damage is not recoverable.

  4. 04

    Nothing reconciles afterwards

    Braze shows events on the user profile within moments. Check the profile, not the API response, and specifically check whether an anonymous device profile has been created alongside the real one.

OneTrust → Braze · the fix

What working looks like — OneTrust → Braze

  • The Braze external user ID on every consent record

  • Conversions arriving in Braze

    The event lands on the user profile, triggers whatever campaigns depend on it, and becomes available for segmentation across push, email and in-app.

  • Reconciled against the source

OneTrust → Braze · architecture

How OneTrust and Braze 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

    Braze needs a click to match

    Braze needs the external user ID and a well-named event with its properties. An event with no external ID lands on an anonymous device profile that may never merge with the real user.

  3. 3

    The identifier is the bridge

    The Braze external user ID, 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

    Braze does not deduplicate for you. A purchase sent from both your app SDK and your server produces two events, two campaign triggers and potentially two push notifications to a customer who bought once.

OneTrust → Braze · normal or broken

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

Normal, not a fault

  • The Braze external user ID present on the consent record

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

  • Deduplicated correctly

    Braze does not deduplicate for you. A purchase sent from both your app SDK and your server produces two events, two campaign triggers and potentially two push notifications to a customer who bought once.

  • Reconciles with the source

Actually broken

  • The Braze external user ID 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

    A duplicate here is visible to your customer on their lock screen, twice, and the second one is the reason they turn push off permanently. This is a more expensive mistake than a double-counted conversion in an ad platform, because the damage is not recoverable.

  • Nobody has reconciled it

OneTrust → Braze · diagnose

Diagnostic order — OneTrust → Braze

  1. 01

    Count consent records carrying the Braze external user ID

  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

    Send a test purchase and read the user profile's event stream

    One event or two? Check whether the SDK is already sending the same event before adding a server source, and check that the external ID matches the signed-in user rather than creating a new profile.

  5. 05

    Read the match rate, not the success message

    Braze shows events on the user profile within moments. Check the profile, not the API response, and specifically check whether an anonymous device profile has been created alongside the real one.

OneTrust → Braze · prove

How it gets proven — OneTrust → Braze

Source of truth

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

  • The Braze external user ID confirmed present on a live consent record.
  • The user profile confirmed to show one event per conversion, with device and user profiles correctly merged.
  • Consented conversions reconciled against imported figures, with the consent rate stated explicitly in the report.

OneTrust → Braze · free audit

What we check in the free audit

  • Count consent records carrying the Braze external user ID
  • Follow one real conversion end to end
  • Correlate conversion drops against the consent change log first
  • Send a test purchase and read the user profile's event stream
  • 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 → Braze · when not to buy

When you don't need this — OneTrust → Braze

  • Measure identifier coverage yourself first — pull your last hundred consent records and count how many carry the Braze external user ID.
  • 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 mobile app and no push channel, Braze is a large piece of infrastructure for a job an email platform already does.

OneTrust → Braze · what we deliver

What gets built — OneTrust → Braze

  • 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 Braze

    The Braze user track endpoint, posted server-side from your order or billing system with the external user ID and event properties.

  • 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 → Braze questions, answered

Check whether your OneTrust plan includes a Braze integration. Otherwise, a small server job that reads OneTrust consent changes and writes a Braze custom attribute by external_id does the job.

Free · 30 min

Get OneTrust and Braze joined properly

Free30 minutesNo obligation