This article describes how to set up the TikTok Pixel tag in your Tealium iQ Tag Management account.

The TikTok Pixel is a powerful measurement tool that tracks your TikTok ads impact on your website. This clever bit of code enables you to monitor sales, user activity, and find the right audience for your ads.

In this article:

Tag Tips

  • Use mappings to override or dynamically set the tag configurations.
  • You can use the Crypto Extension to encrypt and populate the Hashed Email and Phone Number values.
  • By default, the pixel base code always includes page view events, which track when a visitor lands on your website.
  • The content_type object property's value must be set to either "product", or "product_group".

Tag Configuration

First, go to the tag marketplace and add the TikTok Pixel tag (Learn more about how to add a tag).

After adding the tag, configure the following settings:

  • Pixel ID: Your TikTok supplied Pixel ID.

Data Mappings

Mapping is the process of sending data from a data layer variable to the corresponding destination variable of the vendor tag. For instructions on how to map a variable to a tag destination, see data mappings.

The available categories are:

Tag Configuration

Variable Description
Pixel ID (pixel_code) [String]
Automatic Pageview Tracking (auto_page_tracking) [Boolean]
Automatic Purchase Tracking (auto_purchase_tracking) [Boolean]

User Parameters

Variable Description
User Email (user_email) [String]
User Phone Number (user_phone_number) [String]
User Hashed Email (sha256_email) [String]
User Hashed Phone Number (sha256_phone_number) [String]


Variable Description
Order ID (order_id) (Overrides _corder) [String]
Sub Total (order_subtotal) (Overrides _csubtotal) [String]
Currency (order_currency) (Overrides _ccurrency) [String]
Customer ID (customer_id) (Overrides _ccustid) [String]
List of Product IDs (product_id) (Overrides _cprod) [Array]
List of Categories (product_category) (Overrides _ccat) [Array]
List of Prices (product_unit_price) (Overrides _cprice) [Array]
List of Quantities (product_quantity) (Overrides _cquan) [Array]

Standard Tracking Parameters

Variable Description
Currency (currency) [String]
Content Category (content_category) [String,Array]
Content Name (content_name) [String,Array]
Content ID (content_id) [String]
Value (value) [Number]
Quantity (quantity) [Number]
Price (price) [Number]
Query (query) [String]
Contents (contents) [Array of objects]
Content Type (content_type) [String]


Variable Description
AddPaymentInfo AddPaymentInfo
AddToCart AddToCart
AddToWishlist AddToWishlist
ClickButton ClickButton
CompletePayment CompletePayment
CompleteRegistration CompleteRegistration
Contact Contact
Download Download
InitiateCheckout InitiateCheckout
PlaceAnOrder PlaceAnOrder
Search Search
SubmitForm SubmitForm
Subscribe Subscribe
ViewContent ViewContent
Custom Custom