LinkedIn Conversion Tracking for B2B: Complete Setup Guide

Set up LinkedIn Insight Tag, conversion tracking, and CAPI for B2B lead gen. Covers form fills, content downloads, demo requests, and offline deal attribution.

LinkedInconversion trackingB2Blead genInsight TagCAPI

LinkedIn ads are expensive — $8-15 CPC is typical for B2B campaigns. At that price, you need to know exactly which clicks turn into pipeline. LinkedIn’s conversion tracking tells you, but the setup has quirks that catch most B2B marketers.

The Basics: What to Track

B2B conversion paths are longer than ecommerce. Track the full funnel:

ConversionTypeValue
Page view (key pages)Lead awareness$0 (awareness metric)
Content downloadLead capture$5-20 (cost of lead)
Newsletter signupLead nurture$2-10
Demo requestSales-qualified lead$50-200
Contact formSales opportunity$50-500
Free trial signupProduct-qualified lead$100-500
Closed dealRevenueActual deal value

The mistake most B2B marketers make: Only tracking the final conversion (demo request). LinkedIn needs intermediate signals to optimize — if it only sees 5 demo requests/month, there’s not enough data for Smart Bidding. Track content downloads and signups too, even if they’re lower-value.

Step 1: Install the Insight Tag

The LinkedIn Insight Tag is their tracking pixel. Install it site-wide.

  1. GTM → Tags → New → Custom HTML
  2. Paste the Insight Tag code from LinkedIn Campaign Manager → Analyze → Insight Tag
  3. Trigger: All Pages
  4. Publish

Direct Install

Paste the code before the closing </body> tag on every page. The tag looks like:

<script type="text/javascript">
_linkedin_partner_id = "YOUR_PARTNER_ID";
// ... rest of the tag
</script>

Verify

Install the LinkedIn Insight Tag Helper Chrome extension. Visit your site — it should show the tag as detected.

If the Insight Tag isn’t working, see our troubleshooting guide.

Step 2: Create Conversion Actions

Campaign Manager → Analyze → Conversion Tracking → Create Conversion

URL-Based Conversions (Simplest)

For thank-you pages with distinct URLs:

  • Conversion name: “Demo Request”
  • Type: URL/Page-specific
  • URL: Contains /thank-you-demo
  • Attribution: 30-day post-click, 7-day post-view
  • Value: Assign a fixed value ($100 per demo request)

Event-Based Conversions (More Flexible)

For AJAX forms or single-page apps that don’t change URLs:

// Fire when the form is submitted
window.lintrk('track', { conversion_id: YOUR_CONVERSION_ID });

In GTM: create a Custom HTML tag with the lintrk() call, triggered by your form submission trigger.

Step 3: LinkedIn CAPI (Server-Side)

LinkedIn’s Conversions API sends conversion data server-to-server — same concept as Meta CAPI and Google Enhanced Conversions.

Why B2B needs CAPI more than ecommerce: B2B buyers use corporate VPNs, strict browser policies, and ad blockers at higher rates than consumers. The Insight Tag gets blocked more often in enterprise environments.

Setup

  1. Campaign Manager → Admin → Conversions API → Create Access Token
  2. Send events via POST to https://api.linkedin.com/rest/conversionEvents
  3. Include: email hash (SHA-256), conversion rule ID, timestamp, value

What to Send

{
  "conversion": "urn:lla:llaPartnerConversion:YOUR_ID",
  "conversionHappenedAt": 1711929600000,
  "user": {
    "userIds": [{
      "idType": "SHA256_EMAIL",
      "idValue": "a1b2c3..."
    }]
  },
  "eventId": "demo-request-12345",
  "conversionValue": {
    "currencyCode": "USD",
    "amount": "100"
  }
}

Step 4: CRM Integration for Offline Conversions

B2B deals close weeks or months after the ad click. Connect your CRM to LinkedIn for full-funnel attribution:

HubSpot → LinkedIn

HubSpot’s LinkedIn integration automatically shares conversion events. Enable in HubSpot → Settings → Marketing → Ads → LinkedIn.

Salesforce → LinkedIn

Use LinkedIn’s Salesforce integration or Zapier:

  • Trigger: Opportunity stage changed to “Closed Won”
  • Action: LinkedIn CAPI conversion event with deal value

Manual Upload

Campaign Manager → Analyze → Conversion Tracking → Offline Conversions → Upload CSV with email, conversion name, timestamp, value.

Attribution Settings

LinkedIn offers two attribution models:

ModelHow It WorksBest For
Last touchCredits the last LinkedIn interaction before conversionConservative measurement
Each campaignCredits every LinkedIn campaign the user interacted withUnderstanding full impact

Recommended for B2B: Start with “last touch” for clearer ROI reporting. Switch to “each campaign” when you’re running multiple campaigns and need to understand the full funnel.

Attribution Windows

WindowDefaultRecommended
Post-click30 days90 days (B2B cycles are long)
Post-view7 days1 day (view-through overinflates LinkedIn)

LinkedIn’s view-through attribution is aggressive. A sponsored content impression that someone scrolled past counts as a “view.” Set view-through to 1 day or disable it for more honest reporting.

B2B Benchmarks

MetricTypical RangeNotes
CPC$8-15Higher than Google/Meta
CTR0.4-0.7%Lower than other platforms
Conversion rate (form fill)2-5%Higher intent than other platforms
CPL (content download)$30-80
CPL (demo request)$100-300
Pipeline-to-close rate15-25%Varies by industry

The LinkedIn paradox: Higher CPC than Google, but often better lead quality for B2B. A $15 click that converts to a $50K deal is infinitely better than a $3 click that never responds.

Measuring Real ROI

LinkedIn’s dashboard shows cost-per-lead. But B2B ROI requires connecting to pipeline:

LinkedIn ROI = (Closed revenue from LinkedIn leads - LinkedIn spend) / LinkedIn spend

To calculate this, you need:

  1. LinkedIn spend (from Campaign Manager)
  2. Leads attributed to LinkedIn (from CRM, using UTM parameters)
  3. Revenue from those leads (from CRM closed-won deals)
  4. Time: wait 3-6 months for deals to close before judging

See our ROAS calculator for the math, and our attribution models guide for how to handle multi-touch B2B journeys.

Next Steps

  1. Install the Insight Tag (troubleshooting guide if it’s not firing)
  2. Create conversion actions for each funnel stage
  3. Set up CAPI for enterprise visitors who block JavaScript
  4. Connect CRM for offline deal attribution
  5. Wait 30 days for data before optimizing

Not sure if your LinkedIn tracking is configured correctly? Run a free tracking scan — we check all your platform pixels and conversion tracking in 60 seconds.