How to add TikTok dynamic UTM parameters
Use TikTok URL parameters to label website visits, correct the campaign-ID mapping, and distinguish Smart+ ads from creative assets.
Shahzada Ali Hassan, founder of Crisperchecked against 4 sources
The short answer
Use TikTok's URL builder to add campaign labels to your website destination. TikTok defines __CAMPAIGN_ID__ as campaign ID and __AID__ as ad-group IDads.tiktok.com, so they are not interchangeable. This guide is for advertisers checking manual UTM values and the newer distinction between ads and creative assets.
- Set campaign ID with
__CAMPAIGN_ID__ads.tiktok.com. - Use
__AID_NAME__for the ad-group nameads.tiktok.com. - For upgraded Smart+,
__ADID_V2__identifies the ad;__CID__identifies the creativeads.tiktok.com. - Parameters checked against TikTok and Google documentation on 25 October 2026.
FREE CALL
30 MINMeta stopped counting your leads? Get them counted again.
- Pick a time
Check your Meta account with Hassan- See what to do next
On a free 30-minute call, Hassan checks your Meta account with you and shows you what to do next.
Not ready to talk? Run a free check
01What do TikTok UTM parameters track?
TikTok describes UTMs as URL text used to identify how visitors reached a websiteads.tiktok.com. Start here when you need campaign labels in analytics. A missing purchase event needs an event investigation, not a different campaign name.
02Which TikTok dynamic parameters should I use?
Choose placeholders for the reporting level you need. TikTok's current macro list separates campaign, ad group, upgraded Smart+ ad and creativeads.tiktok.com.
Campaign name
- Macro
- __CAMPAIGN_NAME__
Campaign ID
- Macro
- __CAMPAIGN_ID__
Ad-group name
- Macro
- __AID_NAME__
Ad-group ID
- Macro
- __AID__
Upgraded Smart+ ad name / ID
- Macro
- __ADID_V2_NAME__ / __ADID_V2__
Creative name / ID
- Macro
- __CID_NAME__ / __CID__
The older template put __AID__ in utm_id. TikTok defines __AID__ as ad-group IDads.tiktok.com, while Google defines utm_id as campaign IDsupport.google.com. The corrected template below uses __CAMPAIGN_ID__; record the change before comparing old and new reports.
TikTok's upgraded Smart+ reporting guideads.tiktok.com now identifies __CID_NAME__ as creative name and adds __ADID_V2_NAME__ for the ad bundle. The retained macros remain listed; the important change is the reporting level they describe.
03How do I add UTMs in TikTok Ads Manager?
Enter a destination URL, open the URL builder and check the saved preview before handing the ad over for launch.
1. Open the builder on a draft ad
TikTok's manual instructions start in Ad details: enter Destination URL, select Edit below Preview, then Build URL parametersads.tiktok.com.
- Open Ad details on the draft ad.
- Enter the Destination URL.
- Select Edit below Preview.
- Select Build URL parameters.
Done when the UTM fields are visible for the intended website address.
2. Enter the field values
Use this example mapping if it matches your reporting convention. Enter each value in its corresponding builder field; do not paste the whole query into a single value box.
- Set
utm_sourcetotiktok. - Set
utm_mediumtopaidsocial. - Set
utm_campaignto__CAMPAIGN_NAME__. - Set
utm_idto__CAMPAIGN_ID__. - Set
utm_termto__AID_NAME__. - Set
utm_contentto__CID_NAME__.
?utm_source=tiktok&utm_medium=paidsocial&utm_campaign=__CAMPAIGN_NAME__&utm_id=__CAMPAIGN_ID__&utm_term=__AID_NAME__&utm_content=__CID_NAME__
TikTok permits an ad-group label in utm_term and lists __CID_NAME__ for creative nameads.tiktok.com. For an upgraded Smart+ ad-bundle report, TikTok lists __ADID_V2_NAME__ as the ad-name macroads.tiktok.com; choose it for content instead.
Done when campaign ID, ad-group name and creative name occupy the intended fields.
3. Preview and apply
TikTok shows the constructed URL in Preview and saves it with Applyads.tiktok.com.
- Read the constructed URL in Preview.
- Check the destination and field assignments.
- Select Apply to save the URL.
Done when reopening the saved URL shows your intended values without duplicate UTM keys.
4. Check the visit labels
- After the approved ad is serving, inspect a resulting landing URL for resolved values.
- Compare recorded visits with GA4's Session source/medium and Session campaign in Traffic acquisitionsupport.google.com.
Done when the campaign labels in a recorded visit match the ad you checked.
04What mistakes should I avoid with TikTok UTMs?
This guide labels website visits. It does not configure app attribution or replace a conversion-event integration.
- Using
__AID__as campaign ID gives the field the wrong meaning. Use__CAMPAIGN_ID__for the template above. - Calling a creative name an upgraded Smart+ ad name mixes reporting levels. Select the macro from the table before building your report.
- Changing
Paidtopaidsocialwithout checking report filters can exclude matching visits. Keep filters aligned with the chosen spelling.
For a campaign on another platform, use its own syntax from the Facebook UTM guide.
05What changed in this guide
- 25 October 2026: Corrected utm_id from ad-group ID to campaign ID. Added current URL-builder steps and the upgraded Smart+ ad-versus-creative macros. Removed unsupported iOS click-ID loss and fixed review-time claims; replaced UA reporting advice with GA4.
Sources
4 sources
- 1Set campaign ID with __CAMPAIGN_ID__ads.tiktok.com↩
- 2For upgraded Smart+, __ADID_V2__ identifies the ad; __CID__ identifies the creativeads.tiktok.com↩
- 3Google defines utm_id as campaign IDsupport.google.com↩
- 4TikTok's manual instructions start in Ad details: enter Destination URL, select Edit below Preview, then Build URL parametersads.tiktok.com↩

