UTM parameters and macros for TikTok ads
Open the free builder with this page's values prefilled, then enter your own landing page and campaign name. Nothing saved.
Open the prefilled UTM builderCopy the parameter template
utm_source=tiktok&utm_medium=paid&utm_campaign=__CAMPAIGN_NAME__&utm_content=__CID_NAME__&utm_id=__CAMPAIGN_ID__
Common TikTok macros
| Macro | Value TikTok can insert |
|---|---|
| __CAMPAIGN_NAME__ / __CAMPAIGN_ID__ | Campaign name or ID |
| __AID_NAME__ / __AID__ | Ad group name or ID |
| __CID_NAME__ / __CID__ | Creative name or ID |
| __PLACEMENT__ | Placement |
Macros are uppercase with two underscores on each side. Check TikTok's current documentation if you use newer campaign structures.
Pick one tagging method
TikTok can help attach URL parameters while you create an ad. If you also enter tags manually, inspect the final URL so it doesn't contain two values for the same key.
Naming convention
- utm_source:
tiktok - utm_medium:
paidorpaid_socialfor ads;socialfor profile links - utm_campaign: a macro for campaign name, or a static campaign value
- utm_content: creative name or ID
Check it before launch
Use TikTok's ad preview, open the landing page and confirm each macro was replaced by a real value. If you see __CAMPAIGN_NAME__ literally in your analytics, the macro was not supported in that position or was typed with the wrong number of underscores.
Organic profile and bio links
For links you post yourself, use static values: utm_source=tiktok&utm_medium=social&utm_campaign=bio. Macros only work in ads, so don't add them to organic links.
Reading the results
Ad platforms and web analytics count differently: TikTok reports clicks and attributed conversions, while analytics counts visits that loaded your page. Expect the numbers to differ and compare trends rather than exact totals.
Questions and answers
What is the TikTok campaign-name macro?
__CAMPAIGN_NAME__. Copy it exactly with two underscores on each side.
Which macro identifies a creative?
__CID_NAME__ inserts the creative name; __CID__ inserts its ID.
Which medium should I use?
For ads, use a paid medium such as paid or paid_social. For profile links, use social.
Can automatic and manual tags conflict?
Yes. Inspect the final click URL and avoid duplicated UTM keys.
How do I tag a TikTok profile link?
Use static values such as utm_source=tiktok&utm_medium=social&utm_campaign=profile.
Sources
Related tools and guides
UTM presets by channel
All free Countnest tools · Plain-text summary for AI assistants
30-day free trial, no card required. Then from $14 a month. Cancel anytime.
Start free for 30 days