Connecting OneTrust to Salesforce Marketing Cloud
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. Marketing Cloud is a different product from Salesforce CRM with a different identity model, which catches out almost everyone who assumes a contact in one is a contact in the other. The join between them succeeds or fails on one thing: whether the Subscriber Key reaches the OneTrust consent record before the conversion happens, because Marketing Cloud can only match a conversion it can tie back to a click it recognizes.
Free30 minutesNo obligation
Specific to this pair
OneTrust and Marketing Cloud: consent keyed on Subscriber Key
Write OneTrust preference changes to the Marketing Cloud Subscriber Key, not the CRM Contact ID unless they match, or a second subscriber keeps receiving journeys. Put consent fields in the data extensions journeys use for entry and decision splits. Schedule consent imports before journey entry, or add a consent split right before each send.
When OneTrust preference changes flow into Marketing Cloud, the write has to land on the Subscriber Key, not the CRM Contact ID, unless your org deliberately made them the same. A preference sync keyed on the wrong one creates a second subscriber, and the original keeps receiving journeys the person just opted out of. Check whether your OneTrust license includes a Marketing Cloud integration, and confirm which key it writes before trusting it.
Journeys read from data extensions, so the consent state should sit as a field in the extensions your journeys use for entry and decision splits, or in a shared consent extension they join to. A status on the All Subscribers list covers email unsubscribes, but not purposes such as SMS marketing or a specific product newsletter.
Timing is the failure this pair produces. Journey entry criteria evaluate on a schedule, and a batch consent import that runs after the entry run lets a just-withdrawn subscriber enter once more. Schedule consent imports ahead of journey entry, or put a decision split on the consent field immediately before each send so a late change still stops the message.
OneTrust → Marketing Cloud · what breaks
Why this join usually fails — OneTrust → Marketing Cloud
- 01
The Subscriber Key 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.
- 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.
- 03
Two identity models treated as one
Marketing Cloud's Subscriber Key and CRM's Contact ID are separate concepts, and Contact Builder's configuration decides whether they relate at all. Getting this wrong does not produce an error — it produces a customer who exists twice, receives everything twice, and appears in reporting as two people.
- 04
Nothing reconciles afterwards
Check the subscriber record and the journey history, not the API response. A successful insert into an unwatched data extension looks identical to a successful one into the right extension.
OneTrust → Marketing Cloud · the fix
What working looks like — OneTrust → Marketing Cloud
The Subscriber Key on every consent record
Conversions arriving in Marketing Cloud
The record lands in the data extension, the journey's entry criteria evaluate on its schedule, and sends follow.
Reconciled against the source
OneTrust → Marketing Cloud · architecture
How OneTrust and Marketing Cloud actually connect
- 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
Salesforce Marketing Cloud needs a click to match
The Subscriber Key, the data extension the journey listens to, and the fields its decision splits reference. An event landing in the wrong data extension will be stored correctly and trigger nothing.
- 3
The identifier is the bridge
The Subscriber Key, captured at the visit and carried into the OneTrust consent record.
- 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
Deduplication at the destination
Marketing Cloud does not deduplicate journey entries for you. A record inserted twice can enter a journey twice, and because journeys span email, SMS and push the duplicate reaches the customer more than once.
OneTrust → Marketing Cloud · normal or broken
Working vs. broken, side by side — OneTrust → Marketing Cloud
Normal, not a fault
The Subscriber Key present on the consent record
Sent from your order system, gated on the consent record
Deduplicated correctly
Marketing Cloud does not deduplicate journey entries for you. A record inserted twice can enter a journey twice, and because journeys span email, SMS and push the duplicate reaches the customer more than once.
Reconciles with the source
Actually broken
The Subscriber Key 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
Marketing Cloud's Subscriber Key and CRM's Contact ID are separate concepts, and Contact Builder's configuration decides whether they relate at all. Getting this wrong does not produce an error — it produces a customer who exists twice, receives everything twice, and appears in reporting as two people.
Nobody has reconciled it
OneTrust → Marketing Cloud · diagnose
Diagnostic order — OneTrust → Marketing Cloud
- 01
Count consent records carrying the Subscriber Key
- 02
Follow one real conversion end to end
- 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.
- 04
Confirm what Subscriber Key is actually set to in this org
Before sending anything. It is a configuration decision made once, often years ago, and every integration built afterwards inherits it.
- 05
Read the match rate, not the success message
Check the subscriber record and the journey history, not the API response. A successful insert into an unwatched data extension looks identical to a successful one into the right extension.
OneTrust → Marketing Cloud · prove
How it gets proven — OneTrust → Marketing Cloud
Source of truth
Your order or CRM system, with the consent state at the time of the event recorded alongside.
- The Subscriber Key confirmed present on a live consent record.
- Records confirmed on single subscriber records in the correct data extension, with the triggered journey verified in a non-production business unit first.
- Consented conversions reconciled against imported figures, with the consent rate stated explicitly in the report.
OneTrust → Marketing Cloud · free audit
What we check in the free audit
- Count consent records carrying the Subscriber Key
- Follow one real conversion end to end
- Correlate conversion drops against the consent change log first
- Confirm what Subscriber Key is actually set to in this org
- 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.
Free30 minutesNo obligation
OneTrust → Marketing Cloud · when not to buy
When you don't need this — OneTrust → Marketing Cloud
- Measure identifier coverage yourself first — pull your last hundred consent records and count how many carry the Subscriber Key.
- 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 are on Salesforce CRM but sending email through a simpler platform, adding Marketing Cloud brings an identity model to reconcile that you currently do not have to think about.
OneTrust → Marketing Cloud · what we deliver
What gets built — OneTrust → Marketing Cloud
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 Marketing Cloud
A server-side insert into the data extension the journey is configured against, keyed on Subscriber Key.
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.
From $400 · See packages
FAQ
OneTrust → Marketing Cloud questions, answered
Write consent to a data extension keyed on Subscriber Key and have each journey filter on it. Check whether a native OneTrust connector exists in your plan before building one.
Usually the consent landed on a different subscriber or arrived after the journey's entry evaluation. Check the Subscriber Key used and the import timing.
Almost always because the Subscriber Key never reached the OneTrust consent record. 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. Measure coverage before debugging the dispatch.
Marketing Cloud identifies people by Subscriber Key, which you define. It is not the CRM Contact ID unless somebody deliberately made it so, and in many orgs the two are unrelated. Sending an event keyed on the wrong one creates a second subscriber rather than updating the first, which splits the person across two journeys.
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.
Check the subscriber record and the journey history, not the API response. A successful insert into an unwatched data extension looks identical to a successful one into the right extension.
More on OneTrust → Marketing Cloud
- Stripe → Marketing CloudConnecting Stripe to Salesforce Marketing Cloud
- PayPal → Marketing CloudConnecting PayPal to Salesforce Marketing Cloud
- Shopify → Marketing CloudConnecting Shopify to Salesforce Marketing Cloud
RELATED GUIDES
Where OneTrust → Marketing Cloud fits in the rest of your tracking
- CookieYes → Marketing CloudConnecting CookieYes to Salesforce Marketing Cloud
- Termly → Marketing CloudConnecting Termly to Salesforce Marketing Cloud
- Cookiebot → Marketing CloudConnecting Cookiebot to Salesforce Marketing Cloud
- OneTrust → BrazeConnecting OneTrust to Braze
- OneTrust → IterableConnecting OneTrust to Iterable
- Financial servicesConversion tracking for financial services, built for the compliance review
- iubenda → Marketing CloudConnecting iubenda to Salesforce Marketing Cloud
- Complianz → Marketing CloudConnecting Complianz to Salesforce Marketing Cloud
Free · 30 min
Get OneTrust and Marketing Cloud joined properly
Free30 minutesNo obligation
