Connecting CookieYes to TikTok Events API
CookieYes serves smaller sites that adopted a consent banner because a plugin suggested it, which frequently means the banner is stricter than the business's legal position requires. TikTok's audience skews to exactly the browsers and app contexts where browser-side tracking performs worst. The join between them succeeds or fails on one thing: whether the ttclid reaches the CookieYes consent record before the conversion happens, because TikTok can only match a conversion it can tie back to a click it recognizes.
Free30 minutesNo obligation
Specific to this pair
CookieYes and TikTok Events API: consent before the ttclid
Make sure no plugin installs the TikTok pixel outside CookieYes, and use the pixel's consent hold and grant functions if available. TikTok clicks open in an in-app browser where default-deny banners get dismissed. Capture the ttclid server-side only after consent, keep it on the order, and send CompletePayment with an event_id shared with the pixel.
TikTok's pixel sets its _ttp cookie and reads the ttclid as soon as it loads, so with CookieYes the question is whether the pixel loads before or after the visitor chooses. Check whether your TikTok pixel was added by a plugin outside CookieYes's control; if it was, the consent log and what the browser actually did will disagree. Check also whether the TikTok pixel's consent hold and grant functions are available in your setup, since they let the pixel wait for the CookieYes decision instead of not loading at all.
TikTok traffic arrives inside the in-app browser, so the banner is the first thing the visitor sees on a small screen, and a full-screen default-deny banner in a webview tends to get dismissed rather than accepted. Capture the ttclid server-side only after consent, keep it on the order, and send CompletePayment with an event_id shared with the pixel so the browser and server events pair up for the consented share.
For orders without consent, send nothing to TikTok, or only what your legal position allows. Measure your acceptance rate on TikTok traffic specifically; if it is much lower than on other channels, the banner design in the webview is the problem, not the Events API integration.
CookieYes → TikTok · what breaks
Why this join usually fails — CookieYes → TikTok
- 01
The ttclid never reaches CookieYes
Default configurations frequently block before consent, so identifier capture is lost on the first page for every visitor.
- 02
A banner stricter than the law requires
Plugins default to the strictest setting because that is safest for the plugin vendor. For a business whose customers are all in a market with different rules, that default costs a large share of measurable conversions and buys no protection that was needed.
- 03
The ttclid is lost in the in-app browser
TikTok traffic arrives through an in-app webview whose storage behavior is inconsistent. An identifier captured but not immediately persisted server-side often is not there by the time the conversion happens.
- 04
Nothing reconciles afterwards
TikTok Events Manager shows received events and their match status. As with Meta, arriving is not the test — deduplicated and matched is. Reconcile TikTok's reported conversions against the source system for the same window.
CookieYes → TikTok · the fix
What working looks like — CookieYes → TikTok
The ttclid on every consent record
Conversions arriving in TikTok
Events appear in TikTok Events Manager, deduplicated against the pixel, and become usable for optimization.
Reconciled against the source
CookieYes → TikTok · architecture
How CookieYes and TikTok actually connect
- 1
CookieYes holds the truth
For a small business the practical question is often whether the banner configuration matches the obligation. A default-deny banner in a market with no such requirement is data thrown away for nothing.
- 2
TikTok Events API needs a click to match
TikTok matches server events using ttclid where available, falling back to hashed contact information. Both should be sent — the fallback is what carries the events where the click ID did not survive.
- 3
The identifier is the bridge
The ttclid, captured at the visit and carried into the CookieYes consent record.
- 4
The event source decides reliability
Send consented conversions with the consent rate stated.
- 5
Deduplication at the destination
TikTok deduplicates on event_id, the same pattern as Meta: the pixel and the Events API must send the same event_id for the same conversion. Mismatched IDs mean double counting.
CookieYes → TikTok · normal or broken
Working vs. broken, side by side — CookieYes → TikTok
Normal, not a fault
The ttclid present on the consent record
Sent from your order system, gated on consent
Deduplicated correctly
TikTok deduplicates on event_id, the same pattern as Meta: the pixel and the Events API must send the same event_id for the same conversion. Mismatched IDs mean double counting.
Reconciles with the source
Actually broken
The ttclid missing on most records
Default configurations frequently block before consent, so identifier capture is lost on the first page for every visitor.
Sent from the browser
Plugins default to the strictest setting because that is safest for the plugin vendor. For a business whose customers are all in a market with different rules, that default costs a large share of measurable conversions and buys no protection that was needed.
Counted twice, or not at all
TikTok traffic arrives through an in-app webview whose storage behavior is inconsistent. An identifier captured but not immediately persisted server-side often is not there by the time the conversion happens.
Nobody has reconciled it
CookieYes → TikTok · diagnose
Diagnostic order — CookieYes → TikTok
- 01
Count consent records carrying the ttclid
- 02
Follow one real conversion end to end
- 03
Confirm which regulations actually apply to your customer base
A legal question, not a technical one, and worth answering before accepting a default that costs you a third of your data.
- 04
Measure ttclid capture rate on TikTok traffic specifically
Not on all traffic. TikTok's in-app browser is the failure case, so a healthy overall capture rate can hide a poor one on exactly the traffic that matters.
- 05
Read the match rate, not the success message
TikTok Events Manager shows received events and their match status. As with Meta, arriving is not the test — deduplicated and matched is. Reconcile TikTok's reported conversions against the source system for the same window.
CookieYes → TikTok · prove
How it gets proven — CookieYes → TikTok
Source of truth
Your order system, with consent state attached to the event.
- The ttclid confirmed present on a live consent record.
- Deduplication confirmed in Events Manager, and ttclid capture rate measured on TikTok traffic specifically.
- Consented conversions reconciled against imported figures, with the configuration checked against the obligation.
CookieYes → TikTok · free audit
What we check in the free audit
- Count consent records carrying the ttclid
- Follow one real conversion end to end
- Confirm which regulations actually apply to your customer base
- Measure ttclid capture rate on TikTok traffic specifically
- Read the match rate, not the success message
Checked against
Your order system, with consent state attached to the event.
Free30 minutesNo obligation
CookieYes → TikTok · when not to buy
When you don't need this — CookieYes → TikTok
- Measure identifier coverage yourself first — pull your last hundred consent records and count how many carry the ttclid.
- This is the common case for small sites: get the legal position confirmed first. The right banner may be considerably lighter than the one installed.
- If TikTok is a small share of spend, the effort is hard to justify. It pays when TikTok is a channel you are actively scaling.
CookieYes → TikTok · what we deliver
What gets built — CookieYes → TikTok
Identifier capture into CookieYes
Check the default blocking behaviour against your actual legal obligation, then capture accordingly.
Event source: your order system, gated on consent
Send consented conversions with the consent rate stated.
Dispatch to TikTok
Server events to the TikTok Events API with the ttclid, hashed contact information and a matching event_id.
Reversals where they exist
Withdrawal stops future sends.
Written guarantee
95%+ tracking accuracy
Measured against Your order system, with consent state attached to the event.. Miss it and we keep working at no cost.
From $400 · See packages
FAQ
CookieYes → TikTok questions, answered
Only if the pixel sits inside CookieYes's blocking or is fired by GTM on the advertisement category. A pixel added by a separate plugin may load before the banner.
The ttclid and _ttp cookie are only captured for visitors who accept, and acceptance inside TikTok's in-app browser can be low. Measure the acceptance rate on TikTok traffic alone before changing the integration.
Almost always because the ttclid never reached the CookieYes consent record. Default configurations frequently block before consent, so identifier capture is lost on the first page for every visitor. Measure coverage before debugging the dispatch.
The ttclid — TikTok's click identifier, appended to your landing page URL and also stored in the _ttp cookie. TikTok additionally matches on hashed email and phone. In-app browser behavior makes ttclid capture more fragile than the equivalents on other platforms, so persisting it server-side as soon as it is seen matters more here than elsewhere.
Your order system, gated on consent. Send consented conversions with the consent rate stated.
TikTok Events Manager shows received events and their match status. As with Meta, arriving is not the test — deduplicated and matched is. Reconcile TikTok's reported conversions against the source system for the same window.
More on CookieYes → TikTok
- TikTok · Lead → booked callHow to track lead to booked call for TikTok Ads
- TikTok · Booked call → closed wonHow to track booked call to closed won for TikTok Ads
- TikTok · Free trial → paidHow to track free trial to paid for TikTok Ads
RELATED GUIDES
Where CookieYes → TikTok fits in the rest of your tracking
- TikTok · Healthcare clinicsTikTok Ads conversion tracking for healthcare clinics
- TikTok · Financial servicesTikTok Ads conversion tracking for financial services firms
- TikTok × Ecommerce OrdersHow to reconcile TikTok Ads against your store's order table
- TikTok · Checkout → purchaseHow to track checkout to purchase for TikTok Ads
- Termly → TikTokConnecting Termly to TikTok Events API
- CookieYes → RedditConnecting CookieYes to Reddit
- Financial servicesConversion tracking for financial services, built for the compliance review
- Complianz → TikTokConnecting Complianz to TikTok Events API
Free · 30 min
Get CookieYes and TikTok joined properly
Free30 minutesNo obligation
