pixelrun

Guides

TikTok pixel not working on Shopify

TikTok's Events Manager shows no activity, or page views but no add-to-carts. TikTok then has little to find buyers with, and campaigns may refuse to start on a pixel that isn't ready.

See what is really sent

Open your store, add a product to the cart and start checkout, with TikTok Pixel Helper running or with a Pixelrun check. Note which events arrive on which page.

See every TikTok event, step by step

The usual causes

  1. The pixel only runs at checkout. We have seen stores where TikTok hears nothing on the home page, product pages or the cart and only wakes up in checkout. Usually the TikTok app's pixel isn't enabled for the online store, only for checkout.
  2. Two TikTok pixels. An old pixel from before the app, or from an agency, still sends events next to the new one.
  3. The app's data sharing level. Check the setting in the TikTok app; some levels send events from the server, where a browser check can't see them.
  4. Consent. With a cookie banner, the pixel waits for marketing consent.

How to fix it

  1. In the TikTok app on Shopify, reconnect the pixel and confirm it is on for the online store.
  2. Remove old TikTok code from the theme (search for analytics.tiktok.com) and from Settings → Customer events.
  3. Check again: you want ViewContent on a product, AddToCart after adding, and InitiateCheckout at checkout, once each.