Server-Side Tagging8 min read
LinkedIn Conversions API: Setup with Server-Side GTM, Deduplication and Qualified Leads
LinkedIn recommends sending conversions through both the Insight Tag and the Conversions API. This guide explains LinkedIn's deduplication rules, the identifiers it needs, the server-side GTM route and the 30-day rule for qualified leads, from LinkedIn's developer documentation.
Insight Tag and Conversions API together
LinkedIn's deduplication page recommends that advertisers send conversions through both the Insight Tag and the Conversions API. Its use case page lists three ways to share conversions: the Insight Tag, the Conversions API and CSV upload, and says the API is supported through direct integrations and third-party partner integrations.
Related: LinkedIn: Conversions API use cases
How LinkedIn deduplicates
LinkedIn matches the browser and server copies with an event ID. On the Insight Tag, a page-load conversion sets it with window._linkedin_event_id before the base code, and an event-based conversion passes event_id in window.lintrk. Your server must pick up the same ID from the browser and send it with the matching Conversions API event.
Two details differ from other platforms. First, LinkedIn says you must create a conversion rule for each data source, one for the browser and one for the server. Second, when it finds a duplicate, LinkedIn discards the Conversions API event and counts only the Insight Tag event. Its documentation adds that the Insight Tag event will typically have a higher count if deduplication is working correctly.
// Browser: fire the conversion with an ID your server will reuse.
const eventId = "lead-58213";
window.lintrk("track", {
conversion_id: 1234567, // the browser conversion rule
event_id: eventId,
});
// Server: send the Conversions API event for the server conversion rule
// with eventId "lead-58213".Related: LinkedIn: Deduplication
The identifiers LinkedIn needs
LinkedIn's server-side GTM guide lists the user identifiers and says one of them is required: a SHA-256 hashed email, the LinkedIn first-party click ID (the li_fat_id value), an Acxiom ID, the IP address or a Google advertising ID.
First name, last name, company name, job title, country code and conversion value are optional. In practice, send the hashed work email from your form and the li_fat_id when you have them, because they are the identifiers most B2B lead forms can supply.
Setting it up with server-side GTM
LinkedIn publishes a guide for Google Tag Manager server-side tagging. Its prerequisites are a LinkedIn API access token, GA4 events configured on the site, and both a GTM web container and a server container. The guide says this route is only available if you use GA4.
- Create a conversion rule for the server source in Campaign Manager, choosing the option to use a tag manager, and copy its Conversion ID for Google Tag Manager.
- Generate a LinkedIn API access token, as LinkedIn's guide describes.
- Add LinkedIn's tag to the server container with the conversion rule ID and the access token.
- Pass the event ID and the hashed email from the web container to the server, so deduplication and matching work.
- Test with Preview mode in both the web and the server container.
Qualified leads from your CRM
The Conversions API is also how you tell LinkedIn which leads became qualified. LinkedIn's use case page says qualified leads data must be shared within 30 days to be included in ad set optimisation, so a monthly export is too slow. Send the update when sales marks the lead as qualified, through a CRM integration, a partner or a direct API job.
LinkedIn's documentation also mentions a version change: its Marketing API version 202601 is scheduled to be sunset on January 15, 2027, and LinkedIn recommends migrating to the latest versioned APIs. If you have a custom integration, check which version it calls.
Related: LinkedIn: Conversions API use cases
Sources
The rules above come from LinkedIn's developer documentation on Microsoft Learn, checked on 30 November 2026.
Related: Deduplication · Conversions API use cases · Google Tag Manager server-side tagging guide
Problems and fixes
1Conversions counted twice
- Symptom
- LinkedIn reports roughly double the leads your CRM shows.
- Cause
- The Insight Tag and server events don't share an event ID.
- Fix
- Set the event ID on the Insight Tag and send the same value from the server.
2Server rule shows fewer conversions than the browser rule
- Symptom
- The Conversions API rule has a lower count than the Insight Tag rule.
- Cause
- This is expected: LinkedIn discards the Conversions API copy of a duplicate and keeps the Insight Tag event.
- Fix
- Nothing to fix. LinkedIn says the Insight Tag count is typically higher when deduplication works.
3Server events not matched
- Symptom
- Events arrive but few are attributed.
- Cause
- No required identifier is sent, or the email isn't hashed.
- Fix
- Send at least one required identifier, ideally the SHA-256 hashed email and li_fat_id.
4Qualified leads ignored by optimisation
- Symptom
- Qualified lead uploads don't seem to change delivery.
- Cause
- LinkedIn only uses qualified leads shared within 30 days for ad set optimisation.
- Fix
- Send qualification updates as they happen, not in a monthly batch.
Implementation Checklist
Verify each milestone before deploying changes to live production ad accounts.
- ✓Insight Tag on every page
- ✓Separate conversion rules for browser and server
- ✓Shared event ID on both copies
- ✓Hashed email or li_fat_id sent with server events
- ✓Server-side GTM with GA4, access token and rule ID
- ✓Qualified leads sent within 30 days
- ✓Custom integrations on a current API version
Frequently asked questions
Do I need both the LinkedIn Insight Tag and the Conversions API?
LinkedIn recommends sending conversions through both, with deduplication.
Which copy does LinkedIn keep when it deduplicates?
LinkedIn discards the Conversions API event and counts only the Insight Tag event.
Do the browser and server need the same conversion rule?
No. LinkedIn says you must create a conversion rule for each data source, browser and server.
What identifier does the LinkedIn Conversions API require?
At least one of: SHA-256 hashed email, the LinkedIn first-party click ID, Acxiom ID, IP address or Google advertising ID.
Can I use the LinkedIn server-side GTM tag without GA4?
No. LinkedIn's guide says the server-side GTM solution is only available if you use GA4.
Need a hand with this?
Want us to set this up for you?
This is the kind of work we do for clients every week. Tell us about your setup and we'll take it from there.
Keep reading
How to Import GA4 Key Events into Google Ads as Conversions, and the Settings That Decide What Bidding Sees
Google Ads can use your GA4 key events as conversions, but the import has prerequisites, a default that keeps new actions out of bidding, and settings that only one of the two tools can change. This guide walks through it from Google's help pages.
Stripe Checkout Conversion Tracking: Recording Purchases in GA4, Google Ads and Meta When Buyers Don't Return
Stripe says customers aren't guaranteed to reach your success page, so a purchase tag on that page will miss sales. This guide explains, from Stripe's and Google's documentation, how to track Stripe purchases reliably with webhooks and server-side events.
GoHighLevel All-in-One Platform: Every Feature, the Real Monthly Cost, and How to Set It Up (2026)
Most small businesses and agencies pay for a CRM, a funnel builder, an email tool, a scheduler, an SMS app and a review tool, then copy leads between them by hand. This guide walks through every part of GoHighLevel, what it really costs per month with usage, how it compares with ClickFunnels and Kajabi, and a 14-step setup from free trial to tracked ads.