LinkedIn Ads Conversion Tracking in Salesforce
Wire the LinkedIn Insight Tag, LinkedIn Conversions API, and Salesforce into a closed loop so Opportunity stage changes become LinkedIn optimization signals. Rule27 is a certification-backed Salesforce implementer with 56+ certifications, building attribution RevOps can reconcile.
Teams track LinkedIn form fills and under-report pipeline, because the conversion that matters is the Salesforce Opportunity that closes 120 days after the click, and the Insight Tag never sees it.
Rule27 builds the closed loop between LinkedIn ad spend and Salesforce Opportunity revenue, so Campaign Manager optimizes toward pipeline instead of form fills.
The decision we make first
We pick the connection path against your Salesforce edition, engineering capacity, event volume, and the cost of a wrong attribution number: Salesforce Data 360 native, LinkedIn Conversions API direct build, middleware, or CSV fallback. Most mid-market Sales Cloud shops land on a Data 360 plus Conversions API hybrid.
What we actually build
We map Salesforce Lead and Opportunity stages to distinct LinkedIn conversion actions (MQL, SQL, Opportunity Created, Closed Won), hash PII with SHA-256 in a Salesforce Flow or Apex trigger before outbound, and persist a stable match key across the Lead-to-Contact conversion so the record ID change never breaks the feed. Then we widen attribution windows to the real 60-to-180-day B2B cycle and reconcile closes that fall outside it through offline upload.
LinkedIn-to-Salesforce attribution audit
A documented map of where LinkedIn spend and Salesforce Opportunity revenue currently disconnect, and which of the four paths fits.
Connection-path recommendation
A build-vs-buy call across Data 360 native, Conversions API direct, middleware, and CSV, scored on your edition and engineering capacity.
Pipeline-stage conversion actions
MQL, SQL, Opportunity Created, and Closed Won configured as distinct LinkedIn conversions for stage-level optimization.
SHA-256 hashing in Salesforce
A Flow or Apex trigger that hashes PII before outbound, meeting LinkedIn's CAPI requirement.
ID-persistence pattern
A stable match key carried across the Lead-to-Contact conversion so the record ID change never breaks the feed.
Attribution reconciliation model
A documented rule for when to trust LinkedIn attribution versus Salesforce Campaign Influence, and which number goes to the board.
Diagnostic checklist and runbook
A step-by-step guide for when Campaign Manager conversion counts and Salesforce Opportunity counts disagree.
Attribution audit
We document the current LinkedIn and Salesforce setup, the Insight Tag coverage, and where pipeline is going uncredited, then recommend one of the four connection paths with the reasoning written down.
Path selection and prerequisites
We confirm Salesforce edition, Data 360 availability, Campaign Manager tier, and admin permissions, then choose native, direct API, middleware, or CSV against your engineering capacity and event volume.
Pipeline-stage conversion mapping
We create distinct LinkedIn conversion actions for MQL, SQL, Opportunity Created, and Closed Won so the algorithm can optimize to pipeline stage rather than a single generic event.
Hashing and ID persistence
We build SHA-256 hashing into a Salesforce Flow or Apex trigger and persist a stable match key across the Lead-to-Contact conversion so the record ID change does not silently break the feed.
Window and bid configuration
We widen attribution windows to the real 60-to-180-day B2B cycle, switch the Campaign Manager objective to the Opportunity conversion, and set cost-per-Opportunity as the primary KPI.
Reconciliation and handoff
We reconcile LinkedIn attribution against Salesforce Campaign Influence, hand off a diagnostic checklist and runbook, and document the model so the in-house team can own it.
Asked often.
Does LinkedIn integrate with Salesforce for conversion tracking?
Yes, through several paths. LinkedIn's Data 360 connection creates conversions sourced from Salesforce objects inside Campaign Manager, the Conversions API opens a server-to-server pipeline for custom event payloads, and middleware or CSV upload cover lighter cases. The right path depends on your Salesforce edition, engineering capacity, and event volume. The real work is mapping Salesforce Opportunity stages to LinkedIn conversion actions and persisting a match key across the Lead-to-Contact conversion, which is where most Salesforce feeds silently break if nobody handles it.
Why does my LinkedIn ROAS look weak until months later?
Because the Insight Tag only sees the on-site form fill, not the Salesforce Opportunity that closes 60 to 180 days later. At day 30 you are measuring cheap form fills, so ROAS looks thin. At day 180 you are measuring Closed Won, so it looks strong. Closing the loop means sending Salesforce pipeline stages back to LinkedIn while the campaign is live, and widening the attribution window to match a real B2B sales cycle so no closed deal goes uncredited.
What breaks LinkedIn conversion feeds for Salesforce shops?
Three things, in order. Missing conversions usually trace to PII that was not hashed with SHA-256 or a consent flag that blocked the send. ID drift happens when a Salesforce Lead converts to a Contact plus Account plus Opportunity and the record ID changes, so a feed keyed on Lead ID goes dark exactly when the record becomes valuable. Duplicate conversions come from a Data 360 sync and a middleware Zap both sending the same event. A stable hashed-email match key and one source per conversion action fix most of it.