Articles on: Client Side

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:

GA4 event nameTikTok Ads event name
purchaseCompletePayment
add_to_cartAddToCart
view_itemViewContent
begin_checkoutInitiateCheckout
add_to_wishlistAddToWishlist
add_payment_infoAddPaymentInfo
sign_upCompleteRegistration
searchSearch




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

Was this article helpful?

Share your feedback

Cancel

Thank you!