TikTok4 min read1 view

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.

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.

Ask an assistant

ChatGPTClaudePerplexity

FREE CALL

30 MIN

Meta stopped counting your leads? Get them counted again.

  1. Pick a time
  2. Check your Meta account with Hassan
  3. 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.

Book my free recovery callFree 30-minute call with Hassan.

Not ready to talk? Run a free check

What 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.

Which 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__
TikTok's UTM macro listads.tiktok.com distinguishes the ad bundle from its individual creative assets.

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.

How 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.

  1. Open Ad details on the draft ad.
  2. Enter the Destination URL.
  3. Select Edit below Preview.
  4. 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.

  1. Set utm_source to tiktok.
  2. Set utm_medium to paidsocial.
  3. Set utm_campaign to __CAMPAIGN_NAME__.
  4. Set utm_id to __CAMPAIGN_ID__.
  5. Set utm_term to __AID_NAME__.
  6. Set utm_content to __CID_NAME__.
text
?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.

  1. Read the constructed URL in Preview.
  2. Check the destination and field assignments.
  3. 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

  1. After the approved ad is serving, inspect a resulting landing URL for resolved values.
  2. 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.

What 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 Paid to paidsocial without 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.

What 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
  1. 1Set campaign ID with __CAMPAIGN_ID__↩
  2. 2For upgraded Smart+, __ADID_V2__ identifies the ad; __CID__ identifies the creative↩
  3. 3Google defines utm_id as campaign ID↩
  4. 4TikTok's manual instructions start in Ad details: enter Destination URL, select Edit below Preview, then Build URL parameters↩