LinkedIn Ads UTM builder

A string for Campaign Manager's URL parameters, with LinkedIn filling in the campaign and ad on every click.

Standard parameters
utm_sourceYour own
utm_mediumYour own
utm_campaign
{{CAMPAIGN_NAME}}
utm_id
{{CAMPAIGN_ID}}
utm_content
{{AD_NAME}}
utm_source=linkedin&utm_medium=paid_social&utm_campaign={{CAMPAIGN_NAME}}&utm_id={{CAMPAIGN_ID}}&utm_content={{AD_NAME}}

An example click: utm_source=linkedin&utm_medium=paid_social&utm_campaign=Spring+Sale&utm_id=318240157&utm_content=Product+demo

What each part does

Each parameter, what it holds, and who fills it in. With these values, GA4 files the clicks as Paid Social.

ParameterWhat it holdsFilled in by
utm_sourceWhere the click came fromYou
utm_mediumThe kind of trafficYou
utm_campaignThe campaign's nameLinkedIn, as {{CAMPAIGN_NAME}}
utm_idThe campaign IDLinkedIn, as {{CAMPAIGN_ID}}
utm_contentThe ad's nameLinkedIn, as {{AD_NAME}}
numbat_groupThe ad set's nameNumbat onlyLinkedIn, as {{AD_SET_NAME}}
numbat_group_idThe ad set IDNumbat onlyLinkedIn, as {{AD_SET_ID}}
numbat_ad_idThe ad IDNumbat onlyLinkedIn, as {{AD_ID}}

Checked in November 2026 against LinkedIn Ads's own docs and Google's GA4 channel rules and source list.

Things to know on LinkedIn

LinkedIn fills in names as well as IDs, so you type nothing. The campaign and ad names in your reports are the ones in Campaign Manager, and they change when you rename a campaign.

Conversation Ads and Message Ads have no URL parameters, so their clicks arrive without these values.

Where to paste it

  1. For the whole ad account, open Account settings in Campaign Manager and find URL parameters. For one campaign, open the campaign's settings instead.
  2. Add the string, then save.

The full steps, with screenshots, are in the LinkedIn Ads help doc.

Questions

Why not use LinkedIn's example?

LinkedIn's example sets utm_medium=social. Analytics tools read that as unpaid social, so your paid clicks mix with your organic posts.

Account or campaign?

Either. Account and campaign parameters combine, so setting both is fine.

Does it work on every ad format?

No. Conversation Ads and Message Ads do not support URL parameters.

Where does GA4 put this traffic?

Under Paid Social. linkedin is on Google's list of social sources, and paid_social is a paid medium.

See which clicks were worth paying for

Numbat ranks your campaigns by the visitors who engage deeply with your content, not by the clicks they bring.

Start free trial