What is the TikTok Pixel?

Analytics & measurement

What does the TikTok Pixel do?

It runs in the visitor's browser. When someone views a product, adds to basket or buys, the Pixel shares that website event with TikTok, which uses it to measure how your ads performed1.

It is a type of tracking pixel: a snippet of code that sends visitor actions from the browser to an ad platform. Reddit has its own version, the Reddit Pixel.

Why does it matter for ecommerce brands?

Optimisation needs signal. If purchases never reach TikTok, the platform has little to learn from. If they arrive twice or arrive wrong, it learns from the wrong thing.

The browser is not a reliable messenger. TikTok itself says connectivity issues and browser inconsistency can affect conversions reported via the Pixel2. That is why it also offers an Events API, a direct connection for data from your website, app or offline sources such as a CRM, and recommends running it alongside the Pixel with event deduplication2. Counting each purchase once is the job of event deduplication: matching the browser event and the server event so a sale is not counted twice. Setup details are in TikTok Pixel and Events API setup.

For ZFD: In our view, a Pixel that fires is the start of tracking, not proof it is right. Compare TikTok's purchase count with your shop's. Our ecommerce tracking audit shows which checks change a budget decision.

Easily confused with

  • TikTok Pixel vs Conversions API

    Meta's server-side interface. TikTok's equivalent is the Events API.

  • TikTok Pixel vs Tracking pixel

    The general idea. The TikTok Pixel is one specific implementation.

  • TikTok Pixel vs Reddit Pixel

    Same job, different platform, separate setup.

FAQ

A rider in a red cape and bicorne hat on a rearing yellow plush horse, after David's Napoleon Crossing the Alps

Is the TikTok Pixel the same as the TikTok tag?

People use the names loosely for the same code. We stick to "TikTok Pixel", the product name, and keep "tag" for code you configure in a tag manager.

Do I need the Events API as well?

TikTok recommends it: Pixel and Events API together, with deduplication2. How much it changes your numbers depends on how many events the Pixel loses on your site.

Sources

  1. About TikTok PixelPrimary source
  2. About Events APIPrimary source

Let’s find what’s actually working.

Next step. Not sure your tracking counts each sale once? Start with our measurement and tracking audit.