Table of contents

Set up TikTok Pixel in Google Tag Manager Web Container

how-to-setup-the-tiktok-pixel

In an era where digital ads dominate the playing field, it is crucial to track every click, conversion and interaction. This not only helps refine your marketing strategy, but also provides valuable insights into consumer behavior. If you advertise on TikTok, setting up your TikTok Pixel is an unmissable step in this process.

Thanks to TikTok Pixel, you can collect detailed data about the performance of your ads and optimize them for future campaigns. Does this sound complicated? No worries! In this comprehensive guide, we'll show you how to install TikTok Pixel effortlessly via Google Tag Manager. Let's get started!

In this article you will learn:

  • What exactly TikTok Pixel is and why you need it
  • A step-by-step guide to setting up TikTok Pixel via Google Tag Manager

Why is the TikTok Pixel Important?

TikTok Pixel serves as your eyes and ears on your Web site. It provides a wealth of information that can be crucial to optimizing your advertising strategy on TikTok. By using this tool properly, you can:

  1. Refine Target Groups: Using the data collected, you can create more targeted ad campaigns.
  2. Conversions Improve: Track which ads lead to sales, sign-ups or other actions.
  3. Increase ROI: Find out which ads produce the best results and adjust your budget accordingly.

Types of Events You Can Follow

The beauty of TikTok Pixel is that you are not limited to tracking only one type of activity or interaction. Here are some of the main events you can track:

  • Page visits: See which pages are visited the most and how long users stay there.
  • Conversions: Track purchases, form submissions and other key actions.
  • Button clicks: Measure which call-to-action buttons are most effective.
  • Time spent on site: Get an idea of user engagement by seeing how much time they spend browsing your website.

Because of this versatility of tracking options, TikTok Pixel gives you the flexibility to make your campaigns as broad or specific as you want, all while gaining valuable insights that can lead to more optimized, more effective campaigns.

TikTok Pixel Setting GTM Web Container

The TikTok code figures as a base code for the pageview, if you want to create other events, this must be done through the TikTok pixel template.

how-to-setup-the-tiktok-pixel

Setting up TikTok Pixel in Google Tag Manager

Total Time: 5 minutes

1. Event management TikTok

tiktok-dashboard-events

Go to Events in your TikTok Ads Manager account.

2. Manage Web Events

manage-web-events-in-tools-tiktok-ads-manager

Select Manage under Web Events.

3. Create TikTok Pixel

create pixel tiktok ads manager

To create a TikTok Pixel, select Create Pixel.

4. Manual setup

select manual setup tiktok pixel setup ads manager

We want to set up the Pixel manually. To do this, choose Manual setup. Then click Next.

5. Skip Build business funnel

skip-building-business-funnel-tiktok-ads-manager

Next, name the pixel and click Next. You will now enter Build business funnel. Here, click Skip step and Confirm to skip this step.

6. Event setup method

select custom code and events api tiktok pixel in ads manager

Next, make sure the Events API and Custom Code are checked. Then click Next.

7. Instructions

click-view-instructions-custom-code-tiktok-ads-manager

Select View instructions under Event setup methods.

8. Copy pixel code

copy pixel code tiktok ads manager

Copy the TikTok pixel code to add it later in Google Tag Manager.

9. Tag creation GTM Web container

create-new-tag-workspace-google-tag-manager-web-container

Next, it's now time to create the TikTok Pixel in Google Tag Manager. Within your workspace in the Web container, go to Tags and click New.

10. Tag configuration

setup-tiktok-pixel-gtm-custom-html-tag-configuration

Give the Tag a name, for example, TikTok - Pixel, and click Tag Configuration. Next, select Custom HTML as the Tag Type. Paste the HTML script you copied from the TikTok Ads Manager here.

11. Trigger setting

setup triggering tiktok pixel gtm and save tag

We want to trigger the tag on every page. Therefore, choose All Pages as the trigger and then click Save to save the tag.

Creating TikTok Events

Within Google Tag Manager (GTM), you can easily set up TikTok events to track valuable interactions on your website. For example, if you want to register an "add to cart" event, start by creating a corresponding pixel within GTM. Enter your TikTok pixel id and select the appropriate configuration in the TikTok event settings and link it to your defined GA4 event trigger. Haven't created these triggers yet? Then check out our blog on creating events in google tag manager.

tiktok-add-to-cart-event-gtm

Testing the TikTok Pixel via Google Tag Manager Debug Mode

To ensure that the TikTok Pixel is functioning correctly, activate debug mode in Google Tag Manager. Navigate to your website where the Pixel is installed. In debug mode, you can see whether the basic Pixel code is loaded and whether specific events, such as "PageView" or "AddToCart," are triggered correctly. This information helps you confirm that tracking is working properly for analysis and optimization of your campaigns.

Next Step

This was it, you now have the TikTok Pixel installed in Google Tag Manager. The next step for the TikTok Side Tracking implementation is the TikTok Events API.

About the author

Recently published

magnifiercrossmenu linkedin facebook pinterest youtube rss twitter instagram facebook-blank rss-blank linkedin-blank pinterest youtube twitter instagram