TikTok setup guide

Track TikTok ads and see profit by campaign, ad group and creative.

2 min readUpdated 11 November 2026

What it is

This guide shows how to connect TikTok ads to TrafficTaps so each click is recorded with its campaign, ad and placement details.

Why it matters

With the right macros, TrafficTaps can show profit and ROI for each campaign, ad and placement, not only for the whole TikTok account. That tells you what to scale and what to switch off.

Step by step

  1. Add the traffic source in TrafficTaps

    Go to Traffic Sources > New and choose TikTok from the templates. The parameters below are filled in for you. Check that they match the table in this guide.

    [SCREENSHOT: New traffic source form with TikTok selected]
  2. Create a campaign

    Go to Campaigns > New, choose this traffic source, add your lander and offer, and save.

  3. Open the campaign's Tracking tab and copy the link. It uses double underscores for macros.

    Tracking link (TikTok example)
    https://trk.traffictaps.com/c/AbC123?clickid=__CLICKID__&campaign_id=__CAMPAIGN_ID__&adgroup_id=__AID__&creative_id=__CID__

    Use the __CLICKID__ macro to pass TikTok's click ID.

  4. Paste it in TikTok Ads Manager

    In TikTok Ads Manager, paste the link as the ad's Website URL. TikTok replaces its macros when the ad is shown. [VERIFY: TikTok menu labels and field names can change, so check them in the TikTok dashboard]

  5. Test

    Click your own ad or preview link in a normal browser (not through a VPN). In Reports, a visit should appear, and the values you sent (campaign, ad and so on) should be filled in, not shown as raw macros.

Example

A finished TikTok ad link, with the campaign code AbC123:

Example
https://trk.traffictaps.com/c/AbC123?clickid=__CLICKID__&campaign_id=__CAMPAIGN_ID__&adgroup_id=__AID__&creative_id=__CID__

TikTok macros

These placeholders are replaced by TikTok when someone clicks your ad. Write them exactly as shown, using double underscores, like __CAMPAIGN_ID__.

MacroWhat it gives you
__CLICKID__TikTok click ID
__CAMPAIGN_ID__Campaign ID
__CAMPAIGN_NAME__Campaign name
__AID__Ad group ID
__AID_NAME__Ad group name
__CID__Creative ID
__CID_NAME__Creative name
__PLACEMENT__Placement of the ad

Sending conversions back to TikTok

[VERIFY: conversion postback URL format for TikTok; it is not listed in the verified facts] See Postbacks to traffic sources for how it works in general.

Coming soon: Ad cost sync for TikTok is coming soon.

Common mistakes

  • Wrong brackets. TikTok uses double underscores, like __CAMPAIGN_ID__. Anything else is sent as plain text.
  • Editing the macros. Do not add spaces or change the capital letters.
  • Testing in the ad platform preview only. Some previews do not replace macros. Click a real ad or test link.
  • Using the offer URL in the ad. The ad must point to the TrafficTaps tracking link.

Stuck? Write to support@traffictaps.com with your campaign name and a sample click ID.