LinkedIn Conversions API Setup: 6 Steps

Daniel Kalcher

CTO, lead-metrics.com

10 min read

You complete the LinkedIn Conversions API setup in six steps: create a conversion rule with the source "Conversions API" in Campaign Manager, generate an access token and send events from your server to LinkedIn, each with the li_fat_id or the hash of the email address. Everything you need is below, in the order you click through it. As of November 2026.

Key points

  • Three building blocks: conversion rule, access token, events with a user identifier. If one is missing, nothing reaches Campaign Manager.
  • At least one identifier per event: for example the SHA-256 hash of the email or the li_fat_id. LinkedIn recommends sending both, because only matched events count for attribution and optimisation.
  • 90 days: an event's timestamp can be at most 90 days old.
  • Alongside the Insight Tag: with the same eventId, LinkedIn counts each conversion only once.
  • Three routes: Google Tag Manager server-side, a LinkedIn partner, or a direct API integration.

LinkedIn Conversions API setup in 6 steps

  1. Check your role and ad account

    Whoever creates the connection needs one of these roles in the ad account: Account Billing Admin, Account Manager, Campaign Manager or Creative Manager. For calls made directly to the API, you also need the permissions rw_conversions and r_ads.

  2. Make the li_fat_id available

    The click ID li_fat_id is the most important identifier for matching an event to an ad. It is appended to the landing page URL when "Enhanced conversion tracking" is active in the Insight Tag, which LinkedIn says is the default for newly created Insight Tags. You can read the parameter from the URL with JavaScript, without the Insight Tag code on the page, and pass it along as a hidden form field, just as you do with UTMs and other click IDs. If the Insight Tag is installed, the ID is also stored in the browser for 30 days as the li_fat_id cookie (LinkedIn documentation on first-party cookies).

  3. Create the conversion rule

    In Campaign Manager, go to Measure, then Conversion tracking, then "Create conversion", and choose the source "Conversions API". Enter a name, pick the category (for example Lead), the value and the attribution window. The lead value calculator helps with the value. Then assign the campaigns to the rule, because only campaigns assigned there get the conversions credited.

  4. Generate the token and note the ID

    In the setup flow of Campaign Manager, generate the access token with "Generate token". Treat it like a password: anyone who has it can write data into your ad account. You find the conversion rule ID in the rule's settings (step 3, tag manager option).

  5. Send events from your server

    For each conversion, your server sends a POST to https://api.linkedin.com/rest/conversionEvents, with the headers Linkedin-Version and X-Restli-Protocol-Version: 2.0.0. The section on required fields shows what the event must look like.

  6. Check the status

    The conversion tracking overview shows the rule and its status. According to the LinkedIn Conversions API FAQ, allow up to 72 hours before numbers appear in reporting. If the status still reads "unverified" after three days, work through the errors in the troubleshooting section.

Three routes: Tag Manager, partner or your own integration

Which route you take for the LinkedIn Conversions API depends on what you already run. LinkedIn itself names two options: use a partner or integrate directly. If you already run server-side tracking, you will usually stay with Tag Manager.

RoutePrerequisiteEffortFits when
GTM server-sideGA4 events, web and server containermedium, server hosting neededyou already run server-side tagging
LinkedIn partner (for example Zapier, Dreamdata, Adobe)Account with the partnerlow, fees vary by partneryou do not want to write code
Direct via APIDeveloper, token management1 to 2 weeks on average, according to LinkedInyou want full control over data and timing

On the GTM route, you use the community template "LinkedIn | CAPI Tag" from linkedin-developers in the server container, described in LinkedIn's GTM guide. It needs the token and the conversion rule ID.

In the web container, you pass the data on under fixed names: user_data.sha256_email_address for the hash, user_data.linkedinFirstPartyId for the li_fat_id and event_id for deduplication. If the parameters are named differently, the tag cannot read them. You can test with the preview mode of both containers.

Required fields in the event

An event consists of the conversion rule, the time and at least one user identifier:

{
  "conversion": "urn:lla:llaPartnerConversion:123",
  "conversionHappenedAt": 1590739275000,
  "conversionValue": { "currencyCode": "EUR", "amount": "50.0" },
  "user": {
    "userIds": [
      { "idType": "SHA256_EMAIL", "idValue": "<SHA-256 of the email>" },
      { "idType": "LINKEDIN_FIRST_PARTY_ADS_TRACKING_UUID", "idValue": "<li_fat_id>" }
    ]
  },
  "eventId": "abc12345"
}

The key rules are in the Conversions API documentation:

  • Time: conversionHappenedAt is a Unix timestamp in milliseconds and can be at most 90 days in the past.
  • Identifier: at least one of SHA256_EMAIL, LINKEDIN_FIRST_PARTY_ADS_TRACKING_UUID, ACXIOM_ID, PLAINTEXT_IP_ADDRESS, GOOGLE_AID or first and last name. externalIds are also possible, or the lead field for Lead Gen Forms. The userIds field must be present even if you send an empty list there.
  • Hashing: SHA-256 without salt. Lowercase email addresses before hashing, which LinkedIn says improves the match rate.
  • More identifiers, more matches: only events that LinkedIn can match to a member count towards attribution and optimisation. How to raise your match rate on Meta is covered in the guide to event match quality, and the principle carries over.
  • Limits: 600 requests per minute and 500,000 per day per token. A batch (header X-RestLi-Method: BATCH_CREATE) holds up to 5,000 events. If one value in a batch is invalid, all entries fail.
  • Send promptly: LinkedIn wants events immediately or within a day at the latest.

Attribution reaches back 180 days at most (90 days of timestamp plus a 90-day lookback). For Lead, Qualified Lead, Purchase, Add to Cart and Submit Application, you can usually choose 180 or 365 days as the window too. How different windows change your numbers is explained in the guide to comparing platform numbers and attribution windows.

Deduplicate the LinkedIn Conversions API and Insight Tag

LinkedIn recommends sending events through the Insight Tag and the Conversions API at the same time. So that nothing counts twice (the deduplication rules at LinkedIn are fixed), create a separate conversion rule for each source and give both events the same eventId.

In the browser, you set it for a page-view conversion with window._linkedin_event_id = "..." before the Insight Tag code, and for an event with window.lintrk("track", { conversion_id: 12345, event_id: "..." }).

If both events arrive with the same ID from the same account, LinkedIn discards the Conversions API one and counts the Insight Tag one. In the breakdown, the Insight Tag value should therefore be higher than the API value.

For how deduplication with event_id works in general for pixel and server, see the comparison of conversion APIs for Meta, Google, TikTok and LinkedIn.

What changes with versions 202609 and 202611

The API is versioned, and you set the Linkedin-Version header yourself. Older versions expire: LinkedIn will switch off version 202601 on 15 January 2027. For setups you build now, these changes matter:

  • From 202609: hashedFirstName and hashedLastName are allowed. The pair satisfies the identifier requirement. Before hashing, write names in lowercase, without spaces or punctuation, UTF-8 encoded.
  • From 202608: the types Marketing Qualified Lead and Sales Qualified Lead are available for conversion rules.
  • From 202611: SHA256_PHONE is possible as an identifier. Put the number in E.164 format, remove the plus sign and all special characters, then hash it.

LinkedIn Conversions API: when nothing arrives

The most common causes, with the message that gives them away:

Message or symptomCauseFix
Conversion time should be within 90 daysTimestamp older than 90 daysSend events sooner, check the timestamp is in milliseconds
The request must contain one of these fields: SHA256_EMAIL ...No valid identifier in the eventAdd the hash or li_fat_id, no empty strings
403 USER_NOT_AUTHORIZEDRole or permission missingCheck the role in the ad account and the scopes
401 EMPTY_ACCESS_TOKENToken missing from the headerSet the header Authorization: Bearer ...
Event accepted, but no conversionCampaign not assigned to the rule, or identifier cannot be matchedAssign campaigns to the rule, send more identifiers
Numbers missingProcessing takes timeWait up to 72 hours

If the rule is active and events are confirmed with 201 but the status in Campaign Manager stays empty, check the matching, ideally along your lead attribution: according to LinkedIn, only events that can be matched to a member count, and only campaigns assigned to the rule.

The LinkedIn Conversions API sends personal data to LinkedIn. Even a hashed email address remains personal data, because hashing is only pseudonymisation within the meaning of Art. 4(5) GDPR.

Reading the li_fat_id from the cookie does not store anything new, but it does access information on the user's device, for which Art. 5(3) of the ePrivacy Directive (in the UK, regulation 6 of PECR) generally requires consent. For passing the data on, consent under Art. 6(1)(a) GDPR is usually the basis.

Your consent banner should therefore name LinkedIn as a recipient, and events may only flow for people who have agreed. The details of consent for server-side tracking under GDPR depend on your setup. Agree this with your data protection officer; this is not legal advice.

Send CRM leads back to LinkedIn

The most valuable events for the LinkedIn Conversions API often only arise after the form: a qualified lead, an appointment, a won deal. These pipeline stages can be reported as conversions to LinkedIn, so the campaign optimises for contacts who buy later. The hard part is linking each stage to the right li_fat_id.

The same applies to deals from the CRM, which you send back to Meta (see HubSpot deals to Meta), Google (offline conversion import) and TikTok through the Conversion API. The comparison of the four platforms shows how each one differs.

LeadMetrics handles this part with lead tracking: the script stores the li_fat_id of the session, assigns the lead and sends the events you map per project, hashed and with event_id, to LinkedIn. Only matched data goes out to LinkedIn, and for each lead you see what was sent.

How the integration looks in detail is on the page for LinkedIn Ads in LeadMetrics. How to choose CRM stages as conversions is explained in the guide to setting up the Conversion API with a CRM. The Meta variant is covered in the Meta Conversions API setup.

Set up a single event cleanly first, ideally the lead, and check after three days whether the rule is verified. Value and later stages come after that.

Ready for better tracking?

Try LeadMetrics free for 10 days and see which campaigns actually drive revenue.
Try free for 10 days

Ready for better tracking?

Discover how LeadMetrics helps you understand the true ROI of your marketing channels.

Try free for 10 days