Skip to main content
Divi → Marketing CloudIntegration guide

Connecting Divi to Salesforce Marketing Cloud

Divi is a theme and builder combined, which means the site's structure and its forms are the same product — and a theme update can change both at once. 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 Divi form submission 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

Divi leads into Marketing Cloud: pick the Subscriber Key first

Settle the Subscriber Key first. If Marketing Cloud keys on the CRM ID, create the Salesforce lead before inserting the Divi submission into the journey's data extension with that ID. A server hook or form plugin makes the insert. Send fixed form-name and service values for decision splits, and test in a non-production business unit.

A Divi lead has an email and nothing else when it arrives, which forces the Subscriber Key question early. If you insert submissions into a Marketing Cloud data extension keyed on email, and your org keys subscribers on the CRM Contact or Lead ID, the person who later becomes a CRM contact appears as a second subscriber with a different key. Their welcome journey and their customer journey then run side by side. Decide which key wins, and have the lead created in Salesforce first so the insert can carry its ID.

If your version of Divi's Email Optin module offers a Salesforce provider, check what that connection actually writes to, because a CRM lead and a Marketing Cloud subscriber are different records in different products. Divi's Contact Form posts nothing anywhere by itself, so a server hook or form plugin has to make the insert into the data extension your journey listens to.

Send the form name and service field as columns, and keep the values fixed even if someone rewords options in the Divi builder, because journey decision splits match exact text. A lead journey that adds SMS needs consent the contact form never asked for. Test the whole path in a non-production business unit, since a Divi form being restyled will be submitted dozens of times.

Divi → Marketing Cloud · what breaks

Why this join usually fails — Divi → Marketing Cloud

  1. 01

    The Subscriber Key never reaches Divi

    Custom code added to theme templates is vulnerable to updates, and Divi's contact module submits over AJAX.

  2. 02

    Tracking removed by a theme update

    Code placed directly into theme files disappears when the theme updates. The site keeps working, the forms keep submitting, and the conversions stop arriving with no error anywhere.

  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.

Divi → Marketing Cloud · the fix

What working looks like — Divi → Marketing Cloud

  • The Subscriber Key on every submission

  • 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

Divi → Marketing Cloud · architecture

How Divi and Marketing Cloud actually connect

  1. 1

    Divi holds the truth

    Because the builder is the theme, tracking added into templates can be lost or duplicated by a theme update in ways a plugin-based setup would not experience.

  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 Divi form submission.

  4. 4

    The event source decides reliability

    Send qualified outcomes per form, with the identifier passed through a hidden field.

  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.

Divi → Marketing Cloud · normal or broken

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

Normal, not a fault

  • The Subscriber Key present on the submission

  • Sent from your CRM 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

    Custom code added to theme templates is vulnerable to updates, and Divi's contact module submits over AJAX.

  • Sent from the browser

    Code placed directly into theme files disappears when the theme updates. The site keeps working, the forms keep submitting, and the conversions stop arriving with no error anywhere.

  • 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

Divi → Marketing Cloud · diagnose

Diagnostic order — Divi → Marketing Cloud

  1. 01

    Count submissions carrying the Subscriber Key

  2. 02

    Follow one real conversion end to end

  3. 03

    Check whether tracking code sits in theme files or in a child theme

    If it is in the parent theme, it is one update away from vanishing.

  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.

Divi → Marketing Cloud · prove

How it gets proven — Divi → Marketing Cloud

Source of truth

Your CRM record, joined to the submission.

  • The Subscriber Key confirmed present on a live submission.
  • Records confirmed on single subscriber records in the correct data extension, with the triggered journey verified in a non-production business unit first.
  • Qualified outcomes reconciled per form against imported conversions, with code placement verified update-safe.

Divi → Marketing Cloud · free audit

What we check in the free audit

  • Count submissions carrying the Subscriber Key
  • Follow one real conversion end to end
  • Check whether tracking code sits in theme files or in a child theme
  • Confirm what Subscriber Key is actually set to in this org
  • Read the match rate, not the success message

Checked against

Your CRM record, joined to the submission.

Get my free conversion tracking audit

Free30 minutesNo obligation

Divi → Marketing Cloud · when not to buy

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

  • Measure identifier coverage yourself first — pull your last hundred submissions and count how many carry the Subscriber Key.
  • Sites using a separate form plugin and a tag manager are insulated from the theme-update risk.
  • 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.

Divi → Marketing Cloud · what we deliver

What gets built — Divi → Marketing Cloud

  • Identifier capture into Divi

    Use a child theme or the builder's supported code integration areas rather than editing templates directly, and bind to the AJAX submission.

  • Event source: your CRM record

    Send qualified outcomes per form, with the identifier passed through a hidden field.

  • 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

    Disqualified submissions reverse.

Written guarantee

95%+ tracking accuracy

Measured against Your CRM record, joined to the submission.. Miss it and we keep working at no cost.

Get my free conversion tracking audit

From $400 · See packages

FAQ

Divi → Marketing Cloud questions, answered

The same key your org uses for CRM records, usually the Salesforce Lead or Contact ID. Create the lead in Salesforce first and insert with that ID, rather than keying on email.

Free · 30 min

Get Divi and Marketing Cloud joined properly

Free30 minutesNo obligation