Analytics & Business Intelligence

TikTok Pixel Setup for E-commerce: Events, Parameters and Checks

By Mohamed Abo Younes4 min read

ABOYOUNES cover for the article on TikTok Pixel setup, showing a timeline of events with milestones

A TikTok campaign without a working Pixel is a guess. You can see views and clicks, but you cannot tell which ones led to orders, and the platform has no examples of a good result to learn from. Setting the Pixel up properly before you spend is the cheapest improvement available.

This guide covers what to send, what each event needs, and how to check it. It follows the same logic as the Meta guide, with TikTok's own event names.

What the Pixel does

The TikTok Pixel reports actions on your site to TikTok. Those reports let you measure campaigns, build audiences from visitors who took an action, and give the delivery system real examples to optimise towards. If the only event it receives is a page view, it has little to work with.

The events a store needs

Start with the steps of your real funnel, not with every event on offer.

Core store events, in funnel orderCheck the current names in TikTok Events Manager
  1. ViewContent

    A product page is opened

    Product ID, name, value, currency
  2. AddToCart

    A product is added to the cart

    Product ID, value, currency, quantity
  3. InitiateCheckout

    The checkout starts

    Cart value, currency, number of items
  4. Purchase event

    An order is completed

    Order value, currency, product IDs

TikTok names its purchase-style events differently from Meta. Use the names shown in your own Events Manager.

Choose your purchase event on purpose

TikTok offers more than one event that can stand for an order, for example an order placed and a payment completed. The right one depends on how you sell.

  • Prepaid checkout: use the event that means payment completed, sent only when payment succeeds.
  • Cash on delivery: payment is not completed when the order is created. Decide which event stands for an order placed, use it consistently, and write down what it means. Do not mix two meanings in the same account.
Which event should stand for the order?Decide once, then keep it

Prepaid checkout

When to send it: When payment succeeds

Rule: Never on a failed or abandoned payment

Cash on delivery

When to send it: When the order is created, or later when confirmed

Rule: Write down which one you chose and use it everywhere

Both in one store

When to send it: Separate meaning per payment method

Rule: Do not mix the two meanings in one event

The mistake is not choosing the wrong event. It is switching between meanings without noticing.

For a cash-on-delivery store, an order placed is not yet a kept sale. That is why a stronger signal later in the process can be worth having. The guide How to Calculate Your Advertising Break-Even Point Before Scaling shows why, and the Delivery Signal service exists for that case.

The details that make an event useful

  • Value and currency, on every purchase event.
  • Product identifiers that match your catalogue.
  • Quantity and content type, so events can be linked to products.
  • An event ID, so a browser event and a later server event can be recognised as one. Plan for it now, even if you add the server path later.

Installing it

Use one method only. A store platform integration is the fastest and often enough. A tag manager gives more control but needs care. Installing the same event through two methods is the most common cause of inflated numbers.

Mistakes that quietly ruin the data

  • Sending the purchase event too early. If it fires when a payment starts, failed payments are counted as sales.
  • Missing value or currency. An event without them cannot show you revenue.
  • Product IDs that do not match the catalogue. Events then cannot be tied to products.
  • Two installs of the same event. The most common cause of numbers that are too high.
  • Never testing with a real order. The step that matters is the one most often skipped.

How to test before you spend

  1. Open your store and use the TikTok Pixel Helper extension to confirm one Pixel and no errors.
  2. Walk through the funnel yourself: view a product, add it to the cart, start checkout, place a test order.
  3. Check the Test Events view in TikTok Events Manager and confirm each event arrives once with the right values.
  4. After a few days, compare the purchase count with your store's orders. They will not match exactly, but the gap should be small and explainable.

If events do not fire or look wrong, the troubleshooting order in Meta Pixel Troubleshooting: When Events Do Not Fire or Look Wrong applies the same way. The thinking about deduplication is in Duplicate Purchase Events: Causes and How Deduplication Works.

Before your first campaign

Tracking is only the first of the things to prepare. TikTok Ads for E-commerce: How to Start Without Wasting Budget lists the rest: a single clear offer, several different creatives and a decision rule written before the numbers arrive.

If you want the setup done and tested for you, see the tracking setup service, or the ads management service if you also want the campaigns run.

← All articles

Discuss your project needs