Connecting Complianz to TikTok Events API
Complianz is a WordPress consent plugin that blocks scripts by category automatically, which means a plugin update can change what fires on your site without anyone deciding to. 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 Complianz 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
Complianz and TikTok: the pixel is blocked, the ttclid is not
The ttclid arrives in the landing URL before consent, so put your capture script in Complianz's marketing category and persist ttclid only after consent. Use Complianz blocking or TikTok's holdConsent and grantConsent methods, not both. Send CompletePayment to the Events API only for consented orders, sharing the pixel's event_id, and test cached mobile pages.
Complianz can block the TikTok pixel under marketing, but the ttclid is in the landing URL before any consent choice and before the pixel runs. Whether your own capture script reads and stores it before consent is the TikTok-specific decision; if it does, you are storing an advertising identifier for visitors who may decline. Put the capture script in the same marketing category and persist the ttclid only after consent.
TikTok's pixel has its own consent methods (look up holdConsent and grantConsent in TikTok's pixel documentation) for setups that load the pixel early and release events once consent is given. If Complianz blocks the script outright you do not need them, but do not combine the two approaches. Server-side, store the Complianz state on the order and send CompletePayment to the Events API only for consented orders, with the same event_id the pixel used.
TikTok traffic is mobile and in-app, and the Complianz banner appears on a small screen to people who came for a product. Measure the marketing consent rate on TikTok-sourced sessions specifically before concluding the integration is broken; it is often lower than on desktop. Test the cached product page inside TikTok's webview too, because some caching plugins serve a separate mobile cache that desktop consent testing never touches.
Complianz → TikTok · what breaks
Why this join usually fails — Complianz → TikTok
- 01
The ttclid never reaches Complianz
Scripts are blocked before execution, and WordPress caching can serve a page with the wrong consent state entirely.
- 02
Caching serving the wrong consent state
A full-page cache does not know who is asking. A page cached for a consented visitor and served to one who declined runs scripts that should not have run, which is a compliance problem rather than a measurement one.
- 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.
Complianz → TikTok · the fix
What working looks like — Complianz → 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
Complianz → TikTok · architecture
How Complianz and TikTok actually connect
- 1
Complianz holds the truth
Automatic script blocking on WordPress interacts with every other plugin. A caching plugin, a tag manager and a consent plugin all touching the same page produce ordering problems nobody planned.
- 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 Complianz 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.
Complianz → TikTok · normal or broken
Working vs. broken, side by side — Complianz → 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
Scripts are blocked before execution, and WordPress caching can serve a page with the wrong consent state entirely.
Sent from the browser
A full-page cache does not know who is asking. A page cached for a consented visitor and served to one who declined runs scripts that should not have run, which is a compliance problem rather than a measurement one.
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
Complianz → TikTok · diagnose
Diagnostic order — Complianz → TikTok
- 01
Count consent records carrying the ttclid
- 02
Follow one real conversion end to end
- 03
Test consent behaviour with caching enabled, not disabled
Most consent testing is done with cache off, which is the one configuration that never runs in production.
- 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.
Complianz → TikTok · prove
How it gets proven — Complianz → TikTok
Source of truth
Your order or CRM system, with consent state recorded at the time of 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, verified with production caching active.
Complianz → TikTok · free audit
What we check in the free audit
- Count consent records carrying the ttclid
- Follow one real conversion end to end
- Test consent behaviour with caching enabled, not disabled
- Measure ttclid capture rate on TikTok traffic specifically
- Read the match rate, not the success message
Checked against
Your order or CRM system, with consent state recorded at the time of the event.
Free30 minutesNo obligation
Complianz → TikTok · when not to buy
When you don't need this — Complianz → TikTok
- Measure identifier coverage yourself first — pull your last hundred consent records and count how many carry the ttclid.
- Sites without full-page caching avoid the interaction, though the category classification still matters.
- 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.
Complianz → TikTok · what we deliver
What gets built — Complianz → TikTok
Identifier capture into Complianz
Verify which category your capture script sits in, and check that caching does not serve a consented page to a non-consented visitor.
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 or CRM system, with consent state recorded at the time of the event.. Miss it and we keep working at no cost.
From $400 · See packages
FAQ
Complianz → TikTok questions, answered
The pixel and ttclid capture only run after marketing consent, and in-app browser visitors decline or ignore the banner more often. Measure consent rate on TikTok traffic before blaming the Events API.
Treat the server event like the pixel and send only for consented orders. Confirm your obligations in each market with counsel.
Almost always because the ttclid never reached the Complianz consent record. Scripts are blocked before execution, and WordPress caching can serve a page with the wrong consent state entirely. 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 Complianz → 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 Complianz → 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 × CRM DealsHow to reconcile TikTok Ads against your CRM's closed-won deals
- TikTok · Checkout → purchaseHow to track checkout to purchase for TikTok Ads
- Termly → TikTokConnecting Termly to TikTok Events API
- Complianz → Google AdsConnecting Complianz to Google Ads
- Financial servicesConversion tracking for financial services, built for the compliance review
- Usercentrics → TikTokConnecting Usercentrics to TikTok Events API
Free · 30 min
Get Complianz and TikTok joined properly
Free30 minutesNo obligation
