How can we help you?

How to Set Up TikTok Pixel?

Last updated on January 26, 2025

Setting up the TikTok Pixel allows you to track the actions that users take on your website after interacting with your TikTok ads. This helps you measure the effectiveness of your ads and optimize them to get the best results. Here’s a step-by-step guide to help you set up TikTok Pixel on your website.

Step 1: Access Your TikTok Ads Manager

  • Log in to your TikTok Ads Manager account at https://ads.tiktok.com.

  • In the top menu, click on Tools and select Event under the Tracking section.

Step 2: Create a New Pixel

  • Click the Create Pixel button.

  • Choose Web Event Pixel and give your pixel a name (e.g., "My Website Pixel").

  • Select your website domain from the dropdown and click Next.

Step 3: Install the Pixel Code

  • After creating the pixel, you’ll be given a Pixel ID and the pixel code.

  • Copy the TikTok Pixel Code (this is a JavaScript code snippet).

  • You will need to place the TikTok Pixel code into your website’s code. Specifically, paste the pixel code in the section of your website’s HTML.

Step 4: Add the Pixel Code to Your Website

  • If you're using a website builder (like WordPress, Shopify, or Wix), you can use the platform’s integration tools or plugins to add the pixel code.

  • If you’re using a custom-built website, you’ll need to manually paste the pixel code into the section of each page you want to track.

Step 5: Set Up Standard Events (Optional)

TikTok offers several standard events that track specific actions on your website (e.g., purchases, sign-ups, or add-to-carts). Here’s how to set them up:

  1. Go to the TikTok Ads Manager and select your Pixel.

  2. In the Event Setup section, select the Standard Event you want to track.

  3. Add the corresponding event code to the appropriate page on your site (e.g., purchase event code on the confirmation page).

  4. You can use TikTok’s Pixel Helper tool to confirm that the events are firing correctly.

Step 6: Verify the Pixel Installation

  • After you’ve added the pixel code to your website, use the TikTok Pixel Helper (a browser extension) to ensure that the pixel is working correctly.

  • If everything is set up correctly, the Pixel Helper will indicate that the pixel is active, and you will start seeing data in your TikTok Ads Manager.

Step 7: Monitor and Optimize Campaigns

  • Once the TikTok Pixel is installed and collecting data, you can start analyzing the performance of your ads.

  • Use the insights from your pixel data to optimize your campaigns by adjusting targeting, bidding strategies, and content based on user behavior and conversions.


Troubleshooting Tips for TikTok Pixel

  • Pixel Not Firing: Double-check the code placement in the section of your site. Make sure that the code is on every page where you want to track events.

  • Data Delay: It may take up to 24 hours for data to show in your TikTok Ads Manager.

  • Event Tracking Issues: Ensure that you’ve placed the appropriate event codes on the correct pages (e.g., add-to-cart or purchase actions on the confirmation page).


Additional Resources

Did not answer your question?
Contact us