Skip to main content
CookieYes → TikTokIntegration guide

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

  1. 01

    The ttclid never reaches CookieYes

    Default configurations frequently block before consent, so identifier capture is lost on the first page for every visitor.

  2. 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.

  3. 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.

  4. 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. 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. 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. 3

    The identifier is the bridge

    The ttclid, captured at the visit and carried into the CookieYes consent record.

  4. 4

    The event source decides reliability

    Send consented conversions with the consent rate stated.

  5. 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

  1. 01

    Count consent records carrying the ttclid

  2. 02

    Follow one real conversion end to end

  3. 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.

  4. 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.

  5. 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.

Get my free conversion tracking audit

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.

Get my free conversion tracking audit

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.

Free · 30 min

Get CookieYes and TikTok joined properly

Free30 minutesNo obligation