LinkedIn Dynamic URL Parameters: Token Syntax & QA Guide

Use LinkedIn Campaign Manager URL tokens correctly. Check uppercase syntax, map dynamic values to UTM fields, and verify expansion before launch.

Technical diagram showing LinkedIn dynamic tokens expanding upon ad click into CRM lead records
Table of Contents
  1. Complete List of LinkedIn Dynamic Tracking Tokens
  2. Token Syntax: Case and Braces
  3. Mapping Dynamic Parameters to CRM Lead Properties
  4. How to QA LinkedIn Dynamic Links Before Publishing

LinkedIn URL tokens can save time when tagging several ads. The syntax matters: use the supported uppercase names and double braces. The examples below show how to map the tokens and check the expanded link.

Complete List of LinkedIn Dynamic Tracking Tokens

LinkedIn Campaign Manager supports the following dynamic tokens:

  • {{CAMPAIGN_ID}} - The unique numerical ID for the campaign.
  • {{CAMPAIGN_NAME}} - The campaign name as set in Campaign Manager.
  • {{AD_SET_ID}} - The unique numerical ID for the ad set.
  • {{AD_SET_NAME}} - The ad set name.
  • {{AD_ID}} - The unique numerical ID for the ad creative.
  • {{AD_NAME}} - The ad creative name.
  • {{ACCOUNT_ID}} - The numerical ID of the ad account.
  • {{ACCOUNT_NAME}} - The name of the ad account.

Token Syntax: Case and Braces

Must Be Uppercase Inside Double Braces

Never lowercase LinkedIn tokens. While Meta uses {{campaign.name}}, LinkedIn requires {{CAMPAIGN_NAME}}. If you use lowercase, LinkedIn treats it as ordinary text and will literally pass {{campaign_name}} into the browser address bar.

Mapping Dynamic Parameters to CRM Lead Properties

In B2B lead generation, pass these parameters into hidden form inputs:

  • utm_campaign maps to First Touch Campaign Name.
  • utm_id maps to First Touch Campaign ID.
  • utm_content maps to First Touch Ad Creative.
  • utm_term maps to First Touch Audience / Ad Set.

This allows your RevOps team to run closed-won revenue reports in Salesforce or HubSpot by specific LinkedIn audience segment.

How to QA LinkedIn Dynamic Links Before Publishing

Click "Preview" on your LinkedIn ad in Campaign Manager. Note: in preview mode, LinkedIn does not expand dynamic parameters. To verify live expansion, launch the ad with a minimal test budget ($5), click the live ad in your LinkedIn feed from a personal account, and verify that the destination URL in your browser address bar contains the actual campaign and ad names.

For the broader setup, read LinkedIn Ads UTM Tracking Guide: Dynamic Tokens, B2B Attribution & Campaign Setup. Browse the LinkedIn Ads Tracking guides to choose another troubleshooting task.

References