gometrify Logogometrify
Free ToolsGuidesPricing
← Back to All Guides

The Right UTM Parameters for TikTok Ads (Pre-Filled Template)

By gometrify Team•July 30, 2026•
tiktok adsutm parametersad trackingattribution
Free Interactive Calculator

UTM Builder

Generate Google Analytics campaign tracking URLs instantly. Track source, medium, and campaign.

Launch Tool

TikTok has become one of the largest paid acquisition channels for DTC brands, app marketers, and digital creators.

However, media buyers frequently run into a major measurement obstacle: TikTok ad clicks showing up as "Direct Traffic" or "Unattributed" in Google Analytics 4.

Because TikTok opens links inside its custom in-app browser, the default HTTP referrer header is frequently stripped or modified. If your destination URL does not include explicit UTM parameters, your analytics software has no way of knowing the visitor came from a paid TikTok ad.

Here is the exact UTM parameter structure you should use for TikTok Ads Manager campaigns.


Recommended TikTok Ads UTM Parameter Template

Copy and paste this standard query string template into the Website URL or URL Parameters field in TikTok Ads Manager:

?utm_source=tiktok&utm_medium=cpc&utm_campaign=__CAMPAIGN_NAME__&utm_term=__AID_NAME__&utm_content=__CID_NAME__

Parameter Breakdown:

  • utm_source=tiktok: Identifies the traffic platform. Keep this lowercase and consistent across all TikTok campaigns.
  • utm_medium=cpc (or paid_social): Identifies the channel type. Using cpc or paid_social ensures GA4 groups the session under Paid Social acquisition channels.
  • utm_campaign=__CAMPAIGN_NAME__: Dynamically pulls your exact TikTok campaign name.
  • utm_term=__AID_NAME__: Dynamically pulls your TikTok Ad Group name (targeting/audience).
  • utm_content=__CID_NAME__: Dynamically pulls your specific Ad Creative name.

Build custom tracking URLs in seconds using our free UTM Builder.


Supported TikTok Dynamic Macro Tokens

TikTok Ads Manager supports several dynamic parameters (macros) enclosed in double underscores. When a user clicks your ad, TikTok automatically replaces these tokens with real values:

Macro Token Output Description
__CAMPAIGN_NAME__ Name of the Campaign
__CAMPAIGN_ID__ Unique ID of the Campaign
__AID_NAME__ Name of the Ad Group
__AID__ Unique ID of the Ad Group
__CID_NAME__ Name of the individual Ad Creative
__CID__ Unique ID of the individual Ad Creative
__PLACEMENT__ Specific placement (e.g., TikTok, Pangle)

Common TikTok Tracking Pitfalls to Avoid

1. Inconsistent Source Naming

Avoid mixing utm_source=TikTok, utm_source=tiktok_ads, and utm_source=tt. Pick utm_source=tiktok and stick with it across all campaigns to avoid fragmented GA4 reports.

2. Forgetting to Track In-App Browser Leaks

In-app browsers can silently drop sessions. Learn how to prevent attribution loss in our dedicated guide on how to track TikTok ad clicks and our analysis of in-app browser revenue leaks.

3. Spaces & Special Characters in Campaign Names

If your TikTok campaign name contains spaces (e.g., Summer Sale 2026), raw URLs can break. Most modern analytics platforms handle encoded spaces (%20), but keeping campaign names clean (summer_sale_2026) avoids redirection bugs.


Quick Setup Checklist

  1. Generate your clean destination URL using our UTM Builder.
  2. Append TikTok dynamic macros for campaign and ad group names.
  3. Test destination URLs in our Redirect Checker to verify that parameters survive any landing page redirects.
  4. Launch your TikTok campaign and verify incoming sessions in GA4 under Acquisition -> Traffic Acquisition.
g

gometrify Team

Marketing attribution experts and builders of gometrify. We write about advanced analytics, SEO, and ad tracking.

Related Guides

How to Track TikTok Ad Clicks (And Why TikTok's Dashboard Is Off)

TikTok Ads Manager inflates your numbers. Learn how to set up independent click tracking for TikTok campaigns so you can see what's actually converting.

How to Track Traffic and Clicks Coming From ChatGPT Answers

ChatGPT is recommending websites in its answers and people are clicking through. Almost none of it shows up in your analytics. Here is how to find it, measure it, and build content that gets cited more often.

Is Perplexity AI Sending You Traffic? Here's How to Find Out

Perplexity AI is generating real outbound clicks — but almost none of it shows up correctly in your analytics. Here is how to find it, measure it, and track it properly going forward.

Table of Contents

  • Recommended TikTok Ads UTM Parameter Template
  • Supported TikTok Dynamic Macro Tokens
  • Common TikTok Tracking Pitfalls to Avoid
  • Quick Setup Checklist
Interactive Tool

UTM Builder

Generate Google Analytics campaign tracking URLs instantly. Track source, medium, and campaign.

Open Calculator