Skip to main content
Termly → TikTokIntegration guide

Connecting Termly to TikTok Events API

Termly bundles consent management with policy generation, which means small businesses frequently end up with a privacy policy describing data practices they do not actually have. 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 Termly 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

Termly and TikTok: hold the pixel, gate the Events API too

TikTok ignores Google Consent Mode, so Termly must block the TikTok pixel or use holdConsent and grantConsent directly. The Events API is where setups leak: store Termly consent on the order, send CompletePayment with hashed email and phone only when advertising consent was given, drop a pre-consent ttclid if the visitor declines, and add TikTok to your policy first.

TikTok does not read Google Consent Mode, so Termly has to control the TikTok pixel directly. Check whether your Termly setup blocks the TikTok pixel until advertising consent is given, and whether it uses TikTok's own consent calls in the pixel (holdConsent and grantConsent) or simply prevents the script from loading. Either works for the browser. Neither touches the Events API.

The server side is where most Termly-plus-TikTok setups leak. A ttclid is captured from the landing URL before the banner is answered, the visitor declines, and the server still sends CompletePayment with hashed email and phone. Store the Termly consent state on the order and send to TikTok only when advertising consent was given. Do not keep a ttclid read before consent if the visitor then declines.

Check the privacy policy Termly generated for a mention of TikTok. Small businesses often add TikTok ads long after the policy was written, and under US state privacy laws sending conversion data to TikTok for ad targeting is typically "sharing" that has to be disclosed and opt-out-able. Add TikTok to the policy and the opt-out flow before the first Events API call.

Termly → TikTok · what breaks

Why this join usually fails — Termly → TikTok

  1. 01

    The ttclid never reaches Termly

    Default blocking configurations stop capture before consent on the first page view.

  2. 02

    A generated policy that does not match reality

    Generated policies are templates. Adding a new conversion destination without updating the policy means you are disclosing data to a partner your own published statement does not mention, which is a real exposure that no tracking configuration fixes.

  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.

Termly → TikTok · the fix

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

Termly → TikTok · architecture

How Termly and TikTok actually connect

  1. 1

    Termly holds the truth

    The published policy is a statement about what you do. If it says you share data with categories of partner you do not use, or omits ones you do, the mismatch is the compliance exposure — not the banner.

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

Termly → TikTok · normal or broken

Working vs. broken, side by side — Termly → 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 blocking configurations stop capture before consent on the first page view.

  • Sent from the browser

    Generated policies are templates. Adding a new conversion destination without updating the policy means you are disclosing data to a partner your own published statement does not mention, which is a real exposure that no tracking configuration fixes.

  • 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

Termly → TikTok · diagnose

Diagnostic order — Termly → TikTok

  1. 01

    Count consent records carrying the ttclid

  2. 02

    Follow one real conversion end to end

  3. 03

    Compare your destination list against what the policy discloses

    Every platform you send conversions to should appear. This is a five-minute check and it is almost never done after a new integration.

  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.

Termly → TikTok · prove

How it gets proven — Termly → TikTok

Source of truth

Your order system, with consent state attached.

  • 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, with the destination list verified against the published policy.

Termly → TikTok · free audit

What we check in the free audit

  • Count consent records carrying the ttclid
  • Follow one real conversion end to end
  • Compare your destination list against what the policy discloses
  • 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.

Get my free conversion tracking audit

Free30 minutesNo obligation

Termly → TikTok · when not to buy

When you don't need this — Termly → TikTok

  • Measure identifier coverage yourself first — pull your last hundred consent records and count how many carry the ttclid.
  • Before adding any new conversion destination, update the policy. That order matters, and it is cheaper than the alternative.
  • 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.

Termly → TikTok · what we deliver

What gets built — Termly → TikTok

  • Identifier capture into Termly

    Capture after consent, and make sure the policy actually describes the destinations you send conversions to.

  • 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.. Miss it and we keep working at no cost.

Get my free conversion tracking audit

From $400 · See packages

FAQ

Termly → TikTok questions, answered

No. It can hold or block the TikTok pixel in the browser, but server events need your own consent check based on the stored Termly state.

Free · 30 min

Get Termly and TikTok joined properly

Free30 minutesNo obligation