Articles on: Client Side

Create Tiktok Event Tags

TikTok Event Tags are used to track specific actions users take on your website, such as page views, purchases, or form submissions. These tags collect data through the TikTok Pixel and send it to TikTok Ads Manager for tracking and analysis.


Setting up these tags ensures that your website events are accurately recorded and associated with your TikTok account. Properly configured event tags help in monitoring user activity and understanding interactions on your website.


In this document, you will learn how to create TikTok Event Tags, configure them with the necessary parameters, and ensure they are set up correctly for accurate tracking.








Let’s get started 🚀


Add TikTok Pixel Tag


Before you can track events on your website, you need to add the TikTok Pixel tag to your Google Tag Manager (GTM) workspace. This tag acts as the bridge between your website and TikTok Ads Manager, allowing you to capture key user actions like page views, purchases, or form submissions.


The TikTok Pixel ID will link the data from your website directly to your TikTok Ads account, ensuring proper event tracking and attribution.

Add Variable for TikTok Event Tags


After adding the TikTok Pixel tag, the next step is to create a variable for your TikTok Pixel ID in GTM. This variable enables you to reuse the Pixel ID across multiple event tags, making your setup efficient and consistent. By using a variable, you reduce the risk of manual errors and simplify future updates, such as when changes to your Pixel ID are needed.


In the demonstration below, learn how to create a variable for TikTok Event Tags.

Create TikTok Event Tags


Once you have added the TikTok Pixel and set up the required variables, you can create TikTok Event Tags to track specific actions on your website, such as adding items to a cart, completing a purchase, or signing up. These tags collect data about user interactions and send it to TikTok Ads Manager.


In the demonstration below, You will learn how to create TikTok Event Tags.


Tag Configuration


Once the TikTok Event Tags are created, configure them by defining key parameters like the Event Name, Event Type, and Pixel ID. These settings ensure that the tag captures the appropriate data for each event.


Ensure the event name matches your GA4 event tag for accurate tracking. Below is a comparison of GA4 event names and their corresponding TikTok event names:


GA4 Event Name

TikTok Ads Event Name

purchase

CompletePayment

add_to_cart

AddToCart

view_item

ViewContent

begin_checkout

InitiateCheckout

add_to_wishlist

AddToWishlist

add_payment_info

AddPaymentInfo

sign_up

CompleteRegistration

search

Search

In the demonstration below, You will learn how to configure TikTok Event Tags.

If you don't have a Unique Event ID variable, you can create one. To create a new variable, refer to documentation No event ID variable yet?


Verify Tag Firing with Preview Mode


Use the Preview Mode in Google Tag Manager to check if the tag fires correctly during the intended site interaction. This ensures that your tag setup is functioning properly before it goes live.


Ensure Proper Tracking and Attribution Setup


Ensure that the “ttclid” and “ttp” cookies are included in the Google Tag setup. These cookies are essential for proper tracking and attribution, as they help identify and link user interactions with your website to specific campaigns or sources.

For more details on how to set this up, refer to the document Creation of the Google Tag.

Updated on: 17/01/2025

Was this article helpful?

Share your feedback

Cancel

Thank you!