Platform ConnectionsTikTok

Connecting TikTok

CleanClicks sends conversion events to TikTok via the Events API. Like Meta, TikTok uses a manually generated access token.

CleanClicks sends conversion events to TikTok via the Events API. Like Meta, TikTok uses a manually generated access token.

Prerequisites

  • A TikTok Ads Manager account
  • A TikTok Pixel created in Events Manager
  • Access to generate API tokens

Getting Your Credentials

Pixel Code

  1. Go to TikTok Ads Manager > Assets > Events > Web Events
  2. Select your pixel
  3. The Pixel Code is displayed on the overview page (format: CXXXXXXXXXXXXXXXXX)

Access Token

  1. On the same pixel settings page, look for Generate Access Token
  2. Click to generate a token
  3. Copy it immediately (you may not be able to see it again)

Connecting in CleanClicks

  1. Go to Connections in your CleanClicks dashboard
  2. Select your domain
  3. Find TikTok in the Token Entry section
  4. Paste your Access Token
  5. Enter your Pixel Code
  6. Click Save

Configuring the Vendor

After connecting:

  1. Go to Configuration > Vendors tab
  2. Enable TikTok
  3. Verify the Pixel Code and Access Token are present
  4. Save

How It Works

When a visitor converts:

  1. CleanClicks captures the ttclid (TikTok Click ID) from the landing page URL
  2. The conversion event is sent server-side to TikTok's Events API with the ttclid
  3. TikTok matches the conversion to the original ad click
  4. Customer data is sent as SHA-256 hashes for Advanced Matching
SettingRecommendedWhy
PixelUse your existing pixelCleanClicks sends server-side events into the same pixel — never create a second pixel just for CleanClicks
Access tokenGenerate from that same pixel's settings pageTokens are pixel-scoped; a token from a different pixel sends your events to the wrong place
Automatic Advanced Matching (web pixel)OffCleanClicks already sends hashed customer data server-side, deliberately and consistently
Event rules / automatic eventsOff for events CleanClicks deliversPrevents TikTok-guessed events from duplicating or polluting the deterministic set

CCPA and opt-out behavior

When a visitor opts out (through Global Privacy Control, a CleanClicks opt-out cookie, or your consent platform's "reject"), CleanClicks sends TikTok nothing for that visitor. Opted-out conversions are dropped before they leave CleanClicks, not transmitted to TikTok under a limited-data-use flag or any other mechanism.

For visitors who have not opted out, conversions are sent to the Events API normally. CleanClicks does not attach limited_data_use: true by default.

Troubleshooting

IssueSolution
Token rejectedRegenerate the access token in TikTok Events Manager
Events not appearingVerify the Pixel Code matches your pixel. Check that TikTok is enabled in Configuration > Vendors.
Pixel Code formatMust start with C followed by alphanumeric characters (e.g., CXXXXXXXXXXXXXXXXX)

Next: Microsoft Ads