TikTok Pixel Consent CMP

Let the TikTok Pixel follow every UniConsent choice. It holds its events until consent in the EEA and the UK, and stops after a US opt-out or Global Privacy Control.

Microsoft certified CMP - UniConsent CMPIAB certified CMP - UniConsent CMPIAB TCF V2 certified CMP - UniConsent CMPIAB TCF Canada certified consent manager - UniConsent CMPGoogle-certified CMP Gold tire - UniConsent CMPGoogle-certified CMP partner
Trusted by 5000+ of global publishers and marketers
  • sej
  • football365
  • sharethrough
  • districtm
  • pf1
  • tower cast
TikTok Pixel Consent at a Glance
Supported
Yes: with the UniConsent TikTok Pixel consent tag
Consent signal
ttq.holdConsent(), ttq.grantConsent(), ttq.revokeConsent()
Works with
Google Consent Mode v2, Microsoft UET, IAB TCF, IAB GPP

TikTok Pixel Consent from Your UniConsent Banner

The TikTok Pixel needs consent before it sets cookies or sends the data of visitors in the EEA and the UK. With the UniConsent TikTok Pixel consent tag, the pixel follows the choice each visitor makes in your UniConsent banner, on page load and after every change, through the consent API of the pixel itself.

How the Pixel Follows Each Choice

Visitor choiceTikTok Pixel
No choice yetWaits, with ttq.holdConsent(); in your pixel code
Allows advertisingttq.grantConsent(): the pixel sends its events
Rejects or withdrawsttq.revokeConsent()
US opt-out or Global Privacy Controlttq.revokeConsent()

The tag grants consent when Google Consent Mode ad_storage, ad_user_data and ad_personalization are all granted, so it works the same with IAB TCF, Consent Categories and the US banners.

One Banner for Every Ad Platform

A single choice in the UniConsent banner updates Google Consent Mode v2, Microsoft UET Consent Mode, Amazon Consent Signal and the TikTok Pixel together, with IAB TCF and IAB GPP for programmatic partners.

Frequently Asked Questions

How does UniConsent work with the TikTok Pixel?

Add ttq.holdConsent() before ttq.load() in your pixel code, and add the UniConsent TikTok Pixel consent tag. The pixel holds its events until the tag calls ttq.grantConsent() for a visitor who allows advertising, and the tag calls ttq.revokeConsent() when the visitor rejects or withdraws.

Which UniConsent choice turns the TikTok Pixel on?

Consent to advertising: Google Consent Mode ad_storage, ad_user_data and ad_personalization all granted. With IAB TCF or Consent Categories, the choice in the banner sets these values.

What happens after a US opt-out?

After a US "Do Not Sell or Share" opt-out or a Global Privacy Control signal, the tag revokes consent, so the TikTok Pixel stops sending events.

Do I need to change my TikTok Pixel code?

Only one line: ttq.holdConsent() before ttq.load(). Without it, the pixel can send events before the visitor makes a choice.

Does the TikTok Pixel consent tag slow down other sites?

No. It is a separate tag that you add only on sites with the TikTok Pixel. The main UniConsent tag does not change.

Set Up TikTok Pixel Consent

  1. Sign up at app.uniconsent.com and install the UniConsent tag.
  2. Hold the pixel until consent: add ttq.holdConsent(); before ttq.load() in your TikTok Pixel code:
// the TikTok Pixel base code
ttq.holdConsent();
ttq.load('YOUR_PIXEL_ID');
ttq.page();
  1. Add the TikTok Pixel consent tag after the UniConsent tag:
<script async src="https://cmp.uniconsent.com/v2/tiktok-consent.min.js"></script>

Technical Documentation

Microsoft certified CMP - UniConsent CMPIAB certified CMP - UniConsent CMPIAB TCF V2 certified CMP - UniConsent CMPIAB TCF Canada certified consent manager - UniConsent CMPGoogle-certified CMP Gold tire - UniConsent CMPGoogle-certified CMP partner
Trusted by 5000+ of global publishers and marketers
  • sej
  • football365
  • sharethrough
  • districtm
  • pf1
  • tower cast

Get started to make your website and application compliant for EU GDPR, US CPRA, CA PIPEDA etc

Sign up