Published on

How to Create and Install the TikTok Pixel with Google Tag Manager (GTM)

Introduction

Welcome to this tutorial on how to create and install the TikTok Pixel using Google Tag Manager (GTM). This guide will walk you through the necessary steps to set up your TikTok Pixel effectively to track events and optimize your campaigns.

Step 1: Access TikTok Ads Manager

  1. First, log in to your TikTok Ads Manager by visiting ads.tiktok.com.
  2. Click on Tools in the top menu and navigate to Events.

Step 2: Create a New Pixel

Once you're in the Event Manager:

  • If you are new to TikTok Pixel, you will have two scenarios:

    1. You don’t have a pixel: Click on Connect Data Source and choose Web for website installation.
    2. You already have a pixel: Access your existing pixel for updates.
  • In the case of creating a new pixel, enter your domain name (e.g., test.com) and click Next.

  • Proceed with Manual Setup for more control, and click Next.

Step 3: Set Up Your Pixel

  • Choose TikTok Pixel as the middle option and click Next.
  • Name your pixel (for example, “Test Pixel”) and click on Create.
  • After creating the pixel, copy the tracking code provided.

Step 4: Enable Automatic Advanced Matching

  • It's recommended to enable Automatic Advanced Matching to enhance data collection for your pixel.
  • For now, skip event setup; this can be done in a later step.

Step 5: Configure Google Tag Manager

  1. Open Google Tag Manager and access your desired container.
  2. Create a new tag and name it TikTok Pixel.
  3. Click on Tag Configuration, then select Custom HTML, and paste the tracking code you copied earlier.
  4. Choose Triggering and select All Pages.

Make sure to save your configuration. Don’t forget to submit and publish your container in GTM to apply the changes to your live site.

Step 6: Verify Your Installation

To verify whether the installation was successful, use the TikTok Pixel Helper Chrome extension:

  1. Install the extension and navigate to your website.
  2. Enable the TikTok Pixel Helper and check if it detects your pixel.

Additional Notes for Existing Pixel Users

For those who have previously set up a TikTok Pixel:

  • Go to TikTok Events Manager and find your Data Sources.
  • Click on the relevant pixel, navigate to Settings, and scroll down to find View Base Code.
  • Copy the pixel code and follow the same steps in Google Tag Manager to add it to your site.

While it’s possible to install the pixel directly in your website’s source code, using Google Tag Manager helps to keep everything organized and manageable.

Thank you for following this tutorial! If you have any questions, feel free to leave them in the comments below.


Keyword

  • TikTok Pixel
  • Google Tag Manager
  • Event Manager
  • Manual Setup
  • Automatic Advanced Matching
  • Tracking Code
  • Custom HTML
  • All Pages
  • Pixel Helper

FAQ

1. What is the TikTok Pixel?
The TikTok Pixel is a tracking code that helps advertisers track user interactions on their website, optimize campaigns, and measure ad performance.

2. Can I install the TikTok Pixel without Google Tag Manager?
Yes, you can install the TikTok Pixel directly in your website’s source code, but it is recommended to use Google Tag Manager for better organization and management.

3. How do I verify if my TikTok Pixel is installed correctly?
You can use the TikTok Pixel Helper Chrome extension to verify if your pixel is functioning as expected on your website.

4. What should I do if I already have a TikTok Pixel created?
If you have an existing pixel, you can access it via the Events Manager in TikTok Ads Manager, view the base code, and use the same steps in Google Tag Manager to add or update it.