TikTok Ads UTM builder
A string for TikTok's URL parameters, with TikTok filling in the campaign and ad on every click.
An example click: utm_source=tiktok&utm_medium=paid_social&utm_campaign=Spring+Sale&utm_id=1785012345678901&utm_content=Product+demo
Adds the parameters Numbat reads to show engagement for every ad group and ad.
What each part does
Each parameter, what it holds, and who fills it in. With these values, GA4 files the clicks as Paid Social.
| Parameter | What it holds | Filled in by |
|---|---|---|
utm_source | Where the click came from | You |
utm_medium | The kind of traffic | You |
utm_campaign | The campaign's name | TikTok, as __CAMPAIGN_NAME__ |
utm_id | The campaign ID | TikTok, as __CAMPAIGN_ID__ |
utm_content | The ad's name | TikTok, as __CID_NAME__ or __ADID_V2_NAME__ |
numbat_group | The ad group's nameNumbat only | TikTok, as __AID_NAME__ |
numbat_group_id | The ad group IDNumbat only | TikTok, as __AID__ |
numbat_ad_id | The ad IDNumbat only | TikTok, as __CID__ or __ADID_V2__ |
numbat_placement | Where the ad showedNumbat only | TikTok, as __PLACEMENT__ |
numbat_creative | The creative's nameNumbat only | TikTok, as __CID_NAME__ |
numbat_creative_id | The creative IDNumbat only | TikTok, 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
- In TikTok Ads Manager, open the ad, or create one.
- In Ad details, under the destination URL, choose Build URL parameters.
- Add the string, then save.
- 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