Connecting Divi to Amplitude
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. Amplitude is built around behavioural cohorts, which makes the identity resolution and the event taxonomy load-bearing in a way they never are for an ad pixel. The join between them succeeds or fails on one thing: whether the user ID and device ID pair reaches the Divi form submission before the conversion happens, because Amplitude can only match a conversion it can tie back to a click it recognizes.
Free30 minutesNo obligation
Specific to this pair
Divi form submissions in Amplitude without splitting users
Call Amplitude's setUserId when the Divi contact module's AJAX submission succeeds, using one stable ID: the CRM record ID or an email hash. Track an explicit submission event with module and page properties and no revenue, then send the CRM-qualified outcome through the HTTP API with the same user ID. Keep the SDK out of parent theme files.
Amplitude on a Divi site is usually the Browser SDK loaded site-wide, which gives every visitor a device ID long before they touch the contact module. The submission is the first moment you learn who they are, so that is where setUserId should run, with an ID you will reuse later: the CRM record ID if your submission handler gets it back, otherwise a stable hash of the email. Pick one and never mix them, or the same person becomes two Amplitude users with half the history each.
The Divi contact module submits over AJAX and, by default, replaces the form with an inline success message rather than loading a new page. Page-view tracking will not see a conversion there, and autocapture can record submit attempts that then fail Divi's captcha or validation. Track an explicit event from the AJAX success, with the module's identifier and page as properties, and send the qualified outcome later from your CRM through the HTTP API using the same user ID, not a fresh device ID.
Leave revenue fields off the submission event. A Divi lead has no price, and putting an estimated deal value in price makes Amplitude's revenue charts report money nobody has paid. If the lead later closes, send a separate server event with the real amount. And keep the SDK snippet out of parent theme files: a Divi update that drops it stops all browser events at once, and every cohort that starts that week looks like an engagement collapse rather than a missing script.
Divi → Amplitude · what breaks
Why this join usually fails — Divi → Amplitude
- 01
The user ID and device ID pair 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
Revenue events that carry no revenue
Amplitude will happily accept a purchase event with no price field. The event count looks correct, the funnel looks correct, and the revenue reporting stays at zero — which people usually discover a quarter later when someone asks what a cohort is worth.
- 04
Nothing reconciles afterwards
Amplitude shows the event in the user's activity stream with its properties expanded. Read the properties, because an event that arrives without its revenue fields still looks like a success.
Divi → Amplitude · the fix
What working looks like — Divi → Amplitude
The user ID and device ID pair on every submission
Conversions arriving in Amplitude
The event lands on the user, joins their behavioural history, and becomes available for cohorts, funnels and retention.
Reconciled against the source
Divi → Amplitude · architecture
How Divi and Amplitude 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
Amplitude needs a click to match
Amplitude needs a device or user identifier, an event type and its properties. Revenue events need the price and quantity fields specifically, or the revenue reporting stays empty while events flow normally.
- 3
The identifier is the bridge
The user ID and device ID pair, 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
Amplitude deduplicates on insert_id. Omit it and a retried batch is counted twice, which shows up as a phantom spike that someone will eventually build a hypothesis on.
Divi → Amplitude · normal or broken
Working vs. broken, side by side — Divi → Amplitude
Normal, not a fault
The user ID and device ID pair present on the submission
Sent from your CRM record
Deduplicated correctly
Amplitude deduplicates on insert_id. Omit it and a retried batch is counted twice, which shows up as a phantom spike that someone will eventually build a hypothesis on.
Reconciles with the source
Actually broken
The user ID and device ID pair 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
Amplitude will happily accept a purchase event with no price field. The event count looks correct, the funnel looks correct, and the revenue reporting stays at zero — which people usually discover a quarter later when someone asks what a cohort is worth.
Nobody has reconciled it
Divi → Amplitude · diagnose
Diagnostic order — Divi → Amplitude
- 01
Count submissions carrying the user ID and device ID pair
- 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 a purchase event for the price and quantity fields specifically
Not whether the event arrived — whether the revenue fields are populated, in the exact names Amplitude expects.
- 05
Read the match rate, not the success message
Amplitude shows the event in the user's activity stream with its properties expanded. Read the properties, because an event that arrives without its revenue fields still looks like a success.
Divi → Amplitude · prove
How it gets proven — Divi → Amplitude
Source of truth
Your CRM record, joined to the submission.
- The user ID and device ID pair confirmed present on a live submission.
- Revenue reconciled per transaction against your billing system, with identity merge behaviour verified across signup.
- Qualified outcomes reconciled per form against imported conversions, with code placement verified update-safe.
Divi → Amplitude · free audit
What we check in the free audit
- Count submissions carrying the user ID and device ID pair
- Follow one real conversion end to end
- Check whether tracking code sits in theme files or in a child theme
- Check a purchase event for the price and quantity fields specifically
- Read the match rate, not the success message
Checked against
Your CRM record, joined to the submission.
Free30 minutesNo obligation
Divi → Amplitude · when not to buy
When you don't need this — Divi → Amplitude
- Measure identifier coverage yourself first — pull your last hundred submissions and count how many carry the user ID and device ID pair.
- Sites using a separate form plugin and a tag manager are insulated from the theme-update risk.
- If nobody is building cohorts or retention analysis, this is a large amount of instrumentation for reporting a dashboard already gives you.
Divi → Amplitude · what we deliver
What gets built — Divi → Amplitude
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 Amplitude
The Amplitude HTTP V2 API, posted server-side with the identity, event type and properties.
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 → Amplitude questions, answered
Usually because the server-side lead event uses a different ID than the browser SDK: an email hash on one side, a CRM ID on the other, or no device ID at all. Set the user ID in the browser when the Divi form succeeds and send later server events with that exact ID.
Don't rely on it. Divi's contact module submits over AJAX and shows an inline message, so there is no page change, and a submit attempt can still fail validation. Track an explicit event when the AJAX submission succeeds.
Almost always because the user ID and device ID pair 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.
Amplitude tracks both a device ID and a user ID and merges them when a user identifies. The merge rules decide who counts as one person, so a mistake here does not produce a small error — it changes every retention curve and cohort size in the account.
Your CRM record. Send qualified outcomes per form, with the identifier passed through a hidden field.
Amplitude shows the event in the user's activity stream with its properties expanded. Read the properties, because an event that arrives without its revenue fields still looks like a success.
More on Divi → Amplitude
- Stripe → AmplitudeConnecting Stripe to Amplitude
- PayPal → AmplitudeConnecting PayPal to Amplitude
- Shopify → AmplitudeConnecting Shopify to Amplitude
RELATED GUIDES
Where Divi → Amplitude fits in the rest of your tracking
- Bricks → AmplitudeConnecting Bricks Builder to Amplitude
- Elementor → AmplitudeConnecting Elementor to Amplitude
- Divi → PostHogConnecting Divi to PostHog
- Divi → Adobe AnalyticsConnecting Divi to Adobe Analytics
- Marketing agenciesOne tracking standard across your whole client portfolio
- Elementor → PostHogConnecting Elementor to PostHog
- Elementor → MixpanelConnecting Elementor to Mixpanel
- Elementor → GA4Connecting Elementor to GA4
Free · 30 min
Get Divi and Amplitude joined properly
Free30 minutesNo obligation
