Published on

How to Install the TikTok Pixel via Google Tag Manager (GTM)

How to Install the TikTok Pixel via Google Tag Manager (GTM)

Welcome to another Tick Tock Arts tutorial! In this tutorial, we will learn how to install the TikTok pixel in all the pages of our website through Google Tag Manager (GTM). By following these steps, you will be able to track user behavior and optimize your advertising campaigns on TikTok.

But before we proceed, please consider subscribing to our channel and liking this video. Your support is greatly appreciated as it helps us create more valuable content. Thank you in advance!

Now, let's get straight to the point and begin the installation process.

Step 1: Log in to TikTok Ads Manager

Firstly, log in to your TikTok Ads Manager account. Once you are logged in, click on "Assets" and then select "Events".

Step 2: Create a Pixel

If you have not created a TikTok pixel before, you will need to create one by following these steps. Click on "Create Pixel", select "Manual Setup", and name your pixel (e.g., XYZ TikTok Pixel). Then, click on "Next".

Step 3: Grab the Pixel Code

After creating the pixel, you need to grab the pixel code. Skip the final step and click on "View Instructions" under the "Custom Code" section. Copy the script provided.

Step 4: Set Up Google Tag Manager

Now, open your Google Tag Manager account. Add a new tag and name it "TikTok Pixel". Select "Custom HTML" as the tag configuration. Paste the pixel code in the code field. Under triggering, select "All Pages" as the trigger. Save the tag, click on "Submit", and publish your Google Tag Manager container.

Step 5: Verify the Installation

To verify whether the installation is working correctly, click on "Preview" at the top of your Tag Manager. This will open the Google Tag Assistant. Copy your website URL, paste it in the Tag Assistant, and click on "Connect". Check if the TikTok pixel appears under "Tags Fired". If it does, then the installation is successful.

If you already have a TikTok pixel and want to find the tracking code, follow these additional steps. In your TikTok Ads Manager, go to "Assets" and click on "Events". Find your TikTok pixel and click on it. In the settings, click on "Event Setup" and then "TikTok Pixel View Base Code". You will find your TikTok pixel code here, which you can copy, email to a developer, or download.

That's it! You have now successfully installed the TikTok pixel on all the pages of your website, allowing you to track user events and optimize your TikTok advertising campaigns.


TikTok pixel, Google Tag Manager, installation, tracking code, website, events, advertising campaigns, user behavior, optimize, Tag Assistant, Verify, Tags Fired, Event Setup


Q: What is a TikTok pixel? A: A TikTok pixel is a snippet of code that allows you to track and measure the effectiveness of your advertising campaigns on TikTok.

Q: Why should I use Google Tag Manager for TikTok pixel installation? A: Google Tag Manager simplifies the process of adding and managing various tracking codes, including the TikTok pixel, on your website.

Q: Can I install the TikTok pixel on all pages of my website? A: Yes, by following the steps outlined in this tutorial, you will be able to install the TikTok pixel on all the pages of your website.

Q: How can I verify the TikTok pixel installation? A: By using the Tag Assistant in Google Tag Manager's preview mode, you can verify whether the TikTok pixel is firing correctly on your website.

Q: What can I do with the TikTok pixel data? A: The TikTok pixel data allows you to track user behavior, optimize your advertising campaigns, and retarget users based on their actions on your website.