TikTok Events API Setup for Shopify: Server-Side Tracking
TikTok's Events API lets you send conversion events directly from your server to TikTok, alongside, not instead of, the browser pixel. That matters on Shopify specifically because TikTok's in-app browser and standard mobile ad blockers both cause the browser pixel to miss a real share of events, and the Events API is the way to recover them without touching your theme code.
Pixel Tracker supports TikTok's Events API, connecting it through Shopify ScriptTags so you don't need to edit theme files or maintain custom code. This page walks through what the Events API actually does, how to connect it, and how to confirm it's working by checking your match rate in TikTok Ads Manager. For the general setup of the pixel itself, see our TikTok pixel setup guide.
What the Events API Actually Adds
The browser pixel depends on JavaScript running successfully in the shopper's browser, which fails more often than most merchants realize once you account for ad blockers, Safari's tracking prevention, and TikTok's own in-app browser environment. The Events API sends the same events, PageView, AddToCart, InitiateCheckout, PlaceAnOrder, directly from Shopify's servers instead, so an event can still reach TikTok even when the browser-side pixel didn't fire. It's a supplement to the pixel, not a replacement for it.
Getting Your Events API Access Token
In TikTok Ads Manager, open Assets, then Events, then select your pixel and go to its Events API setup screen. Generate an access token there, this is what authorizes Pixel Tracker to send events to TikTok on your store's behalf. Treat this token like a password: anyone with it can send events to your ad account, so only paste it into a connection you trust.
Connecting Pixel Tracker to the Events API
Paste the access token into Pixel Tracker's TikTok connection settings, alongside your pixel ID. Pixel Tracker sends the matching server-side events for the same standard events your browser pixel already tracks, so you don't need to choose one over the other or maintain two separate event schemas.
Event Deduplication: Why Matching Event IDs Matter
When the same purchase fires from both the browser pixel and the Events API, TikTok needs a way to know it's one event, not two. That's done by giving both the browser event and the server event the same event ID for the same order. Without matching event IDs, you'll see conversions in Ads Manager running higher than your actual Shopify order count, because TikTok counted the same sale twice.
Pixel Tracker handles this matching automatically so you don't have to manage event IDs by hand.
Checking Your Match Rate After Setup
Give it a few days of real traffic, then check the Event Match Quality or match rate figures in TikTok Ads Manager for your pixel. A meaningful jump in matched events after connecting the Events API is the clearest sign it's working. If you don't see improvement, double check that the access token is still valid and that your event IDs are actually deduplicating rather than creating duplicate events.
Step-by-step checklist
- 1
Open your pixel's Events API setup screen in TikTok Ads Manager
Go to Assets, then Events, select your TikTok pixel, and find the Events API section to generate an access token.
- 2
Generate and copy the access token
TikTok generates a token scoped to that pixel. Keep it private since it authorizes sending events to your ad account.
- 3
Paste the token into Pixel Tracker
Add the access token and pixel ID to Pixel Tracker's TikTok connection settings. No theme edits or custom code are required.
- 4
Confirm events are deduplicating correctly
Compare TikTok-reported conversions against actual Shopify order counts for the same window. Matching numbers mean event IDs are deduplicating properly.
- 5
Check match rate after a few days
Give TikTok a few days of live traffic, then check Event Match Quality in Ads Manager to confirm the Events API connection is improving matched events.
Frequently asked questions
What does TikTok's Events API do that the browser pixel doesn't?
It sends conversion events directly from Shopify's servers to TikTok, so events can still be recorded even when the browser pixel is blocked by an ad blocker, Safari's tracking prevention, or restrictions inside TikTok's in-app browser.
Where do I get my TikTok Events API access token?
In TikTok Ads Manager, go to Assets, then Events, select your pixel, and open its Events API setup screen. You'll generate the access token there and paste it into Pixel Tracker.
Will the Events API cause duplicate conversions in Ads Manager?
Only if the browser and server events for the same order aren't tagged with a matching event ID. Pixel Tracker handles this deduplication automatically, so the same purchase isn't counted twice.
Does Pixel Tracker support server-side tracking for platforms other than TikTok?
Yes, Pixel Tracker also supports Facebook's Conversions API. Server-side tracking for Google Ads, Snapchat, Pinterest, LinkedIn, and X isn't available.
How do I know if the Events API connection is actually working?
Check your Event Match Quality or match rate in TikTok Ads Manager a few days after connecting it. A visible increase in matched events is the clearest confirmation. See our server-side tracking guide for more on reading these numbers.