Skip to main content
OneTrust → TikTokIntegration guide

Connecting OneTrust to TikTok Events API

OneTrust sits upstream of every tag on the site, which makes it the single system most able to change your conversion volume overnight without anybody touching a tag. 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 OneTrust 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

OneTrust to TikTok: consent before the ttclid is written

Hold the ttclid in memory until OneTrust consent in TikTok's in-app browser, then store it server-side immediately. Gate Events API dispatch on each order's recorded consent and send hashed email only for consented customers. Confirm the TikTok pixel's OneTrust category matches the banner wording, measure TikTok-sourced consent rate separately, and ask counsel about any limited-data option.

TikTok traffic arrives in an in-app browser on a small screen, where a OneTrust banner covers much of the page and is often dismissed or ignored. Where your rules treat no answer as no consent, the ttclid on the landing URL must not be persisted yet. Hold it in memory until consent, then store it server-side immediately, because in TikTok's webview a value kept only in the browser often does not survive to the conversion.

The Events API runs server-side, outside OneTrust's reach, so gate dispatch on the recorded consent state for each order and send hashed email only for consented customers. Check which OneTrust category the TikTok pixel is assigned to: it is easy to file it under a category the banner describes differently, which either blocks it for consenting visitors or lets it fire for declined ones.

Expect TikTok to lose a larger share of conversions to consent than desktop-heavy channels if banner acceptance in in-app browsers runs lower; measure the consent rate on TikTok-sourced sessions separately before blaming TikTok's matching. Check whether TikTok's Events API offers a limited-data-use option for US opt-outs, and use it if your counsel wants a middle ground.

OneTrust → TikTok · what breaks

Why this join usually fails — OneTrust → TikTok

  1. 01

    The ttclid never reaches OneTrust

    The identifier can only be captured after consent is given, so a visitor who consents on the second page has already lost the parameter from the first.

  2. 02

    A governance change that looks like broken tracking

    A privacy team tightens a banner on a Tuesday and a fifth of conversions disappear. The marketing team spends a week debugging tags that are working exactly as configured, because nobody connects the two systems.

  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.

OneTrust → TikTok · the fix

What working looks like — OneTrust → 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

OneTrust → TikTok · architecture

How OneTrust and TikTok actually connect

  1. 1

    OneTrust holds the truth

    Consent is not a tracking detail, it is the gate. A conversion from a visitor who declined cannot lawfully be sent to an ad platform, and the share who decline is the ceiling on everything you report.

  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 OneTrust consent record.

  4. 4

    The event source decides reliability

    Send only conversions where consent for advertising purposes was actually granted, and report the unconsented share as a stated number rather than a gap.

  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.

OneTrust → TikTok · normal or broken

Working vs. broken, side by side — OneTrust → TikTok

Normal, not a fault

  • The ttclid present on the consent record

  • Sent from your order system, gated on the consent record

  • 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

    The identifier can only be captured after consent is given, so a visitor who consents on the second page has already lost the parameter from the first.

  • Sent from the browser

    A privacy team tightens a banner on a Tuesday and a fifth of conversions disappear. The marketing team spends a week debugging tags that are working exactly as configured, because nobody connects the two systems.

  • 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

OneTrust → TikTok · diagnose

Diagnostic order — OneTrust → TikTok

  1. 01

    Count consent records carrying the ttclid

  2. 02

    Follow one real conversion end to end

  3. 03

    Correlate conversion drops against the consent change log first

    Before touching a tag. In governed environments this explains the drop more often than any technical fault does.

  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.

OneTrust → TikTok · prove

How it gets proven — OneTrust → TikTok

Source of truth

Your order or CRM system, with the consent state at the time of the event recorded alongside.

  • 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 consent rate stated explicitly in the report.

OneTrust → TikTok · free audit

What we check in the free audit

  • Count consent records carrying the ttclid
  • Follow one real conversion end to end
  • Correlate conversion drops against the consent change log first
  • Measure ttclid capture rate on TikTok traffic specifically
  • Read the match rate, not the success message

Checked against

Your order or CRM system, with the consent state at the time of the event recorded alongside.

Get my free conversion tracking audit

Free30 minutesNo obligation

OneTrust → TikTok · when not to buy

When you don't need this — OneTrust → TikTok

  • Measure identifier coverage yourself first — pull your last hundred consent records and count how many carry the ttclid.
  • If your consent rate is very low, improving the banner experience will do more for your reporting than any tracking build — and that is a design and legal conversation, not a tagging one.
  • 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.

OneTrust → TikTok · what we deliver

What gets built — OneTrust → TikTok

  • Identifier capture into OneTrust

    Capture into a pending buffer on landing and only persist and dispatch once consent is recorded — never the reverse, and never 'capture now, ask later'.

  • Event source: your order system, gated on the consent record

    Send only conversions where consent for advertising purposes was actually granted, and report the unconsented share as a stated number rather than a gap.

  • 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 of consent should stop future sends and, where the platform supports it, trigger a deletion request.

Written guarantee

95%+ tracking accuracy

Measured against Your order or CRM system, with the consent state at the time of the event recorded alongside.. Miss it and we keep working at no cost.

Get my free conversion tracking audit

From $400 · See packages

FAQ

OneTrust → TikTok questions, answered

In-app browser visitors often dismiss or decline the banner, so the pixel and ttclid capture are blocked for them. Measure the consent rate on TikTok traffic specifically.

Free · 30 min

Get OneTrust and TikTok joined properly

Free30 minutesNo obligation