Published on

How to install Tiktok pixel with Google Tag Manager

How to Install TikTok Pixel with Google Tag Manager

There are many social networks that offer advertising, which means there are numerous tracking pixels that marketers can install on their websites. In this article, I'll show you how to install the TikTok pixel using Google Tag Manager.

Getting Started with TikTok Ads Manager

First, you must create a TikTok Ads Manager account. Visit ads.tiktok.com, but be aware that TikTok ads are not supported in all countries. During the sign-up process, you'll see the list of available countries. Once your account is created, visit the Ads Manager at ads.tiktok.com, click on "Assets," and then navigate to "Events."

Setting Up TikTok Pixel

To track web events, click “Manage” under the web events section and proceed to create a TikTok pixel:

  1. Create Pixel: Click "Create Pixel."
  2. Name Your Pixel: Enter a name for the pixel.
  3. Installation Method: Select "Manually install pixel code."
  4. Custom Code: Choose the "Custom Code" option for more flexibility with Google Tag Manager.
  5. Copy Pixel Code: Copy the provided pixel code.

Adding Pixel Code to Google Tag Manager

Next, head over to Google Tag Manager (GTM):

  1. Navigate to Tags: Go to “Tags” in GTM.
  2. Create New Tag: Click “New,” then "Tag Configuration," and select “Custom HTML Tag.”
  3. Paste Pixel Code: Paste the pixel code you copied from TikTok.
  4. Triggering: Set the trigger to “All Pages” to activate the pixel on all pages.
  5. Save Tag: Name the tag (e.g., "TT Pixel") and save it.

Testing Your TikTok Pixel Implementation

  1. Preview Mode: In GTM, click “Preview,” then enter the URL of your website to test the implementation.
  2. Verification: Use the TikTok Pixel Helper Chrome extension. If the pixel is installed correctly, the extension will display the number of events tracked.

Final Steps and Monitoring

After ensuring the pixel is working:

  1. Complete Setup: Go back to the TikTok Ads Manager and finalize the setup.
  2. Publish: In GTM, click “Submit” to publish the changes.
  3. Data Monitoring: Wait for up to 24 hours to start seeing data in TikTok Ads Manager.

If your business needs to obtain consent before tracking, the "All Pages" trigger will not suffice. You'll need to set up advanced triggers that activate based on user consent. Refer to specialized courses or tutorials for detailed instructions on configuring these consent-based triggers.

For detailed Google Tag Manager setups and handling user consent, check out related courses that provide comprehensive guidance.

Keywords

  • TikTok Pixel
  • Google Tag Manager
  • TikTok Ads Manager
  • Custom HTML Tag
  • User Consent
  • Page View Tracking
  • Event Tracking

FAQ

Q1: How do I create a TikTok Ads Manager account? A1: Visit ads.tiktok.com, and follow the sign-up process. Check if TikTok ads are supported in your country.

Q2: Can I install the TikTok pixel automatically using Google Tag Manager? A2: It's recommended to manually install the pixel code to avoid accidentally publishing untested changes in your GTM workspace.

Q3: What if the TikTok Ads Manager doesn't display data right away? A3: It could take up to 24 hours for data to appear in the TikTok Ads Manager after setting up and publishing the TikTok pixel.

Q4: How can I test if my TikTok pixel is correctly installed? A4: Use the "Preview" mode in GTM and the TikTok Pixel Helper Chrome extension to verify the pixel's functionality.

Q5: What should I do if my business requires user consent for tracking? A5: You will need to set up advanced triggers in GTM that only activate the pixel upon receiving user consent. This setup goes beyond the basic "All Pages" trigger.

Q6: Can I track specific events with the TikTok pixel? A6: Yes, you can track specific events like purchases by using the event tracking features available in TikTok's custom code setup.