Connecting TikTok
Send purchases with a TikTok click id to your TikTok pixel through the Events API.
CookieROAS sends purchases with a TikTok click id as a Purchase event to your TikTok pixel, through the Events API. Only the click id (ttclid), the TikTok browser id (_ttp) from the same visit, the value and the currency go along. This works with every order connection. Purchases without a click id or older than 7 days don't go along. A purchase with a refusal never goes to TikTok. Purchases with unknown consent or Global Privacy Control only go along if you allow that at Consent delivery in All settings.
Set the page address to Full
TikTok works with the click id from the ad link (ttclid). CookieROAS only keeps it if Page address is set to Full: Tracking › Setup › All settings › Pages. Without a click id, a purchase doesn't go to TikTok.
What you need
- A TikTok Ads account with a web pixel
- The tracking code on your store and an order connection
Steps
Open the TikTok page
Open your site in the dashboard. In the left menu, under Connections, click Add channel (or All connections) and choose TikTok.

Fill in the details
In the Conversions API (pilot) card, fill in:
| Field | Where to find it |
|---|---|
| Pixel code | TikTok Events Manager › Web: the pixel's ID. |
| Events API access token | Pixel settings › Events API › Generate access token. |
Click Connect TikTok. CookieROAS checks the details with TikTok before they are saved. Tokens and keys are stored encrypted.

Switch on sending
After connecting, sending is still paused. Click Switch on in All settings. You then land in Tracking › Setup › All settings, at Other platforms. Switch on TikTok there.
From that moment, only new purchases go to TikTok. Earlier orders are never sent afterwards.

Connect the cost for ROAS (optional)
Want to see the TikTok ad spend on the ROAS page? In the Cost for ROAS card, click Sign in with TikTok, sign in and choose your ad account at Choose the ad account. With this login CookieROAS only reads the cost; purchases keep going through the connection above.

Check that it works
- The TikTok page says Sending, with the time at Sending since.
- TikTok clicks captured goes up as soon as visitors arrive through a TikTok ad.
- After the first new purchase with a click id, Purchases sent goes up.
