Skip to main content
All guides
Serious KVKK m.5 · m.9 · GDPR Art. 6 · Chapter V (transfers) · Social pixel

Load the TikTok Pixel only after consent (cross-border to China)

The TikTok Pixel tracks visitors for advertising, conversion measurement and audience building. Firing it on page load shares behaviour with TikTok before consent — and the data can flow cross-border, including to China.

Why it matters

Advertising pixels are the clearest case of non-essential tracking that needs prior consent (KVKK Art. 5 / GDPR Art. 6). TikTok’s data flows raise cross-border transfer questions (KVKK Art. 9 / GDPR Chapter V) to a jurisdiction without an EU adequacy decision. A pixel that fires on load exposes both the identifiers it drops and the absence of a valid basis when it fired.

How to fix it

Never call ttq.load() or ttq.track() on page load. Initialise the pixel inside your consent accept callback, and if the visitor rejects advertising, do not load analytics.tiktok.com at all.

<!-- Do NOT load on page load. Only inside the Accept handler: -->
function onConsentAccepted() {
  !function(w,d,t){w.TiktokAnalyticsObject=t;var ttq=w[t]=w[t]||[];
    /* standard TikTok pixel bootstrap */
    ttq.load('YOUR_PIXEL_ID');
    ttq.page();
  }(window,document,'ttq');
}

Does your site have this issue?

Run a free scan to find out in seconds.

Official sources

Links to primary legislation for reference. PrivaScan is not affiliated with these bodies; this is information, not legal advice.

Related guides

These guides cover automated checks for trackers, cookies and data flows. A full privacy review also needs legal input.