Skip to main content
Divi → Microsoft AdsIntegration guide

Connecting Divi to Microsoft Ads

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. Microsoft Ads reaches an older, higher-income, more desktop-weighted audience than Google, and it is routinely the cheapest qualified traffic a B2B advertiser can buy. The join between them succeeds or fails on one thing: whether the MSCLKID reaches the Divi form submission before the conversion happens, because Microsoft Ads can only match a conversion it can tie back to a click it recognizes.

Free30 minutesNo obligation

Specific to this pair

Divi contact forms to Microsoft Ads offline conversions, update-proof

Capture the MSCLKID into a CSS-hidden Divi form field filled from a first-party cookie, scripted in Theme Options Integration. Save the form as a global Divi Library module first so every page gets the field. Make the CRM's qualified-outcome offline import the counted goal, with value, and fire UET from the success state or redirect.

For a Divi site the Microsoft Ads join is a form submission matched to a qualified outcome in your CRM, keyed by the MSCLKID. The landing page has the MSCLKID in its URL; check whether your Divi version's Contact Form module offers a hidden field, and if not, add a text field hidden with CSS that a small script fills from a first-party cookie. That script belongs in Divi's Theme Options integration area or a child theme, never in the parent theme files, or the next update quietly empties the field on every lead.

The UET tag goes in the same integration area. Because the contact module confirms in place without loading a new page, a UET destination-URL goal never fires; switch on the module's redirect setting to a thank-you page, or fire a custom UET event on the success state. Better still, make the offline import the counted goal and keep UET for remarketing and as a secondary signal. Upload qualified outcomes from the CRM with value where sales assigns one, and drop disqualified submissions before upload rather than after.

The Divi-specific failure is copied modules. The same contact form is often pasted as separate, non-global modules across a dozen service pages, so the hidden field gets added to some and not others, and Microsoft clicks landing on the forgotten pages produce leads with an empty MSCLKID. Save the form as a global module in the Divi Library before adding the field, so one edit covers every page.

Divi → Microsoft Ads · what breaks

Why this join usually fails — Divi → Microsoft Ads

  1. 01

    The MSCLKID 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

    Auto-tagging switched off

    Microsoft auto-tagging is frequently disabled in accounts that were set up quickly or imported from Google, and without it no MSCLKID arrives at all — so the entire offline import has nothing to match against and fails silently.

  4. 04

    Nothing reconciles afterwards

    Microsoft Ads reports offline conversion uploads with rows accepted and rejected. A successful upload is not a matched conversion — check that conversions actually appear against campaigns afterwards.

Divi → Microsoft Ads · the fix

What working looks like — Divi → Microsoft Ads

  • The MSCLKID on every submission

  • Conversions arriving in Microsoft Ads

    Conversions appear against the campaign, ad group and keyword that produced the click, with the value you sent, and become usable for automated bidding.

  • Reconciled against the source

Divi → Microsoft Ads · architecture

How Divi and Microsoft Ads 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

    Microsoft Ads needs a click to match

    Microsoft matches uploaded conversions to clicks using the MSCLKID, and the conversion goal must be created as an offline conversion type. The click has to fall inside Microsoft's import window — verify the current limit in your account rather than assuming it matches Google's.

  3. 3

    The identifier is the bridge

    The MSCLKID, 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

    Microsoft deduplicates on the combination of click identifier, conversion name and conversion time. Uploading the same click against a second conversion goal counts twice, which is the usual cause of inflated numbers here.

Divi → Microsoft Ads · normal or broken

Working vs. broken, side by side — Divi → Microsoft Ads

Normal, not a fault

  • The MSCLKID present on the submission

  • Sent from your CRM record

  • Deduplicated correctly

    Microsoft deduplicates on the combination of click identifier, conversion name and conversion time. Uploading the same click against a second conversion goal counts twice, which is the usual cause of inflated numbers here.

  • Reconciles with the source

Actually broken

  • The MSCLKID 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

    Microsoft auto-tagging is frequently disabled in accounts that were set up quickly or imported from Google, and without it no MSCLKID arrives at all — so the entire offline import has nothing to match against and fails silently.

  • Nobody has reconciled it

Divi → Microsoft Ads · diagnose

Diagnostic order — Divi → Microsoft Ads

  1. 01

    Count submissions carrying the MSCLKID

  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 auto-tagging is enabled and check the upload diagnostics

    One account setting decides whether any of this works. Then read the per-row errors on the upload rather than the success count.

  5. 05

    Read the match rate, not the success message

    Microsoft Ads reports offline conversion uploads with rows accepted and rejected. A successful upload is not a matched conversion — check that conversions actually appear against campaigns afterwards.

Divi → Microsoft Ads · prove

How it gets proven — Divi → Microsoft Ads

Source of truth

Your CRM record, joined to the submission.

  • The MSCLKID confirmed present on a live submission.
  • Auto-tagging confirmed on, and the accepted count reconciled against conversions appearing in campaign reporting.
  • Qualified outcomes reconciled per form against imported conversions, with code placement verified update-safe.

Divi → Microsoft Ads · free audit

What we check in the free audit

  • Count submissions carrying the MSCLKID
  • Follow one real conversion end to end
  • Check whether tracking code sits in theme files or in a child theme
  • Confirm auto-tagging is enabled and check the upload diagnostics
  • 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 → Microsoft Ads · when not to buy

When you don't need this — Divi → Microsoft Ads

  • Measure identifier coverage yourself first — pull your last hundred submissions and count how many carry the MSCLKID.
  • Sites using a separate form plugin and a tag manager are insulated from the theme-update risk.
  • If you are not running Microsoft Ads at meaningful spend, skip it — though for B2B the traffic is often cheaper and better qualified than people expect, which is worth testing before dismissing.

Divi → Microsoft Ads · what we deliver

What gets built — Divi → Microsoft Ads

  • 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 Microsoft Ads

    Offline conversion import through the Microsoft Advertising API or a scheduled upload.

  • 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 → Microsoft Ads questions, answered

Store it in a first-party cookie on landing and fill a hidden or CSS-hidden field from it, with the script placed in Divi's Theme Options integration area or a child theme. Then confirm the value appears in the submission email or CRM record.

Free · 30 min

Get Divi and Microsoft Ads joined properly

Free30 minutesNo obligation