LinkedIn Conversions API: What It Is and How to Set It Up
LinkedIn's Conversions API connects your server or CRM to Campaign Manager so B2B conversions that happen offline or out of the browser still count. This guide covers access options, conversion rules, the identifiers LinkedIn matches on, field rules and limits, and how deduplication with the Insight Tag works.
In short
The LinkedIn Conversions API lets you send conversions from your server or CRM straight to LinkedIn, so campaigns get credit for leads and sales the Insight Tag misses. You create a conversion rule, associate campaigns, then stream events with at least one identifier such as a SHA-256 hashed email or the li_fat_id click ID, within 90 days.
You run LinkedIn campaigns for a B2B product. The Insight Tag records form fills, but the conversions that matter happen weeks later in your CRM: a qualified opportunity, a signed contract. LinkedIn never hears about them, so its reporting and bidding optimise for the cheapest form fills. The LinkedIn Conversions API fixes that by letting your server send conversions directly. This guide explains how it works and what a working setup needs. For the general concept, see what a conversions API is.
What the LinkedIn Conversions API is
LinkedIn's documentation describes it as a direct connection between marketing data from an advertiser's server and LinkedIn. Events are sent server to server, and once matched, LinkedIn attributes them to campaigns and shows them in Campaign Manager at account, campaign group, campaign and ad level. Because the data does not depend on a browser cookie, it covers conversions that happen offline, on another device, or after the Insight Tag's cookie has gone.
Two ways to get access
- Direct, through Campaign Manager. Advertisers sending their own data can generate an access token from their ad account without creating a developer app. LinkedIn notes these tokens do not expire and that Campaign Manager does not store them after generation, so copy it somewhere secure.
- Through a partner or the Developer Portal. Platforms that integrate on behalf of many advertisers apply for the Conversions API product, which uses the rw_conversions and r_ads permissions.
Partner integrations are the quickest route if your CRM or data platform already offers one. A direct build gives you control over exactly which events and identifiers are sent.
Step 1: create a conversion rule
Every event you stream belongs to a conversion rule. You can create rules in Campaign Manager or through the API with the conversion method set to CONVERSIONS_API. Each rule has a name, the ad account, a type such as LEAD, PURCHASE or QUALIFIED_LEAD, and attribution settings. LinkedIn's schema sets the post-click window default at 30 days and the view-through default at 7 days, with post-click values of 1, 7, 28, 30 or 90 days, and 180 or 365 days for a limited set of types including leads and purchases. For long B2B cycles, choose a long window when you create the rule; attribution for long sales cycles explains why it matters.
Step 2: associate campaigns
LinkedIn only attributes conversions to campaigns that are associated with the rule. You can associate them in Campaign Manager under Measurement, Conversion tracking, or through the API. When creating a rule by API, the autoAssociationType parameter can associate up to 200 campaigns with ALL_CAMPAIGNS, or campaigns whose objective fits the conversion type with OBJECTIVE_BASED. Forgetting this step is a common reason events are accepted but nothing appears in reporting.
Step 3: stream conversion events
Events go to the conversionEvents endpoint with a versioned Linkedin-Version header in YYYYMM format. Each event names the conversion rule, the time it happened in epoch milliseconds, an optional value and currency, an optional eventId for deduplication, and a user object. The user object must carry at least one identifier LinkedIn can match.
| Identifier | What it is | Notes |
|---|---|---|
| SHA256_EMAIL | The contact's email, lowercased, trimmed and SHA-256 hashed | The most widely available identifier for B2B leads |
| LINKEDIN_FIRST_PARTY_ADS_TRACKING_UUID | The li_fat_id click ID or first-party cookie value | Requires enhanced conversion tracking on the Insight Tag |
| PLAINTEXT_IP_ADDRESS or SHA256_IP_ADDRESS | The visitor's IPv4 address | LinkedIn says only IPv4 is supported at the time of writing |
| ACXIOM_ID | An identifier for LiveRamp's identity graph | Only if you use that service |
| userInfo | First and last name, with optional company, title and country | Improves match rates; names must be sent as a pair |
| lead | A LinkedIn Lead Gen Form response URN | Ties a CRM outcome back to a native LinkedIn lead form |
Send as many identifiers as you lawfully can: LinkedIn's documentation notes that only matched events can be used for attribution and optimisation. Our guide to hashing customer data with SHA-256 covers normalisation, which is where most match failures start.
Which conversions to send
The Conversions API is most valuable for the outcomes the Insight Tag cannot see. For most B2B advertisers that means CRM stages: a lead that sales accepts, an opportunity, a closed deal with its value. LinkedIn's schema includes a QUALIFIED_LEAD type, which its documentation says can be used as an optimisation target within the Lead Generation objective. Pick the stages your sales team already records consistently, define each in writing, and send each as its own conversion rule. Sending a qualified stage gives LinkedIn's delivery a better signal than raw form fills, especially when some form fills come from students, competitors or job seekers who will never buy. Check the conversion types available in the API version you use, because LinkedIn adds new lead stages over time.
Send events as soon as the CRM records them, ideally daily or in near real time, rather than in occasional bulk uploads. Fresh data helps optimisation, and it keeps you well inside the 90-day limit.
Limits and validation rules worth knowing
- The conversion timestamp must be within the past 90 days, in milliseconds. A value in seconds needs three zeros added.
- Batches can hold up to 5,000 events. LinkedIn lists rate limits of 600 requests per minute and 500,000 per day per member access token.
- If any record in a batch is invalid, the whole batch fails and must be resent after correction.
- Events cannot be sent to a deleted or disabled conversion rule.
- API versions are retired on a schedule, so keep the Linkedin-Version header current.
Capturing li_fat_id
The click ID only exists if you enable enhanced conversion tracking for your Insight Tag in Campaign Manager, after which LinkedIn appends li_fat_id to ad click URLs. Like any click ID, it is only on the landing URL, so read it on arrival, persist it for the visit, and save it with the lead. The same applies to UTMs; UTM parameters for LinkedIn ads covers LinkedIn's dynamic tracking parameters.
Deduplication with the Insight Tag works differently
LinkedIn recommends sending events through both the Insight Tag and the Conversions API, but its deduplication model is not the same as Meta's or TikTok's. You create a separate conversion rule for each source, browser and server, and pass the same eventId to both. On the browser side that means setting window._linkedin_event_id for page-load conversions, or adding event_id to the lintrk track call for event-specific ones. When LinkedIn receives both with the same eventId, it keeps the Insight Tag event and discards the API one. In reporting you see both rules, and the Insight Tag rule will normally show the higher count when deduplication works.
Where EndFrame fits
EndFrame has no native LinkedIn destination. It captures li_fat_id, UTMs and form data on your domain and stores them against the visitor and the lead, and its custom webhook can send each conversion with those fields to your CRM, a warehouse, or a small service that posts to LinkedIn's endpoint. For how LinkedIn's API compares with other platforms, see conversions APIs compared across ad platforms.
Frequently asked questions
Do I need a LinkedIn developer app to use the Conversions API?
Not if you are an advertiser sending your own data. LinkedIn lets you generate an access token from your Campaign Manager ad account, without a developer application. Partners building integrations for many advertisers apply for Conversions API access through the Developer Portal instead.
How far back can I send LinkedIn conversions?
LinkedIn's API documentation says the conversion timestamp must be within the past 90 days, sent in milliseconds since epoch. The conversion also has to fall inside the attribution window of the conversion rule to be credited to a campaign.
What is li_fat_id?
It is LinkedIn's click ID. When you enable enhanced conversion tracking for the Insight Tag in Campaign Manager, LinkedIn appends li_fat_id to ad click URLs. You capture it on landing and send it as the LINKEDIN_FIRST_PARTY_ADS_TRACKING_UUID identifier with your server events.
Can I send LinkedIn Lead Gen Form leads back as qualified conversions?
Yes. Each Lead Gen Form submission has a response URN, and the Conversions API accepts it in the lead field. That lets you report which form leads became qualified or closed, without needing another identifier for that person.
Sources
Try EndFrame
Add a server-side path for your conversions.
EndFrame collects events first-party and forwards conversions server-side to Meta, GA4, TikTok, and webhooks with event-ID deduplication — then credits each conversion to its campaign, with the visit-to-conversion path you can audit.
No credit card required