The TikTok pixel on Shopify

Also called TikTok Web Events · Updated

TikTok’s pixel works like Meta’s but names things differently, and the mismatch is where most Shopify setups go wrong. If you assign an event called Purchase you will get nothing — TikTok’s final event is CompletePayment, and its optimisation depends on receiving that specific name.

TikTok pixel at a glance

ID format
An alphanumeric string of about 20 characters, e.g. C4A1B2C3D4E5F6G7H8I9
Where to find the ID
TikTok Ads Manager → Assets → Events → Web Events → your pixel
Server-side API
Events API
Ad surfaces covered
TikTok in-feed ads, Spark Ads, TopView, Shopping ads

Copy the ID from TikTok’s own dashboard rather than typing it — a transposed digit produces a pixel that installs cleanly and reports nothing.

Events the TikTok pixel accepts on Shopify

TikTok pixel event names and when each fires on Shopify
Event nameWhen it fires
ViewContentSame name as Meta. Product pages.
AddToCartSame name as Meta.
InitiateCheckoutSame name as Meta.
PlaceAnOrderNo Meta equivalent. Sits between checkout and payment.
CompletePaymentThis is TikTok’s Purchase. Optimise against it.
SearchStorefront search.
AddToWishlistIf your theme has a wishlist.

Server-side tracking: Events API

Generate an access token in TikTok Events Manager. Browser and server events share an event ID so TikTok deduplicates them, exactly as Meta does.

What goes wrong with the TikTok pixel on Shopify

  • The pixel ID is not the advertiser ID. Advertiser IDs are numeric; pixel IDs are alphanumeric, and pasting the wrong one produces a pixel that never fires.
  • Choose Manual Setup rather than the Shopify Partner Integration if you plan to install through a pixel app — the partner flow does not hand you a reusable ID.
  • TikTok’s attribution defaults are shorter than Meta’s. Compare like-for-like windows before concluding TikTok under-reports.

Why TikTok reports fewer conversions than Shopify

TikTok’s default attribution settings are shorter than Meta’s — a 7-day click and 1-day view window against Meta’s 7-day click and 1-day view, with TikTok historically defaulting narrower still on some account types. Comparing a TikTok report to a Shopify report without aligning the windows is comparing two different questions, and TikTok will always lose.

Beyond windows, TikTok’s audience skews to in-app browsing on mobile in exactly the way Instagram’s does, so the same event losses apply. The Events API is not an optional extra on TikTok; it is the difference between seeing most of your conversions and seeing about half of them.

The TikTok sales channel or a pixel app

TikTok’s official Shopify sales channel is the right answer for a store running one pixel with a straightforward catalog. It handles the pixel and the product feed in one connection, and it costs nothing beyond the app install.

It stops being the right answer at the point you need a second pixel, per-pixel event assignment, or your own Events API token. The channel manages one pixel on your behalf and does not hand you a reusable ID, which is why the Manual Setup route in TikTok Events Manager matters if a pixel app is anywhere in your plans. Choosing Manual Setup first costs nothing and keeps both options open.

Step-by-step installation

This page is the reference. For the click-by-click walkthrough, including the Events Manager side of the setup, read the full guide.

How to add a TikTok pixel to Shopify

Related reading

Other pixels on Shopify

Event reference