Skip to content
Traffic sources · spoke

Tracking TikTok Ads campaigns

TikTok's two most-used macros are named misleadingly enough that a large share of TikTok tracking setups are silently mislabelled. Fix that first; everything else follows.

Reviewed and updated August 29, 2026 by the binom.courses editorial team · how we test

TikTok tracking has one trap that catches almost everyone, and it does not produce an error — it produces reports that look fine and describe the wrong thing.

The naming trap, stated plainly

__AID__ returns the ad group ID, not the ad ID.

__CID__ returns the creative ID, not the campaign ID.

The campaign ID is __CAMPAIGN_ID__. The ad-level ID is __ADID_V2__, and only on upgraded Smart+ campaigns.

If you mapped __CID__ into a column called “campaign” — which is the obvious reading — every campaign-level report you have is actually creative-level, and the two will never reconcile with TikTok's own dashboard.

The full macro set

MacroWhat it returns
__CAMPAIGN_ID__Campaign ID
__CAMPAIGN_NAME__Campaign name
__AID__Ad group ID - not the ad ID, despite the name
__AID_NAME__Ad group name
__CID__Creative ID - not the campaign ID, despite the name
__CID_NAME__Creative name
__ADID_V2__Ad-level ID, Smart+ campaigns only
__PLACEMENT__Where the ad was displayed

Double underscores at both ends, uppercase. Again, a different syntax from every other platform in this silo.

ttclid: capture it, do not add it

TikTok automatically appends ttclid to your landing page URL on every click. This is important and frequently mishandled:

  • Do not add ttclid to your tracking template manually. Doing so overwrites or conflicts with the value TikTok appends, and breaks what the pixel and Events API read.
  • Do capture it on the landing page and store it alongside your tracker's own click ID, so the server-side conversion can carry it.
  • It persists for roughly 30 days, which sets a practical ceiling on server-side attribution regardless of your tracker's window.
  • Your tracker must pass it through the redirect rather than stripping unknown parameters.
From testing:

Verify the macro mapping with one real click before you spend anything. Click your own ad, open the click row, and compare the value in your 'campaign' column against the campaign ID shown in TikTok Ads Manager. If they do not match, you have the __CID__ trap, and every report you have built is mislabelled.

Events API and deduplication

Same structure as Meta's, same failure mode. TikTok's Events API expects ttclid and an event ID. If your pixel fires a Purchase and your server fires the same Purchase without a shared event ID, TikTok counts two and its optimiser learns an inflated conversion rate.

1

Generate one event ID per conversion

Any stable unique value — an order ID works well because it is naturally unique and already exists.

2

Send it with both the pixel event and the Events API event

Along with ttclid on the server-side event so TikTok can attribute it to a click.

3

Fire one real test conversion

Check TikTok Events Manager and confirm exactly one event, marked deduplicated.

4

Re-check after any funnel change

A new thank-you page, a new checkout flow or a changed order ID format can break deduplication silently.

What TikTok traffic does to your reports

Two behaviours worth planning for:

Creative fatigue is unusually fast

TikTok creatives decay in days rather than weeks. Your reporting needs to be granular enough at creative level to spot the decline early - which requires __CID__ mapped correctly, hence the trap mattering.

In-app browser behaviour

A large share of TikTok clicks open in TikTok's in-app browser, which behaves differently from Chrome or Safari on cookies, redirects and page performance. Segment by browser in your reports; results frequently differ sharply.

Placement values are coarse

__PLACEMENT__ gives you less granularity than native platforms' site IDs. There is less placement-level optimisation available, which shifts the weight of your optimisation onto creative.

Event volume sits between social and native

Roughly 2,000-10,000 billable events per $100 of spend - comfortable on entry-tier metered plans unless you are spending heavily.

Setup checklist

  1. Tracking template with __CAMPAIGN_ID__, __AID__, __CID__ and __PLACEMENT__, each mapped into a correctly named column.
  2. Column names verified against TikTok Ads Manager with one real click.
  3. ttclid not in your template, but captured on the landing page.
  4. Tracker configured to pass unknown parameters through the redirect.
  5. Network postback firing into your tracker.
  6. Events API configured with ttclid and a shared event ID.
  7. One test conversion producing exactly one deduplicated event.
  8. Reports segmented by browser, to separate in-app from external.

If you also run Meta, note that the two platforms' conversion APIs solve the same problem with different field names and different click identifiers — which is precisely why some buyers pay for a tracker that packages both. See Binom vs RedTrack for what that convenience is worth in practice.

Frequently asked questions

What does __AID__ mean in TikTok Ads?
Ad group ID, not ad ID, despite the name. Similarly __CID__ returns the creative ID, not the campaign ID - the campaign is __CAMPAIGN_ID__. This naming is the single most common source of mislabelled TikTok tracking setups.
How do I get the ad-level ID on TikTok?
__ADID_V2__, which is only available on upgraded Smart+ campaigns. On other campaign types the finest granularity available through macros is the creative, via __CID__.
Should I add ttclid to my TikTok tracking URL?
No. TikTok appends ttclid automatically at click time, and adding it manually breaks the value the pixel and Events API read. Capture it on your landing page instead and store it for the server-side conversion.
How long does ttclid last?
Roughly 30 days, which sets a practical ceiling on server-side attribution on TikTok regardless of what window you configure in your own tracker.
Why do my TikTok reports not match Ads Manager?
Most often the __CID__ trap - your 'campaign' column contains creative IDs. Check one click row against Ads Manager before investigating anything else. After that, look at attribution windows and time zones.
Does TikTok's in-app browser affect tracking?
It affects behaviour rather than the tracking itself - cookie handling, redirect performance and page rendering all differ from external browsers. Segment your reports by browser, because conversion rates between in-app and external traffic frequently differ substantially.

Built for people who read reports for a living

Dense, groupable, drillable tables rather than summary widgets. Thirty days to find out whether that suits you.

Try the interface →

Affiliate link. How this site is funded.