- Published on
Track events with Tiktok pixel and Google Tag Manager (and purchases)
Track Events with TikTok Pixel and Google Tag Manager (and purchases)
This article will guide you on how to track events and purchases using TikTok Pixel and Google Tag Manager. By measuring the performance of your TikTok ads, you can gain insights into which ads are performing better. To track these events, we'll use TikTok Pixel and Google Tag Manager.
Step 1: Installing TikTok Pixel with Google Tag Manager
Before we can start tracking events, we need to ensure that TikTok Pixel is installed with Google Tag Manager. You can refer to the previous video guide on how to install TikTok Pixel with Google Tag Manager. If you haven't done that yet, please watch that first. Once you have completed the installation, proceed to the next steps.
Step 2: Sending Additional Events to TikTok Pixel
TikTok Pixel tracks only page views by default. If you want to track additional events, such as purchases or add to cart, you need to send those events to TikTok Pixel. This will provide more data for measuring ad success. In Google Tag Manager, click on "Templates" and search for TikTok. Choose the TikTok Pixel template developed by TikTok and add it to your workspace.
Next, open the custom HTML tag where you have your TikTok Pixel code. Make sure the tag firing option is set to "once per page". This ensures that the code loads properly and fires the events correctly.
In the tag section of Google Tag Manager, click on "New Tag Configuration" and select the TikTok Pixel template. Enter the pixel ID that you can find in your TikTok ads manager. Choose the event you want to track, such as "complete payment" for purchases.
Depending on how your website is configured and the data layer in Google Tag Manager, you may need to enter additional information about the purchase, such as currency, total amount, and product details. This will vary depending on your specific setup. You can refer to the TikTok Pixel documentation for more details on parameters and their meanings.
Once you have configured the tag, you need to set up a trigger for the event. Create a new trigger and choose custom event. Enter the event name exactly as it appears in your data layer, such as "eec.purchase". Name the trigger and save it.
Finally, name the tag and save it. Make sure to configure the tag sequencing settings to fire the tag before the purchase tag fires.
Step 3: Testing and Verification
To ensure that the events are being tracked correctly, enable the preview mode in Google Tag Manager. Go to the page where the event should be fired and check if the tag fires in the tag assistant. You can also use the TikTok Pixel Helper Chrome extension to check if the data was sent correctly. Additionally, you can check the events manager in your TikTok ads manager to see if the events are being received.
Once you have tested and verified that the events are working properly, submit your changes in Google Tag Manager and publish the new version of your container. Within 24 hours, you should start seeing the event data in the TikTok ads manager.
Summary and Keywords
Keyword: TikTok Pixel, Google Tag Manager, track events, purchases
This article explains how to track events and purchases using TikTok Pixel and Google Tag Manager. By measuring the performance of your TikTok ads, you can gain insights into which ads perform better. The article provides step-by-step instructions, including installing TikTok Pixel with Google Tag Manager and sending additional events to TikTok Pixel. Testing and verification steps are also included to ensure accurate tracking. Tracking events and purchases allows you to analyze the success of your TikTok ads and make data-driven decisions for future campaigns.
FAQ
FAQ:
What is TikTok Pixel?
- TikTok Pixel is a tracking code that allows you to measure the effectiveness of your TikTok ads by collecting data on user interactions and events.
Why should I use Google Tag Manager with TikTok Pixel?
- Google Tag Manager is a powerful tool for managing and deploying tracking codes. By using Google Tag Manager, you can easily install and manage TikTok Pixel, as well as track additional events and purchases.
Can I track purchases with TikTok Pixel?
- Yes, you can track purchases by sending the "complete payment" event to TikTok Pixel. This allows you to measure the success of your ads and see how many purchases were made from each TikTok ad.
What other events can I track with TikTok Pixel?
- In addition to purchases, you can track various events such as page views, searches, add to cart, and more. TikTok Pixel supports a range of standard events that you can choose from in Google Tag Manager.
How do I test if the events are being tracked correctly?
- Enable the preview mode in Google Tag Manager and go to the page where the event should be fired. Use the Tag Assistant Chrome extension to check if the tag is firing correctly. Verify the event data in the TikTok ads manager's events manager to ensure it is being received properly.