Your TikTok Pixel probably misses some conversions, even when it is installed correctly. Ad blockers, browser privacy settings, connection drops, and in-app browsers can all stop the small script that tells TikTok someone bought.
The TikTok Events API closes much of that gap. Instead of relying only on the visitor’s browser, your server sends the same events straight to TikTok, so a confirmed order still shows up in your TikTok ad reports when the browser drops it.
Below you’ll find how the Events API works, how it differs from the Pixel, how deduplication and Event Match Quality work, the three ways to set it up, and how to check that it’s working.
Get Up to $6000 Free TikTok Ad Credit
Table of Contents
Quick Answer
The TikTok Events API is TikTok’s server-side tracking connection: your server sends website, app, or offline events directly to TikTok instead of relying only on the browser. TikTok recommends running it alongside the TikTok Pixel and sending the same event_id from both, so duplicate events are merged and missed conversions are recovered.

Key Takeaways
- The Events API sends events server to server, so browser blockers and privacy settings that stop the Pixel don’t stop it.
- TikTok recommends the Pixel and Events API together, not the Events API alone.
- Send the same event name and event_id from both so TikTok can merge duplicates and keep one conversion.
- You can connect it through a commerce partner like Shopify or WooCommerce, a data partner, or a direct API integration.
- Event Match Quality improves when you send more customer match keys, such as hashed email and phone.
What Is the TikTok Events API?
The TikTok Events API is a server-to-server interface that lets you share the actions customers take on your website, app, or in offline channels like stores and CRMs directly with TikTok. TikTok’s Events API overview describes it as a reliable connection for marketing data across web, app, and offline channels, with control over what you share.
It works like a second messenger. Your Pixel tells TikTok what happened in the browser. Your server tells TikTok what actually happened in your system, like a payment that cleared or an order that was confirmed.
This matters because a browser can miss what happened. A shopper might block scripts, close the tab before the Pixel fires, or check out inside an in-app browser. None of that stops your server from knowing the order went through, and the Events API gives that knowledge a direct path to TikTok.
How the Events API Works
The Events API works by having your server, or a partner platform, send each event to TikTok with an access token that proves the request comes from you. When a customer adds to cart or completes checkout, the event is packaged with its details (value, currency, products) and any customer match keys you choose to share, then sent to the dataset tied to your Pixel.
TikTok’s getting started guide notes that Events API 2.0 calls need an access token and recommends agreeing on events, parameters, and match keys with your marketing, legal, and technical teams before you build.
You decide which events to send and which customer details to include. Use the same event names as your Pixel, because that consistency is what lets TikTok match server events to browser events once deduplication is on.
TikTok Events API vs. TikTok Pixel
The TikTok Pixel and the Events API report the same kinds of events from two places, the browser and your server, and TikTok recommends running both. Each one covers gaps in the other.
| Factor | TikTok Pixel | TikTok Events API |
|---|---|---|
| Where it runs | Customer’s browser | Your server or a partner’s server |
| Can be stopped by ad blockers and browser limits | Yes | No, it doesn’t depend on the browser |
| Sees the TikTok click ID (ttclid) | Yes, from the landing page URL | Only if your site captures it and passes it on |
| Can send offline or CRM events | No | Yes |
| Setup effort | Low (code snippet or partner app) | Medium to high, unless a partner handles it |
Do I Still Need the TikTok Pixel If I Use the Events API?
Yes, for most websites you should keep the Pixel. TikTok recommends having an Events API integration alongside your existing Pixel integration to maximize performance benefits, and Pixel or Events API setup is required before you can use the Web Conversions objective in TikTok Ads Manager.
The Pixel picks up the ttclid that TikTok’s click ID help page says is added to your landing page URL when someone clicks an ad. The Events API fills in what the browser misses. Together they give TikTok a fuller picture than either one gives alone.
Standard Events You Should Be Tracking
Standard events are actions with names TikTok has already defined, and you should use them wherever they fit. TikTok’s standard events page says they are used for reporting, conversion optimization, and audience building, and work across both the Pixel and the Events API.
If your Pixel is not installed yet, the TikTok Pixel setup helper gives step-by-step instructions and the code to place for your store platform.
The most useful ones for online stores:
- ViewContent: a visitor views a product or other key page
- AddToCart: a shopper adds an item, with parameters such as content type, value, and currency
- InitiateCheckout: someone starts checkout
- Purchase: TikTok recommends this event when placing an order and paying happen in the same step
- CompleteRegistration: someone signs up for an account
- Subscribe: follows, content subscriptions, or paid memberships
Lead businesses can use events such as SubmitForm, Contact, and Schedule instead. Custom events exist for edge cases, but stick to standard names when one fits.
Why Event Match Quality (EMQ) Matters
Event Match Quality (EMQ) is the score TikTok shows for how well your events can be matched to real TikTok users. TikTok’s Events Manager guide says the EMQ score is calculated as a weighted average of all your match key coverages, so the more events that carry useful match keys, the higher it goes.
A weak score means your events arrive, but TikTok can’t confidently tie many of them to a person who saw your ad. That limits what the system can learn for optimization and audiences in your TikTok Ads Manager campaigns.
Match keys you can add:
- Email address (hashed)
- Phone number (hashed)
- The ttclid from the ad click
TikTok’s Advanced Matching page says emails and phone numbers are hashed with SHA-256 before they reach TikTok’s servers, and suggests Manual Advanced Matching for regulated fields such as finance or health.
Don’t hold events back to protect your score. Send every real conversion, even with partial data, and work on adding match keys over time.
Event Deduplication: Avoiding Double-Counted Conversions
Event deduplication stops TikTok from counting one purchase twice when both the Pixel and the Events API report it. You must send the same event_id through both tools, and when TikTok sees duplicates it keeps the first event it received for measurement and reporting.
Timing matters too. TikTok’s event deduplication page says Pixel and Events API events with an identical event name and event_id are merged or deduplicated when the second one arrives after 5 minutes and within 48 hours of the first.
When you need it, and when you don’t:
- Needed: both tools send the same event, such as Purchase from the Pixel and Purchase from your server.
- Not needed: each tool sends different events, such as AddToCart from the Pixel and Purchase only from the server.
The setup itself is simple. Create one unique ID when the action happens, such as your order number, and pass that same value to both the Pixel and the server event. If the IDs don’t match, your conversions look inflated, and every optimization decision built on them is off.
How to Set Up the TikTok Events API
You set up the TikTok Events API in six steps: plan your events, pick an integration method, connect it as a second channel next to your Pixel, authenticate, turn on deduplication, and validate. The getting started guide lists three integration methods, and the right one depends on how much control your team needs.
- Third-party commerce partner integration: the fastest path if you sell through Shopify or WooCommerce. The platform handles most of the technical setup, so you connect your store and confirm your events without writing server code.
- Third-party data partner integration: if you already use a customer data platform, tag manager, or CRM that partners with TikTok, route events through that tool instead of building something new.
- Direct API integration: your developers send events from your own server. It takes more work but gives full control, which suits custom checkouts and unusual event logic.
The setup steps:
- Define events, parameters, and match keys. Decide what you will share and review it with your legal and technical teams.
- Choose the integration method from the three above.
- Connect it as a second channel to your Pixel. TikTok recommends this over a standalone Events API setup.
- Generate an access token if you use a direct integration, since Events API 2.0 calls need one.
- Turn on deduplication by sending the same event_id from the Pixel and the server.
- Validate in Events Manager with Test Events and the Diagnostics tab before you rely on the data.
How Long Does It Take for Events API Data to Show Up?
Event data isn’t real time. TikTok’s Events Manager guide notes there may be latency between when an event fires and when it appears in the dashboard, so check the Last Received column, which shows the most recent hour TikTok received each event. Give a new integration at least a full day before you judge whether it’s working.
Checking Your Results
Checking your results means opening TikTok Events Manager, where each event shows how it arrives and whether anything is wrong. TikTok’s web data connection guide names Test Events and the Diagnostics tab as the main ways to verify a setup.
Look at these four things:
- Connection Method: each event should say server and browser if you run both, not browser only.
- Last Received: recent hours mean events are flowing.
- Test Events: trigger an action on your site and watch the browser and server events appear.
- Diagnostics: fix any listed issue, such as missing parameters or deduplication problems.
After a week or two, compare reported conversions with your store’s orders and watch whether your conversion rate benchmarks shift. A rising share of server events with stable order totals suggests the setup is catching conversions the Pixel alone was missing.
If you’re also running retargeting campaigns, better event data means TikTok can build sharper custom audiences from the purchases and cart activity your server confirms.
FAQ
Do I need developer help to set up the Events API?
Not always. If you sell through Shopify or WooCommerce, the partner integration handles most of the technical work for you. A direct API integration or a custom data platform setup usually needs a developer, since it involves generating an access token, mapping events, and passing a matching event_id.
Will the Events API replace my TikTok Pixel?
No. TikTok recommends running the Events API alongside the Pixel, not instead of it. The Pixel picks up the ad click ID in the browser, and the Events API fills in the conversions the browser misses. Running both with deduplication turned on gives you the most complete data.
What happens if I don’t set up deduplication?
Your Pixel and Events API could both report the same purchase, which inflates your conversion counts. Inflated numbers make campaigns look more profitable than they are and can lead you to scale spend on wrong data. Send the same event name and event_id from both so TikTok keeps one copy.
Which events should a new store track first?
Start with ViewContent, AddToCart, InitiateCheckout, and Purchase. These cover the core buying journey and give TikTok the events it needs for reporting, optimization, and audience building in TikTok Ads Manager. Add sign-up or subscription events later if they matter to your business.
Is customer data sent through the Events API secure?
Customer emails and phone numbers are hashed before they reach TikTok for matching, and the connection runs server to server rather than through the browser. You also choose exactly which data points to share, so review the list with your legal team before launch.
Wrapping Up
Start with your Pixel if you don’t have one yet, then add the Events API once the Pixel is stable. The step that matters most is deduplication, because a mismatched event_id quietly inflates your numbers before you notice.
If you’re running your store on Shopify, the TikTok Shopify App connects your catalog and checkout events to both the Pixel and Events API without much manual setup, which makes it a reasonable starting point if you want the server-side benefits without building anything from scratch.
Once events are flowing and deduplication is confirmed in Events Manager, the payoff usually shows up in your retargeting audiences and lookalikes, since they are built from the same event data.
