Dynamic URL Macro Tokens for TikTok Ads
Supported ValueTrack and dynamic URL parameter tokens for automated attribution
| Macro Token | Recommended UTM Parameter | Dynamic Value Injected |
|---|---|---|
| __CAMPAIGN_NAME__ | utm_campaign | Dynamically populates the campaign name configured in TikTok Ads Manager. |
| __AID_NAME__ | utm_term | Inserts the targeting Ad Group name from TikTok. |
| __CID_NAME__ | utm_content | Captures the specific video creative name or Spark Ad asset. |
| __PLACEMENT__ | utm_content | Identifies the TikTok app placement (e.g. TikTok, Pangle, Global App Bundle). |
GA4 Channel Grouping Rules for TikTok Ads
How Google Analytics 4 processes and reports your incoming campaign traffic
Regex Matching Criteria
GA4 detects 'tiktok' as a recognized social platform and categorizes utm_medium='paid-social' into the Paid Social channel group.
Best Practice for TikTok Ads
TikTok Ads Manager uses double underscores (__MACRO__) for dynamic URL parameter macro injection. Ensure you match TikTok's exact syntax in your tracking parameters.
Frequently Asked Questions: TikTok Ads UTMs
Detailed answers regarding TikTok Ads Manager tracking, link configuration, and attribution
How do dynamic parameters work in TikTok Ads Manager?
TikTok replaces double-underscore macros (such as __CAMPAIGN_NAME__ and __CID_NAME__) in real-time when a user clicks on an in-feed video ad, passing campaign and creative data directly into GA4.
What is the best utm_source value for TikTok campaigns?
Use 'tiktok' in all-lowercase. Avoid using 'TikTok_Ads' or 'tik-tok' because irregular source naming can prevent GA4's default regex engine from pairing it with standard social channels.
Other Marketing & Ad Platform UTM Builders
Switch to dedicated tracking generators for other advertising networks and channels