Create Tiktok Event Tags
In this article, we explain step-by-step how to create TikTok Ads event tags in the Google Tag Manager (GTM) web container. We ensure that the event name and trigger match those of an existing GA4 event tag and that both the GA4 and TikTok Ads event tags contain the same event_id parameter.
Open your GTM web container
Navigate to Templates
Within Tagtemplates, search for "Tiktok Pixel"
Add this template to your workspace
Navigate to variables.
Create a new User-Defined Variable and choose "Constant" as variable type
Input your tiktok pixel ID as value and save as "Tiktok Pixel ID"
Navigate to tags
Create a new Tag and select Tiktok Pixel Id as Tagconfig
Under ‘Trigger Event’, specify the event. Select this event from the dropdown menu.
Make sure the event name matches your GA4 event tag. Below you can see the differences between the GA4 and TikTok event names:
Under ‘De-duplication Configurations’, enter your Unique Event ID variable.
For the trigger, select the same trigger you use for the GA4 event tag with the same event name.
Save the tag. Use the preview mode to check if the tag is activated with the correct site interaction.
Open your GTM web container
Navigate to Templates
Within Tagtemplates, search for "Tiktok Pixel"
Add this template to your workspace
Navigate to variables.
Create a new User-Defined Variable and choose "Constant" as variable type
Input your tiktok pixel ID as value and save as "Tiktok Pixel ID"
Navigate to tags
Create a new Tag and select Tiktok Pixel Id as Tagconfig
Under ‘Trigger Event’, specify the event. Select this event from the dropdown menu.
Make sure the event name matches your GA4 event tag. Below you can see the differences between the GA4 and 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 |
Under ‘De-duplication Configurations’, enter your Unique Event ID variable.
For the trigger, select the same trigger you use for the GA4 event tag with the same event name.
Save the tag. Use the preview mode to check if the tag is activated with the correct site interaction.
Updated on: 16/08/2024
Thank you!