On this page
What this issue is
The LinkedIn Insight Tag is a script that runs in the visitor's browser and reports page views and conversions to LinkedIn. The LinkedIn Conversions API (CAPI) is a second route: your server, or a server-side tool, sends the conversion straight to LinkedIn. No browser is involved.
Why it costs you leads or sales
CAPI does not create leads. It protects the data LinkedIn uses to judge your campaigns. When the Insight Tag misses a conversion, LinkedIn sees fewer results, reports a higher cost per lead and has less signal for its delivery. You may cut a campaign that is actually working.
Example: 100 real leads from LinkedIn traffic. The tag alone reports fewer than the server-side route adds back. Numbers are illustrative.
How to check if your site has it
Open LinkedIn Campaign Manager
Go to Analyze > Conversion tracking (the menu name can vary by account version) and open your conversion rules.
Look at the data source
Each conversion rule shows whether it receives data from the Insight Tag, the Conversions API, or both. If only the Insight Tag is listed, CAPI is not set up for that rule.
Check your tag manager or plugin
Look for a LinkedIn CAPI tag in Google Tag Manager server container, a CRM or e-commerce integration, or a partner connector. Ask your developer if a custom server call exists.
Check your stored click ID
CAPI matching works best when you save the li_fat_id value from the landing page URL with the lead. If your CRM has no such field, you cannot send it later (see TRK-211).
How to fix it
The setup has four parts: an access token, conversion rules, the click ID, and a shared event ID. Exact screens depend on your platform and on the connector you use, so follow the one that fits your stack.
Create or reuse conversion rules
In Campaign Manager, create a conversion rule for each goal (lead, sign-up, purchase). Note the conversion ID or URN of each.
Get API access
Create a LinkedIn developer app linked to your ad account and request access to the Conversions API. Generate an access token. Tokens expire, so note the renewal date.
Capture li_fat_id
When a visitor lands with li_fat_id in the URL, store it in a first-party cookie and save it with the form submission or order.
Create one event ID per conversion
Generate a unique ID when the conversion happens. Pass it to the Insight Tag event and to the CAPI call so LinkedIn can remove duplicates.
Send the server event
Send the conversion with the conversion rule, the time, the user identifiers (li_fat_id and/or hashed email), and the event ID.
Respect consent
Only send events for visitors whose consent allows ad measurement, and hash email addresses before sending.
Use a server container
Set up a server-side GTM container and add a LinkedIn CAPI tag template from the template gallery if one is available for your account.
Forward the event ID
Send the same event_id from the web container to the server container and map it in the LinkedIn tag.
Pick a connector
Use your form or e-commerce plugin's LinkedIn integration if it offers CAPI, or send the event through a webhook to a server-side tool.
Store li_fat_id
Add a hidden field to your forms and fill it from the cookie so it is saved with each lead.
Check app support
Look in the Shopify App Store for a LinkedIn app or a server-side tracking app that supports the Conversions API.
Use order data
Map the purchase event with value, currency and the order ID as the event ID.
Post to the API from your backend
After the form or order is saved, call the LinkedIn Conversions API endpoint from your server with the access token.
Queue and retry
Log failed calls and retry them so a short LinkedIn outage does not lose conversions.
(function () {
var params = new URLSearchParams(window.location.search);
var id = params.get('li_fat_id');
if (id) {
document.cookie = 'li_fat_id=' + encodeURIComponent(id) +
'; max-age=' + 60 * 60 * 24 * 90 + '; path=/; SameSite=Lax';
}
})();- Ad clickVisitor lands with li_fat_id
- Form submittedLead is saved in your CRM
- Browser tagBlocked or declined
- LinkedIn reportConversion never recorded
With only the Insight Tag, a blocked browser call means LinkedIn never hears about the lead.
How to confirm it's fixed
- In Campaign Manager, the conversion rule shows both Insight Tag and Conversions API as data sources.
- Submit a test lead using a landing URL with a test li_fat_id and check the event appears in the conversion rule's activity.
- The same conversion is counted once, not twice (event ID is shared).
- The li_fat_id value is saved in your CRM record for the test lead.
- A visitor who declines consent does not trigger a server event.
- Your access token renewal date is in a calendar.
How to prevent it happening again
Most CAPI setups stop working quietly: a token expires, a form is rebuilt without the hidden field, or a consent change blocks the call. Keep a short routine.
- Record the token expiry and set a reminder before it.
- Review the conversion rule data sources monthly.
- Re-test after any form, theme, checkout or consent banner change.
- Compare LinkedIn-reported leads with CRM leads from LinkedIn each month and look for a growing gap.
- Keep the li_fat_id field in every form template.
How FunnelGuard handles this
FunnelGuard does not check LinkedIn CAPI yet. Server-to-server calls happen outside the browser a robot visitor uses, so this is a possible future check, not a current feature.
What FunnelGuard does cover nearby: it runs your real lead form or checkout on a schedule, checks each step, and looks at the tracking hits sent from the browser to ad platforms including LinkedIn. It also checks whether test leads reach your inbox and CRM. If the Insight Tag stops firing after a site change, that browser-side break is the kind of thing it is built to watch.
Questions people ask
What is the LinkedIn Conversions API?
The LinkedIn Conversions API (CAPI) lets your server or a server-side tool send conversion events directly to LinkedIn. It works alongside the Insight Tag, which reports from the visitor's browser. Using both gives LinkedIn a more complete view of your leads and sales.
Do I need LinkedIn CAPI if I already have the Insight Tag?
It is not required, and the Insight Tag alone works for many sites. CAPI helps when browser blockers, cookie limits or consent choices hide conversions. If LinkedIn is a minor channel for you, it is a low priority.
How do I check if LinkedIn CAPI is set up?
Open Campaign Manager, go to conversion tracking and look at your conversion rules. Each one shows its data source, such as Insight Tag or Conversions API. If only the Insight Tag appears, CAPI is not configured for that rule.
Why is LinkedIn counting my conversions twice?
Most likely the Insight Tag and CAPI both send the event without a shared event ID. Create one unique ID per conversion and pass the same value to both so LinkedIn can remove the duplicate.
What is li_fat_id and why does CAPI need it?
li_fat_id is a click identifier LinkedIn can add to your landing page URL after an ad click. Saving it with the lead lets you send it back with the server event so LinkedIn can match the conversion to the ad click.
Can FunnelGuard tell me if LinkedIn CAPI is working?
No. FunnelGuard does not check LinkedIn CAPI yet. It does run your real funnel and check browser-side tracking hits, form steps and whether test leads reach your inbox and CRM.
Does LinkedIn CAPI work without user consent?
You should only send events for people whose consent allows ad measurement where the law requires it. Server-side sending does not remove that duty. Pass your consent state to the server and skip events when consent is denied.
Related issues
- TRK-208LinkedIn Insight Tag missingFix guide
- TRK-209LinkedIn wrong partner IDFix guide
- TRK-210LinkedIn conversion ID not firing on thank-youFix guide
- TRK-211li_fat_id not persistedFix guide
- TRK-212LinkedIn Lead Gen Forms sync to CRM brokenFix guide
- TRK-206TikTok Events API dedup event_id mismatchFix guide