TikTok Ads UTM builder

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

Campaign type
Standard parameters
utm_sourceYour own
utm_mediumYour own
utm_campaign
__CAMPAIGN_NAME__
utm_id
__CAMPAIGN_ID__
utm_content
__CID_NAME__
utm_source=tiktok&utm_medium=paid_social&utm_campaign=__CAMPAIGN_NAME__&utm_id=__CAMPAIGN_ID__&utm_content=__CID_NAME__

An example click: utm_source=tiktok&utm_medium=paid_social&utm_campaign=Spring+Sale&utm_id=1785012345678901&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 nameTikTok, as __CAMPAIGN_NAME__
utm_idThe campaign IDTikTok, as __CAMPAIGN_ID__
utm_contentThe ad's nameTikTok, as __CID_NAME__ or __ADID_V2_NAME__
numbat_groupThe ad group's nameNumbat onlyTikTok, as __AID_NAME__
numbat_group_idThe ad group IDNumbat onlyTikTok, as __AID__
numbat_ad_idThe ad IDNumbat onlyTikTok, as __CID__ or __ADID_V2__
numbat_placementWhere the ad showedNumbat onlyTikTok, as __PLACEMENT__
numbat_creativeThe creative's nameNumbat onlyTikTok, as __CID_NAME__
numbat_creative_idThe creative IDNumbat onlyTikTok, as __CID__

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

Things to know on TikTok

TikTok macros open and close with a double __, such as __CAMPAIGN_NAME__. With a single _, the name arrives as plain text.

Smart+ campaigns add an ad layer above the creative, so they take their own string. Use the standard string everywhere else.

Where to paste it

  1. In TikTok Ads Manager, open the ad, or create one.
  2. In Ad details, under the destination URL, choose Build URL parameters.
  3. Add the string, then save.
  4. Repeat for each ad.

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

Questions

Standard or Smart+?

Use Smart+ only on Smart+ campaigns. Smart+ adds an ad layer above the creative, and its string reports both.

Why paid_social and not cpc?

Both put TikTok in GA4's Paid Social. paid_social keeps TikTok apart from paid search in any report grouped by medium.

Why add it to each ad?

TikTok keeps URL parameters on each ad, not on the campaign.

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