The LinkedIn Conversions API (CAPI) is the most important tracking tool available to B2B advertisers running LinkedIn campaigns, and the one most frequently skipped. It solves a problem that the browser-based Insight Tag fundamentally cannot: tracking conversions that happen outside the browser, after a long sales cycle, or inside a CRM.
This guide explains what LinkedIn CAPI does, why it matters specifically for B2B, and how to set it up.
The B2B Tracking Problem LinkedIn CAPI Solves
In B2B sales, the average sales cycle can be 3–12 months. A buyer might:
- Click a LinkedIn Sponsored Post in January
- Download a whitepaper in February
- Attend a webinar in March
- Request a demo in April
- Sign a contract in June
With only the LinkedIn Insight Tag, LinkedIn can see steps 1 and 2 (because they happened on your website), possibly step 3 if you tracked it, and nothing after that. It never sees the demo request (which may have happened via phone or email) or the signed contract.
LinkedIn’s algorithm sees the click, sees no conversion (because the conversion happened months later offline), and concludes the ad was not effective. Smart bidding and campaign optimisation are trained on an incomplete picture.
LinkedIn CAPI lets you send a conversion event to LinkedIn when the contract is signed — six months after the original click — and LinkedIn will attribute it back to the original ad exposure if it falls within your configured attribution window.
What LinkedIn CAPI Can Track That the Insight Tag Cannot
- CRM stage changes (Lead → Opportunity → Customer)
- Phone call bookings made after seeing an ad
- Offline events (conference conversations that turned into sales)
- In-person demo meetings
- Contract signings
- Any conversion that is tracked in your CRM or backend system, not in a browser
How LinkedIn CAPI Works Technically
LinkedIn CAPI uses a server-to-server API connection. When a conversion event occurs (e.g. a deal is marked “Closed Won” in your CRM), your system sends an HTTP POST request to LinkedIn’s Conversions API endpoint with:
- The conversion event name (mapped to a conversion action in Campaign Manager)
- A timestamp of when the conversion occurred
- User identification data to match back to a LinkedIn member (email, LinkedIn first/last party ID)
- Optional: conversion value, currency, order ID
LinkedIn uses the user identification data to match the conversion to a LinkedIn member, and then attributes it back to any LinkedIn ad exposure that member had within the configured attribution window.
User Matching for LinkedIn CAPI
LinkedIn can match conversions using:
- Email (SHA256 hashed) — the prospect’s email address from your CRM, hashed before sending
- LinkedIn First Party Cookie ID — if the prospect clicked your LinkedIn ad, their LinkedIn first-party ID can be captured from the li_fat_id URL parameter on the landing page and stored in your CRM
Email matching works if the email in your CRM matches the email on the prospect’s LinkedIn account. For professional contacts, this is often the case. For best match rates, capture and store the li_fat_id parameter when a LinkedIn prospect clicks through to your site and fills out a form.
Setting Up LinkedIn CAPI: Integration Options
HubSpot Native Integration
LinkedIn has a native CAPI integration with HubSpot. Connect LinkedIn Ads to HubSpot in Campaign Manager, then configure which HubSpot deal stages or contact properties should send conversion events to LinkedIn. This is the easiest setup if you use HubSpot.
Salesforce Native Integration
LinkedIn also has a Salesforce integration for CAPI. Similar setup: connect LinkedIn to Salesforce and map Opportunity stages to LinkedIn conversion events.
Custom API Integration
For other CRMs or custom workflows, build a server-side integration that calls the LinkedIn Conversions API when your defined conversion events occur. This requires development work but works with any CRM or data system.
Zapier / Make
No-code automation tools can trigger LinkedIn CAPI calls from CRM stage changes. Create a Zap or Make scenario that triggers when a deal reaches a specific stage and calls the LinkedIn API with the conversion data.
The ROI of Closing the Loop with LinkedIn CAPI
When LinkedIn’s algorithm sees only top-of-funnel clicks but not downstream revenue, it optimises for clicks — which are cheap but not the same as revenue. When you use CAPI to send Closed Won signals back to LinkedIn, the algorithm learns what a high-value conversion looks like and starts targeting more people who fit that profile.
Most B2B advertisers who implement LinkedIn CAPI see their cost per qualified opportunity fall by 20–40% within two to three months, because the algorithm gets better at identifying who actually converts to revenue, not just who clicks.
Get LinkedIn CAPI Set Up for Your B2B Sales Process
Setting up LinkedIn CAPI requires mapping your CRM stages to LinkedIn conversion events and deciding which signals to send. The technical complexity depends on your CRM and how your sales process is structured.
Book your free tracking audit here and we will design the right LinkedIn CAPI setup for your specific sales cycle and CRM.