Skip to main content
Cookiebot → Marketing CloudIntegration guide

Connecting Cookiebot to Salesforce Marketing Cloud

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

Cookiebot and Marketing Cloud: cookie consent is not email permission

Cookiebot consent is not email permission in Salesforce Marketing Cloud; keep subscription status there and never derive it from the banner. Put web collect tracking in a consent category, insert orders from your order system into the journey's data extension keyed on Subscriber Key, and pass the stored Cookiebot choice as a field for decision splits.

Cookiebot records whether a browser may run marketing and statistics scripts. Marketing Cloud sends email to a Subscriber Key. Those are different permissions, and mixing them causes problems in both directions. A customer who declined marketing cookies may still have opted into your newsletter and should keep receiving it; a customer who accepted every cookie has not agreed to email by doing so. Keep subscription status in Marketing Cloud as the email permission, and never derive it from the banner.

Where Cookiebot does reach Marketing Cloud is web behavior. If you use Marketing Cloud's web collect tracking for browse-based journeys, that script should sit in a consent category in the scan report, and browse-abandonment journeys will only ever see visitors who accepted. Expect those journeys to run on a fraction of traffic and size them accordingly.

For purchase-triggered journeys, insert the order from your order system into the data extension the journey listens to, keyed on the same Subscriber Key your CRM sync uses. That send does not depend on the banner. If a journey should behave differently for people who declined tracking, for example no product recommendations based on browsing, pass the stored Cookiebot choice as a field in that data extension so the decision split can read it, rather than inferring it from missing browse data.

Cookiebot → Marketing Cloud · what breaks

Why this join usually fails — Cookiebot → Marketing Cloud

  1. 01

    The Subscriber Key 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

    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.

  4. 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.

Cookiebot → Marketing Cloud · the fix

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

Cookiebot → Marketing Cloud · architecture

How Cookiebot and Marketing Cloud 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

    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. 3

    The identifier is the bridge

    The Subscriber Key, 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

    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.

Cookiebot → Marketing Cloud · normal or broken

Working vs. broken, side by side — Cookiebot → Marketing Cloud

Normal, not a fault

  • The Subscriber Key present on the consent record

  • Sent from your order system, gated on consent

  • 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

    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

    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

Cookiebot → Marketing Cloud · diagnose

Diagnostic order — Cookiebot → Marketing Cloud

  1. 01

    Count consent records carrying the Subscriber Key

  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

    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.

  5. 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.

Cookiebot → Marketing Cloud · prove

How it gets proven — Cookiebot → Marketing Cloud

Source of truth

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

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

Cookiebot → 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
  • Read the scan results and check how each of your scripts was classified
  • Confirm what Subscriber Key is actually set to in this org
  • 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 → Marketing Cloud · when not to buy

When you don't need this — Cookiebot → Marketing Cloud

  • Measure identifier coverage yourself first — pull your last hundred consent records and count how many carry the Subscriber Key.
  • If you have no legal requirement for consent in your markets, adding automatic blocking will cost you data for no compliance benefit.
  • 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.

Cookiebot → Marketing Cloud · what we deliver

What gets built — Cookiebot → Marketing Cloud

  • 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 Marketing Cloud

    A server-side insert into the data extension the journey is configured against, keyed on Subscriber Key.

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

No, and it should not. Cookie consent covers browser scripts; email permission is the subscription status held in Marketing Cloud.

Free · 30 min

Get Cookiebot and Marketing Cloud joined properly

Free30 minutesNo obligation