Back to Blog
February 13, 2026Guides

LinkedIn Ads UTM Parameters: B2B Tracking Guide

Set up UTM parameters for LinkedIn Ads with dynamic macros, B2B templates, and naming conventions to track campaign ROI in your CRM.

Written by Jamie Isabel
LinkedIn Ads UTM Parameters B2B Tracking Guide

LinkedIn Ads UTM Parameters: B2B Tracking Guide

LinkedIn is the go-to platform for B2B advertising, but LinkedIn's own reporting only tells part of the story. To track which LinkedIn campaigns actually generate pipeline and revenue, you need UTM parameters that flow into your CRM.

Why LinkedIn Ads Need UTM Parameters

LinkedIn Campaign Manager gives you impressions, clicks, and conversions. But it can't tell you which campaign generated a $50K deal that closed 3 months later, or how LinkedIn compares to Google Ads for pipeline generation.

  • Passing campaign data to your CRM — Every form fill carries the source campaign
  • Enabling multi-touch attribution — Track LinkedIn's role across the buyer journey
  • Cross-platform comparison — LinkedIn vs. Google vs. Facebook in one dashboard
  • Full-funnel reporting — From ad click to SQL to closed-won

LinkedIn Dynamic Macros

LinkedIn supports a limited set of dynamic macros compared to Google and Facebook:

  • {{CAMPAIGN_ID}} — Campaign ID
  • {{CAMPAIGN_NAME}} — Campaign name
  • {{CAMPAIGN_GROUP_ID}} — Campaign group ID
  • {{CAMPAIGN_GROUP_NAME}} — Campaign group name
  • {{CREATIVE_ID}} — Creative/ad ID

Important: LinkedIn's macros are more limited — no ad set name macro, campaign names may contain spaces (get URL-encoded), and only creative ID is available (not name).

UTM Templates for LinkedIn Ads

Standard Template

?utm_source=linkedin&utm_medium=paid_social&utm_campaign={{CAMPAIGN_NAME}}&utm_content={{CREATIVE_ID}}

Template with Campaign Group

?utm_source=linkedin&utm_medium=paid_social&utm_campaign={{CAMPAIGN_GROUP_NAME}}_{{CAMPAIGN_NAME}}&utm_content={{CREATIVE_ID}}

Sponsored Content Campaigns

?utm_source=linkedin&utm_medium=paid_social&utm_campaign={{CAMPAIGN_NAME}}&utm_term=sponsored_content&utm_content={{CREATIVE_ID}}

Message Ads (InMail)

?utm_source=linkedin&utm_medium=paid_social&utm_campaign={{CAMPAIGN_NAME}}&utm_term=message_ad&utm_content={{CREATIVE_ID}}

UTM Naming Convention for LinkedIn Ads (B2B)

B2B campaigns need naming conventions that map to your sales process. Structure your campaign names to reflect the B2B buying journey:

Top of Funnel (TOFU)

tofu_awareness_thought_leadership_q1_2026
tofu_brand_industry_report_q1_2026

Middle of Funnel (MOFU)

mofu_webinar_data_analytics_q1_2026
mofu_case_study_enterprise_q1_2026

Bottom of Funnel (BOFU)

bofu_demo_request_retarget_q1_2026
bofu_free_trial_decision_makers_q1_2026

Common LinkedIn Ads UTM Mistakes

1. Using Lead Gen Forms Without UTMs

LinkedIn Lead Gen Forms keep users on LinkedIn — no landing page URL means no UTMs. Use website conversion campaigns instead if you need UTM tracking.

2. Spaces in Campaign Names

{{CAMPAIGN_NAME}} will include spaces if your campaign name has them. These become %20 in URLs. Use underscores in campaign names.

3. Not Including Funnel Stage

B2B campaigns span long sales cycles. Without funnel stage in your naming (tofu_, mofu_, bofu_), you can't attribute pipeline to specific funnel stages.

LinkedIn UTM Tracking for B2B CRMs

B2B attribution is uniquely challenging: long sales cycles (3-12 months), multiple touchpoints, and committee buying. Getting UTM data into your CRM is critical.

UTM Helper makes this automatic:

<script defer data-domain="yourdomain.com" src="https://utmhelper.com/your-script.js"></script>
  • Persists UTMs across all pages — Even multi-session visits
  • Auto-fills hidden form fields — Works with HubSpot, Salesforce web-to-lead, Marketo, Pardot, custom forms
  • No developer needed — One script tag, done

Related Reading

Stop losing UTM data

UTM Helper persists campaign parameters across pages and auto-fills them into your forms. One script tag, full-funnel attribution.

Get Started Free →