All integrations

Advertising integration

TikTok Pixel on Shopify, made compliant

TikTok's conversion-tracking pixel for TikTok Ads — increasingly common for Shopify stores targeting Gen Z.

Why consent applies to TikTok Pixel

TikTok Pixel sets cross-site advertising identifiers — same regulatory category as Meta Pixel under GDPR (consent required) and CCPA (sharing, not service-provider). TikTok's compliance posture has tightened since 2024 after multiple EU enforcement actions; the pixel must not fire before consent.

Cookies / scripts TikTok Pixel sets

  • _ttp
  • ttwid (set by tiktok.com)

Step-by-step compliance setup

  1. 1

    Block the TikTok pixel script until marketing consent

    Pixel loads via `<script src="https://analytics.tiktok.com/i18n/pixel/events.js">`. Block this script until the visitor accepts the marketing category — same as Meta Pixel.

  2. 2

    Send consent signals via the TikTok Pixel API

    TikTok introduced a Consent Mode-style API in late 2024. Call `ttq.consent('grant')` on accept and `ttq.consent('revoke')` on decline so events are gated server-side.

  3. 3

    Stop pixel firing for CCPA opt-outs

    Like Meta, TikTok is not a service provider under CPRA — they use received data for their own ad-targeting models. CCPA opt-out must stop the pixel client-side and stop any server-side Events API calls.

How Consentico handles TikTok Pixel

Consentico catches TikTok Pixel's script load alongside Meta Pixel and Google Ads. Merchants who want a Gen-Z-heavy banner UX can also enable the 'minimal banner' variant which has been A/B-tested to convert better with younger audiences.

  • Default-deny before any tag fires
  • Three-layer script blocking (createElement + MutationObserver + content-type)
  • Audit-ready consent log

Related concepts

Related integrations

Block TikTok Pixel until consent — in five minutes.

Free for stores under 5,000 banner views per month. No code, no theme edits.