Connecting Divi to Marketo
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. Marketo scores leads rather than counting conversions, which means what you send it does not report a number — it changes who your sales team calls tomorrow. The join between them succeeds or fails on one thing: whether the lead record, keyed on email reaches the Divi form submission before the conversion happens, because Marketo can only match a conversion it can tie back to a click it recognizes.
Free30 minutesNo obligation
Specific to this pair
Divi and Marketo: embed the Marketo form or associate the lead
A Marketo form in a Divi Code module creates the lead and links Munchkin history automatically. Keeping Divi's Contact Form means sending leads through Marketo's REST API from a server hook and associating the Munchkin cookie yourself. Load Munchkin from Theme Options Integration, normalize email case against duplicates, and send form name for scoring.
The first decision on this pair is which form to use. If you embed a Marketo form in a Divi Code module, Marketo creates or updates the lead itself and ties the Munchkin cookie's anonymous history to it on submission. If you keep Divi's own Contact Form for the design, the lead has to reach Marketo through the REST API from a server hook, and you have to associate the Munchkin cookie value with the lead yourself or every page view before the form stays anonymous. Load Munchkin from Theme Options Integration so it runs on every page.
Divi's form adds two problems a Marketo form does not. It submits over AJAX, and unless your version of the module supports hidden fields, carrying UTMs and a click identifier into the submission needs custom code; and it does not lowercase emails, so check how your instance treats case before relying on email deduplication. A duplicate lead splits the score, and the scoring rule that should have routed this person to sales never fires.
Score what sales cares about, not 'filled a form'. Send the form name and service-interest field so scoring rules can tell a pricing request from a newsletter signup, and confirm on the lead's activity log that one submission produces one activity and one score change.
Divi → Marketo · what breaks
Why this join usually fails — Divi → Marketo
- 01
The lead record, keyed on email never reaches Divi
Custom code added to theme templates is vulnerable to updates, and Divi's contact module submits over AJAX.
- 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.
- 03
A scoring threshold crossed by a duplicate
Unlike an ad platform, a duplicate here has an operational consequence: a lead is marked sales-ready, routed, and called by a person. Doing that on the strength of an event counted twice wastes the most expensive resource in the funnel.
- 04
Nothing reconciles afterwards
Marketo shows the activity log on the lead record with the resulting score change. Read the lead, not the API response, and verify no duplicate lead was created.
Divi → Marketo · the fix
What working looks like — Divi → Marketo
The lead record, keyed on email on every submission
Conversions arriving in Marketo
The activity lands on the lead, scoring rules evaluate, and the lead may move into a nurture programme or into the sales queue.
Reconciled against the source
Divi → Marketo · architecture
How Divi and Marketo actually connect
- 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
Marketo needs a click to match
Marketo needs the lead's email and the activity or custom object you are recording, with the fields the scoring rules actually reference. An activity that no scoring rule looks at changes nothing.
- 3
The identifier is the bridge
The lead record, keyed on email, captured at the visit and carried into the Divi form submission.
- 4
The event source decides reliability
Send qualified outcomes per form, with the identifier passed through a hidden field.
- 5
Deduplication at the destination
Marketo deduplicates leads on email by default, but activities are not deduplicated. A purchase pushed twice can trigger a scoring rule twice and push a lead over a threshold it should not have crossed.
Divi → Marketo · normal or broken
Working vs. broken, side by side — Divi → Marketo
Normal, not a fault
The lead record, keyed on email present on the submission
Sent from your CRM record
Deduplicated correctly
Marketo deduplicates leads on email by default, but activities are not deduplicated. A purchase pushed twice can trigger a scoring rule twice and push a lead over a threshold it should not have crossed.
Reconciles with the source
Actually broken
The lead record, keyed on email 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
Unlike an ad platform, a duplicate here has an operational consequence: a lead is marked sales-ready, routed, and called by a person. Doing that on the strength of an event counted twice wastes the most expensive resource in the funnel.
Nobody has reconciled it
Divi → Marketo · diagnose
Diagnostic order — Divi → Marketo
- 01
Count submissions carrying the lead record, keyed on email
- 02
Follow one real conversion end to end
- 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.
- 04
Check the lead's activity log after a test conversion
One activity or two, and did the score move by the amount the rule specifies? That is the whole test.
- 05
Read the match rate, not the success message
Marketo shows the activity log on the lead record with the resulting score change. Read the lead, not the API response, and verify no duplicate lead was created.
Divi → Marketo · prove
How it gets proven — Divi → Marketo
Source of truth
Your CRM record, joined to the submission.
- The lead record, keyed on email confirmed present on a live submission.
- Activities confirmed on single lead records with score changes matching the configured rules, and no duplicate leads created.
- Qualified outcomes reconciled per form against imported conversions, with code placement verified update-safe.
Divi → Marketo · free audit
What we check in the free audit
- Count submissions carrying the lead record, keyed on email
- Follow one real conversion end to end
- Check whether tracking code sits in theme files or in a child theme
- Check the lead's activity log after a test conversion
- Read the match rate, not the success message
Checked against
Your CRM record, joined to the submission.
Free30 minutesNo obligation
Divi → Marketo · when not to buy
When you don't need this — Divi → Marketo
- Measure identifier coverage yourself first — pull your last hundred submissions and count how many carry the lead record, keyed on email.
- Sites using a separate form plugin and a tag manager are insulated from the theme-update risk.
- If your sales team does not act on lead scores, pushing conversions into Marketo produces a tidier database and changes nothing about revenue.
Divi → Marketo · what we deliver
What gets built — Divi → Marketo
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 Marketo
The Marketo REST API, posted server-side to create or update the lead and record the activity.
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.
From $400 · See packages
FAQ
Divi → Marketo questions, answered
An embedded Marketo form handles lead creation and cookie association for you. Divi's form looks native to the theme but needs a server hook to the REST API and manual cookie association.
The Munchkin cookie was never associated with the lead. Embedded Marketo forms do this automatically; a Divi form posting through the API has to do it explicitly.
Almost always because the lead record, keyed on email never reached the Divi form submission. Custom code added to theme templates is vulnerable to updates, and Divi's contact module submits over AJAX. Measure coverage before debugging the dispatch.
Marketo resolves to a lead by email address, with a Munchkin cookie tying anonymous web activity to that lead once known. Send an activity with a new email and you create a duplicate lead rather than updating one — and duplicate leads in a scoring system produce two half-scored people instead of one qualified one.
Your CRM record. Send qualified outcomes per form, with the identifier passed through a hidden field.
Marketo shows the activity log on the lead record with the resulting score change. Read the lead, not the API response, and verify no duplicate lead was created.
More on Divi → Marketo
- Stripe → MarketoConnecting Stripe to Marketo
- PayPal → MarketoConnecting PayPal to Marketo
- Shopify → MarketoConnecting Shopify to Marketo
RELATED GUIDES
Where Divi → Marketo fits in the rest of your tracking
- Elementor → MarketoConnecting Elementor to Marketo
- Bricks → MarketoConnecting Bricks Builder to Marketo
- Divi → HubSpotConnecting Divi to HubSpot
- Divi → 6senseConnecting Divi to 6sense
- Web and dev agenciesConversion tracking for web agencies, measured in signed contracts
- Bricks → HubSpotConnecting Bricks Builder to HubSpot
- Elementor → SalesforceConnecting Elementor to Salesforce
- Elementor → HubSpotConnecting Elementor to HubSpot
Free · 30 min
Get Divi and Marketo joined properly
Free30 minutesNo obligation
