العربية

TikTok Pixel: what it is and how to set it up on your store

What the TikTok Pixel does, why you need it before your first ad, how to find your Pixel ID in TikTok Ads Manager and add it to your store in a minute, and how to check that it tracks add-to-cart and purchases.

Last updated:

The TikTok Pixel is a small piece of code from TikTok that runs on your store. It records what people from your ads do: who viewed a product, who added it to their cart, and who bought. Without it, TikTok can't tell which ad led to a sale, so it shows your ad to anyone instead of the people most likely to buy.

Why set it up before your first ad

  • Measure results: see purchases and their value for each ad in TikTok Ads Manager.
  • Better targeting: when you optimize a campaign for purchases, TikTok looks for people similar to the ones who actually bought.
  • Retargeting: show an ad to people who added a product to their cart but didn't check out.

The pixel learns from data. The sooner you install it, the more it knows by the time you start advertising.

Events your store sends

Once you add your Pixel ID in Apexfy, these events are tracked automatically, with no code:

What the visitor doesTikTok event
Opens a page in your storePage view
Adds a product to the cartAddToCart
Starts checkoutInitiateCheckout
Places the orderCompletePayment, with the order value and currency

1. Get your Pixel ID from TikTok

  1. Open TikTok Ads Manager. If you don't have an ad account yet, create one first.
  2. Go to Tools, then Events, and choose Web Events.
  3. Create a new pixel and choose manual setup instead of a partner integration.
  4. Copy the Pixel ID. It's a string of capital letters and numbers, not the full code.
TikTok updates its interface from time to time, so menu names may differ slightly. All you need is to reach your pixel's page and copy its ID.

2. Add the pixel to your store

  1. In your Apexfy dashboard, open Settings and scroll to Ads & tracking.
  2. Paste the ID into TikTok Pixel ID.
  3. Click Save.

The steps for every tracking tool, including Meta, Snapchat and Google, are in Connect ads and tracking tools.

3. Check that it works

  1. Install the TikTok Pixel Helper extension in Chrome.
  2. Open your store, add a product to the cart, and start checkout.
  3. Click the extension icon. You should see your Pixel ID and the events that fired.
  4. You can also watch events on your pixel's page under Events in TikTok Ads Manager. They can take a little while to show up there.
Nothing showing up? Make sure you pasted only the ID, not the full code, and turn off your ad blocker while you test.

4. Find out which ads actually sell

TikTok's numbers only cover what TikTok can see. To know your real profit:

Show your products on TikTok

If you want ads that show your products automatically, connect a TikTok catalog with a product feed that updates itself. The steps are in Sales channels.

FAQ

Do I need a developer to install the TikTok Pixel?

No. Paste the ID in Settings and the events are tracked automatically.

Can I use the TikTok Pixel and the Meta Pixel together?

Yes. Add each ID in its own field, and the same events go to every tool you've added.

When should I run a purchase campaign?

Once the pixel has started recording purchases. Until then, you can start with an earlier goal, like add-to-cart or site visits, and switch to purchases later.

Try Apexfy free for 14 days

Every feature, no card needed, and 0% commission on your sales.

Start your store