Skip to main content
Divi → LinkedInIntegration guide

Connecting Divi to LinkedIn 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. LinkedIn is where B2B advertisers pay the highest cost per click in the industry, which makes an unmeasured conversion more expensive here than almost anywhere. The join between them succeeds or fails on one thing: whether the li_fat_id click identifier reaches the Divi form submission before the conversion happens, because LinkedIn can only match a conversion it can tie back to a click it recognizes.

Free30 minutesNo obligation

Specific to this pair

Divi lead forms to LinkedIn CAPI for B2B service sites

Send LinkedIn the qualified lead, not the raw Divi submission, with li_fat_id and a hashed work email. Make the form a global Divi Library module before adding the hidden field, and load the Insight Tag from Theme Options Integration. Generate an event ID at submit, fire the Insight Tag with it, and reuse it for the Conversions API.

LinkedIn fits a Divi site when that site sells a B2B service: agencies, consultancies, IT providers, recruiters, which is a common use for Divi. The conversion LinkedIn should optimize on is the qualified form lead, not the raw Divi submission, and it should carry li_fat_id plus a hashed work email so it can match when the click identifier is missing.

Capturing li_fat_id means a hidden field on every Divi contact module that LinkedIn traffic can reach. Divi sites tend to have the same form copied as separate modules across many service pages, so make the form a global module in the Divi Library before adding the field, and one edit covers them all. The Insight Tag and the script that fills the field go in Theme Options integration or a child theme, so a theme update cannot remove them while forms keep submitting.

This pair breaks on double counting. A LinkedIn conversion tied to a thank-you page via Divi's redirect option, plus a Conversions API lead from the CRM, with no shared event identifier, doubles every lead at LinkedIn's click prices. Generate an event ID in the browser when the form submits, write it into a hidden field beside li_fat_id, fire the Insight Tag with it, and send that same ID from the server once the lead is qualified. Disqualified leads go nowhere. If the Divi site sells to consumers, leave LinkedIn out entirely; no amount of matching fixes the audience.

Divi → LinkedIn · what breaks

Why this join usually fails — Divi → LinkedIn

  1. 01

    The li_fat_id click identifier 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

    Long B2B cycles against LinkedIn's windows

    LinkedIn's attribution windows are configurable and finite, while B2B deals close in quarters. A conversion that matters commercially frequently falls outside the window that LinkedIn will credit, and that gap has to be reported rather than argued about.

  4. 04

    Nothing reconciles afterwards

    Campaign Manager reports conversions against each defined conversion action with its own window. A successful API call is not a matched conversion — reconcile LinkedIn's reported conversions against your CRM for the same window, and expect a gap wherever your sales cycle exceeds the attribution setting.

Divi → LinkedIn · the fix

What working looks like — Divi → LinkedIn

  • The li_fat_id click identifier on every submission

  • Conversions arriving in LinkedIn

    Conversions appear in Campaign Manager against the campaign, with the value you sent, and feed LinkedIn's optimization and its company-level reporting.

  • Reconciled against the source

Divi → LinkedIn · architecture

How Divi and LinkedIn 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

    LinkedIn Ads needs a click to match

    LinkedIn matches server events on the click identifier where present and hashed user data otherwise. Conversions have to be defined in Campaign Manager before anything can be sent against them, and the definition includes the attribution window and counting rule.

  3. 3

    The identifier is the bridge

    The li_fat_id click identifier, 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

    LinkedIn deduplicates on an event identifier shared between the Insight Tag and the Conversions API. Running both without pairing them doubles every conversion, which on LinkedIn's cost per click is an expensive error to leave running.

Divi → LinkedIn · normal or broken

Working vs. broken, side by side — Divi → LinkedIn

Normal, not a fault

  • The li_fat_id click identifier present on the submission

  • Sent from your CRM record

  • Deduplicated correctly

    LinkedIn deduplicates on an event identifier shared between the Insight Tag and the Conversions API. Running both without pairing them doubles every conversion, which on LinkedIn's cost per click is an expensive error to leave running.

  • Reconciles with the source

Actually broken

  • The li_fat_id click identifier 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

    LinkedIn's attribution windows are configurable and finite, while B2B deals close in quarters. A conversion that matters commercially frequently falls outside the window that LinkedIn will credit, and that gap has to be reported rather than argued about.

  • Nobody has reconciled it

Divi → LinkedIn · diagnose

Diagnostic order — Divi → LinkedIn

  1. 01

    Count submissions carrying the li_fat_id click identifier

  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 on and the conversion is defined in Campaign Manager

    Two settings, both easy to miss, and either one missing means nothing matches.

  5. 05

    Read the match rate, not the success message

    Campaign Manager reports conversions against each defined conversion action with its own window. A successful API call is not a matched conversion — reconcile LinkedIn's reported conversions against your CRM for the same window, and expect a gap wherever your sales cycle exceeds the attribution setting.

Divi → LinkedIn · prove

How it gets proven — Divi → LinkedIn

Source of truth

Your CRM record, joined to the submission.

  • The li_fat_id click identifier confirmed present on a live submission.
  • Auto-tagging confirmed enabled, the conversion defined in Campaign Manager, and deduplication verified on a real conversion.
  • Qualified outcomes reconciled per form against imported conversions, with code placement verified update-safe.

Divi → LinkedIn · free audit

What we check in the free audit

  • Count submissions carrying the li_fat_id click identifier
  • Follow one real conversion end to end
  • Check whether tracking code sits in theme files or in a child theme
  • Confirm auto-tagging is on and the conversion is defined in Campaign Manager
  • 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 → LinkedIn · when not to buy

When you don't need this — Divi → LinkedIn

  • Measure identifier coverage yourself first — pull your last hundred submissions and count how many carry the li_fat_id click identifier.
  • Sites using a separate form plugin and a tag manager are insulated from the theme-update risk.
  • If you are not selling to businesses, LinkedIn's cost per click is very hard to justify and no measurement work changes that arithmetic.

Divi → LinkedIn · what we deliver

What gets built — Divi → LinkedIn

  • 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 LinkedIn

    Server events to the LinkedIn Conversions API with the click identifier, hashed user data and a matched event identifier.

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

Yes. Paste it into Divi's Theme Options integration area or a child theme, not the parent theme files, so it survives theme updates.

Free · 30 min

Get Divi and LinkedIn joined properly

Free30 minutesNo obligation