In B2B demand generation, high-value conversion milestones—such as Sales Qualified Leads (SQLs), closed contract signings, and demo completions—rarely occur on an initial website visit. They materialize weeks later inside CRM systems like Salesforce or HubSpot. By connecting your CRM or database to the LinkedIn Conversions API (CAPI) using Server-Side Google Tag Manager (sGTM), revenue teams can feed downstream pipeline revenue directly into LinkedIn Campaign Manager, enabling automated Smart Bidding on closed-won enterprise value rather than top-of-funnel form fills.
In this technical implementation guide, we configure the official LinkedIn Conversions API tag template in sGTM, establish HTTP POST webhooks from CRM workflows, normalize SHA-256 hashed corporate emails, and configure event deduplication with the client-side LinkedIn Insight Tag.
1. B2B Offline Pipeline Architecture
Unlike consumer e-commerce checkouts, B2B sales cycles require a bridge between CRM milestone stage changes and ad server endpoints:
| Phase | System | Payload & Action |
|---|---|---|
| 1. CRM Stage Change | Salesforce / HubSpot CRM | Lead transitions to “Closed-Won Contract” ($50,000 ARR). |
| 2. Webhook Dispatch | CRM Outbound Webhook | Fires HTTP POST with customer email, deal value, and original LinkedIn click ID (li_fat_id). |
| 3. Server Ingestion | Server-Side GTM Data Client | Parses payload, normalizes email, and extracts conversion rule metadata. |
| 4. LinkedIn CAPI Dispatch | LinkedIn CAPI sGTM Tag | Streams event to https://api.linkedin.com/rest/conversionEvents. |
2. Server-Side GTM Configuration Steps
- Import Stape LinkedIn Conversions API Template: In sGTM, navigate to Templates > Tag Templates > Search Gallery and install the verified LinkedIn Conversions API template.
- Generate API Access Token: In LinkedIn Campaign Manager, navigate to Account Settings > Conversions API and create an OAuth2 bearer access token.
- Map Conversion Rule ID: Create an offline conversion action in LinkedIn (e.g., “Closed Won Enterprise Deal”) and copy its numeric Conversion Rule ID into your sGTM tag field.
- Pass First-Party Match Keys: Map user corporate email, first name, last name, company title, and the click identifier
li_fat_id. LinkedIn’s algorithm automatically hashes raw strings using SHA-256 before ingestion.
Frequently Asked Questions (FAQs)
What is the attribution window for LinkedIn offline conversions?
LinkedIn supports an upload window of up to 90 days from the original ad impression or click. However, uploading CRM conversion milestones within 24 hours of qualification provides the fastest algorithmic feedback loop for Target CPA bidding models.
What is the li_fat_id parameter?
The li_fat_id is LinkedIn’s first-party click tracking parameter appended to destination URLs when a user clicks a sponsored content ad. Capturing this string in hidden CRM form fields guarantees deterministic 100% conversion attribution upon offline closing.
Editorial Disclosure: Zelobiz publishes independent engineering benchmarks and architectural evaluations. We may receive affiliate compensation when you subscribe to partner hosting services through our links at no additional cost to you.