Skip to main content
Salesforce → LinkedInIntegration guide

Connecting Salesforce to LinkedIn Ads

Salesforce holds the opportunity, the amount and the close — the only place the actual revenue outcome is recorded. 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 Salesforce Lead or Opportunity 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

Salesforce to LinkedIn: stage conversions from the opportunity

Check whether Campaign Manager offers a direct Salesforce CRM connection before building a Conversions API pipeline. Define one conversion per stage, such as SQL on the Lead and Closed Won on the Opportunity. Store li_fat_id and work email on the Lead and carry them from the original converted Lead onto the Opportunity, since the clicker often isn't the signer.

LinkedIn and Salesforce are the most natural pair in this set: LinkedIn sells reach by company and title, and Salesforce records which companies actually bought. Campaign Manager offers direct CRM connections for conversions; check whether Salesforce is listed for your account and whether the connection handles the objects you use, such as Opportunities by stage, before building a custom Conversions API pipeline.

Define one conversion per stage in Campaign Manager, for example SQL on the Lead and Closed Won on the Opportunity, each with its own window and value. Store li_fat_id on the Lead and map it through conversion to the Opportunity, alongside the email. Work emails on Salesforce Leads match well on LinkedIn; personal addresses do not. Send amount on Closed Won only, in the opportunity's currency.

The failure particular to LinkedIn is that the person who clicked is often not the person on the closed opportunity: a director clicked, procurement signed. If the conversion keys on the Opportunity's primary contact role, it misses the click. Carry li_fat_id and email from the original converted Lead onto the Opportunity, and use LinkedIn's company-level reporting for the account view. Check whether LinkedIn can retract a conversion; if not, correct opportunities that fall out of Closed Won in your own reporting.

Salesforce → LinkedIn · what breaks

Why this join usually fails — Salesforce → LinkedIn

  1. 01

    The li_fat_id click identifier never reaches Salesforce

    Lead conversion is where identifiers die. A custom field on Lead that has no mapped counterpart on Contact or Opportunity is silently discarded when the Lead converts, and nobody notices until months of data are unattributable.

  2. 02

    The identifier is lost at lead conversion

    This one failure explains most broken Salesforce attribution. The data is captured correctly, then thrown away by a mapping nobody configured.

  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.

Salesforce → LinkedIn · the fix

What working looks like — Salesforce → LinkedIn

  • The li_fat_id click identifier on every opportunity

  • 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

Salesforce → LinkedIn · architecture

How Salesforce and LinkedIn actually connect

  1. 1

    Salesforce holds the truth

    The opportunity carries the amount, stage and close date. Because Leads convert into Contacts, Accounts and Opportunities, the identifier must be mapped through the conversion or it is dropped exactly at the moment the record becomes valuable.

  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 Salesforce Lead or Opportunity.

  4. 4

    The event source decides reliability

    Fire on the transition into Closed Won, carrying the amount and the identifier. Note that Salesforce's own advertising integrations vary in what they support — build on the record, not on a connector that might change.

  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.

Salesforce → LinkedIn · normal or broken

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

Normal, not a fault

  • The li_fat_id click identifier present on the opportunity

  • Sent from a Salesforce flow, Apex trigger or scheduled export on StageName change

  • 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

    Lead conversion is where identifiers die. A custom field on Lead that has no mapped counterpart on Contact or Opportunity is silently discarded when the Lead converts, and nobody notices until months of data are unattributable.

  • Sent from the browser

    This one failure explains most broken Salesforce attribution. The data is captured correctly, then thrown away by a mapping nobody configured.

  • 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

Salesforce → LinkedIn · diagnose

Diagnostic order — Salesforce → LinkedIn

  1. 01

    Count opportunitys carrying the li_fat_id click identifier

  2. 02

    Follow one real conversion end to end

  3. 03

    Convert a test Lead and inspect the resulting Opportunity

    If the identifier is not on the Opportunity, the field mapping is missing. This takes five minutes and rules out the most likely cause outright.

  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.

Salesforce → LinkedIn · prove

How it gets proven — Salesforce → LinkedIn

Source of truth

A Salesforce report of Closed Won opportunities for the same window, by close date.

  • The li_fat_id click identifier confirmed present on a live opportunity.
  • Auto-tagging confirmed enabled, the conversion defined in Campaign Manager, and deduplication verified on a real conversion.
  • A test lead converted end to end with the identifier confirmed present on the resulting opportunity.

Salesforce → LinkedIn · free audit

What we check in the free audit

  • Count opportunitys carrying the li_fat_id click identifier
  • Follow one real conversion end to end
  • Convert a test Lead and inspect the resulting Opportunity
  • Confirm auto-tagging is on and the conversion is defined in Campaign Manager
  • Read the match rate, not the success message

Checked against

A Salesforce report of Closed Won opportunities for the same window, by close date.

Get my free conversion tracking audit

Free30 minutesNo obligation

Salesforce → LinkedIn · when not to buy

When you don't need this — Salesforce → LinkedIn

  • Measure identifier coverage yourself first — pull your last hundred opportunitys and count how many carry the li_fat_id click identifier.
  • If your Salesforce instance is heavily customized and administered by another team, scope their availability before commissioning this — the build is usually blocked on admin access rather than on the tracking work.
  • If you are not selling to businesses, LinkedIn's cost per click is very hard to justify and no measurement work changes that arithmetic.

Salesforce → LinkedIn · what we deliver

What gets built — Salesforce → LinkedIn

  • Identifier capture into Salesforce

    Custom field on Lead, matching custom field on Contact and Opportunity, and the field mapping configured so conversion carries it across. Verify by converting a test lead and reading the resulting opportunity.

  • Event source: a Salesforce flow, Apex trigger or scheduled export on StageName change

    Fire on the transition into Closed Won, carrying the amount and the identifier. Note that Salesforce's own advertising integrations vary in what they support — build on the record, not on a connector that might change.

  • 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

    An opportunity moved back out of Closed Won can be retracted, and enterprise pipelines do this often enough to be worth wiring.

Written guarantee

95%+ tracking accuracy

Measured against A Salesforce report of Closed Won opportunities for the same window, by close date.. Miss it and we keep working at no cost.

Get my free conversion tracking audit

From $400 · See packages

FAQ

Salesforce → LinkedIn questions, answered

Store li_fat_id and email on the Lead, map them through to the Opportunity, and send a conversion on Closed Won, through Campaign Manager's CRM connection or the Conversions API.

Free · 30 min

Get Salesforce and LinkedIn joined properly

Free30 minutesNo obligation