Skip to content
FunnelGuard

Fix guide by FunnelsGuard

LinkedIn Conversions API not configured: how to set it up

TRK-213Low impactCould addBy FunnelGuardPublished Updated
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.

Conversions LinkedIn can seeExample numbers
Conversions LinkedIn can see (example)Real leads: 100 conversions; Insight Tag only: 78 conversions; Tag + CAPI: 92 conversions038771007892Real leadsInsight Tag onlyTag + CAPIconversions

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

Check whether LinkedIn CAPI is set up
  1. Open LinkedIn Campaign Manager

    Go to Analyze > Conversion tracking (the menu name can vary by account version) and open your conversion rules.

  2. 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.

  3. 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.

  4. 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.

Set up LinkedIn CAPI
  1. 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.

  2. 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.

  3. 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.

  4. 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.

  5. 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.

  6. Respect consent

    Only send events for visitors whose consent allows ad measurement, and hash email addresses before sending.

Where to do it on your platform
  1. 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.

  2. Forward the event ID

    Send the same event_id from the web container to the server container and map it in the LinkedIn tag.

Capture li_fat_id from the URL into a cookiejavascript
(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';
  }
})();
Tag only vs tag plus CAPI
  1. Ad clickVisitor lands with li_fat_id
  2. Form submittedLead is saved in your CRM
  3. Browser tagBlocked or declined
  4. 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

Confirmation checklist
  • 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.

Prevention 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.

Does FunnelGuard catch this?

Could add

Not checked yet: could be added to FunnelGuard.

Stop finding out from your customers

FunnelGuard runs your real forms and checkouts on a schedule, checks the tracking and the leads behind them, and alerts you once, with a screenshot. Try any paid plan free for 3 days.