Connecting Divi to HubSpot
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. HubSpot is where sales works, so a conversion that never reaches it is invisible to the people who decide what a lead was worth. The join between them succeeds or fails on one thing: whether the contact identity — email, or the hubspotutk cookie reaches the Divi form submission before the conversion happens, because HubSpot can only match a conversion it can tie back to a click it recognizes.
Free30 minutesNo obligation
Specific to this pair
Divi forms into HubSpot contacts with original source preserved
Send Divi submissions through HubSpot's form submission API server-side with the hubspotutk from the cookie; it is the route that reliably keeps original source. Load tracking code via the HubSpot plugin or Divi's integration area. Store gclid and msclkid as contact properties, copy them to the deal, and measure closed-won deal value with a form-name property.
Getting a Divi form into HubSpot has three routes and they behave differently. The Email Optin module can push to HubSpot as a provider (confirm that in your Divi version), but it creates the contact without the hubspotutk, so original source is lost. HubSpot's collected-forms feature can capture the Divi contact module through the tracking code; test that it actually picks up Divi's in-place submissions on your site before trusting it. A server-side call to HubSpot's form submission API, with the hubspotutk read from the cookie, is the route that reliably keeps attribution.
Whichever route, load the HubSpot tracking code through the HubSpot WordPress plugin or Divi's integration area, not the parent theme's header. When a theme update removes it, page views stop stitching to contacts and new leads' original source degrades, while submissions keep arriving, so nobody notices for weeks.
The conversion that matters lives on the deal: the Divi lead becomes a contact, sales qualifies it, and the deal moves to closed won with value. Store gclid and msclkid from hidden fields as contact properties at creation and copy them to the deal, since offline imports read from there. Give disqualified leads a lead status that excludes them from any upload. Divi sites often duplicate one form across many pages; write a form-name property so HubSpot shows which page produced the lead.
Divi → HubSpot · what breaks
Why this join usually fails — Divi → HubSpot
- 01
The contact identity — email, or the hubspotutk cookie 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
Duplicate contacts
Two records for one person, each with half the history. Every downstream report is then wrong in a way that looks like a data problem rather than an integration problem.
- 04
Nothing reconciles afterwards
HubSpot shows the contact record and its timeline. A successful API response means HubSpot accepted the call, not that it resolved to the right contact — open the record and look.
Divi → HubSpot · the fix
What working looks like — Divi → HubSpot
The contact identity — email, or the hubspotutk cookie on every submission
Conversions arriving in HubSpot
The revenue or conversion lands on the contact record and its associated deal, where sales can see it and where HubSpot's own attribution reporting can use it.
Reconciled against the source
Divi → HubSpot · architecture
How Divi and HubSpot 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
HubSpot needs a click to match
HubSpot needs to resolve the incoming data to an existing contact or create one. Without an email or a hubspotutk it creates duplicates, and duplicate contacts break every report built on top of them.
- 3
The identifier is the bridge
The contact identity — email, or the hubspotutk cookie, 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
HubSpot deduplicates contacts on email address. Events and property updates against the same contact are idempotent by design, but a second contact created for the same person is not detected, and merging them afterwards is manual work.
Divi → HubSpot · normal or broken
Working vs. broken, side by side — Divi → HubSpot
Normal, not a fault
The contact identity — email, or the hubspotutk cookie present on the submission
Sent from your CRM record
Deduplicated correctly
HubSpot deduplicates contacts on email address. Events and property updates against the same contact are idempotent by design, but a second contact created for the same person is not detected, and merging them afterwards is manual work.
Reconciles with the source
Actually broken
The contact identity — email, or the hubspotutk cookie 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
Two records for one person, each with half the history. Every downstream report is then wrong in a way that looks like a data problem rather than an integration problem.
Nobody has reconciled it
Divi → HubSpot · diagnose
Diagnostic order — Divi → HubSpot
- 01
Count submissions carrying the contact identity — email, or the hubspotutk cookie
- 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
Search for the test contact by email after sending
One record or two? Then check whether the properties landed on the contact or only on the form submission — they are different things and only the first is usable.
- 05
Read the match rate, not the success message
HubSpot shows the contact record and its timeline. A successful API response means HubSpot accepted the call, not that it resolved to the right contact — open the record and look.
Divi → HubSpot · prove
How it gets proven — Divi → HubSpot
Source of truth
Your CRM record, joined to the submission.
- The contact identity — email, or the hubspotutk cookie confirmed present on a live submission.
- One contact record confirmed, not two, with the property visible on the contact rather than only on the submission.
- Qualified outcomes reconciled per form against imported conversions, with code placement verified update-safe.
Divi → HubSpot · free audit
What we check in the free audit
- Count submissions carrying the contact identity — email, or the hubspotutk cookie
- Follow one real conversion end to end
- Check whether tracking code sits in theme files or in a child theme
- Search for the test contact by email after sending
- Read the match rate, not the success message
Checked against
Your CRM record, joined to the submission.
Free30 minutesNo obligation
Divi → HubSpot · when not to buy
When you don't need this — Divi → HubSpot
- Measure identifier coverage yourself first — pull your last hundred submissions and count how many carry the contact identity — email, or the hubspotutk cookie.
- Sites using a separate form plugin and a tag manager are insulated from the theme-update risk.
- HubSpot's native form and tracking code already handle the straightforward cases well. This is worth building when the conversion happens somewhere HubSpot's code cannot see.
Divi → HubSpot · what we deliver
What gets built — Divi → HubSpot
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 HubSpot
The HubSpot API — contact create-or-update with the properties, or a custom behavioral event where you need the timeline entry rather than a property.
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 → HubSpot questions, answered
They reached HubSpot without the hubspotutk cookie, typically through the Email Optin module or a Zapier step. Submit through HubSpot's forms API with the cookie value, or confirm collected forms is capturing the Divi submissions.
Use the HubSpot WordPress plugin or Divi's Theme Options integration area. Code pasted into the parent theme's header file is overwritten by the next Divi update.
Almost always because the contact identity — email, or the hubspotutk cookie 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.
HubSpot resolves to a contact by email address, or by the hubspotutk cookie value which ties an anonymous visitor to their eventual contact record. Sending the hubspotutk with a form submission is what lets HubSpot stitch the pre-conversion page views to the contact, which is where the original source attribution comes from.
Your CRM record. Send qualified outcomes per form, with the identifier passed through a hidden field.
HubSpot shows the contact record and its timeline. A successful API response means HubSpot accepted the call, not that it resolved to the right contact — open the record and look.
More on Divi → HubSpot
- Stripe → HubSpotConnecting Stripe to HubSpot
- Shopify → HubSpotConnecting Shopify to HubSpot
- WooCommerce → HubSpotConnecting WooCommerce to HubSpot
RELATED GUIDES
Where Divi → HubSpot fits in the rest of your tracking
- Elementor → HubSpotConnecting Elementor to HubSpot
- Bricks → HubSpotConnecting Bricks Builder to HubSpot
- Divi → SalesforceConnecting Divi to Salesforce
- Divi → 6senseConnecting Divi to 6sense
- Web and dev agenciesConversion tracking for web agencies, measured in signed contracts
- Bricks → 6senseConnecting Bricks Builder to 6sense
- Elementor → SalesforceConnecting Elementor to Salesforce
- Elementor → 6senseConnecting Elementor to 6sense
Free · 30 min
Get Divi and HubSpot joined properly
Free30 minutesNo obligation
