TikTok Pixel and Events API
In the plugin: Tracking Nexus → Platforms → TikTok
On this page
Send your accepted form leads, paid WooCommerce orders and shop activity to TikTok from the TikTok Pixel in the visitor's browser and the Events API on your own server. Both carry the same event ID, so TikTok keeps one.
What you need from TikTok first
- Your pixel code. In TikTok Events Manager, open your pixel.
- An Events API access token, for the server copy. In Events Manager, open your pixel's settings and choose Generate Access Token. Without a token, TikTok still works from the browser.
Connect TikTok
-
Open Tracking Nexus → Platforms and choose TikTok.
-
Paste your pixel code into What is your TikTok pixel code? and press Save. TikTok is connected the recommended way (browser and server).
-
Under How should events reach TikTok?, check that From the browser and your server is selected.
-
Paste your token into TikTok Events API access token.
-
Press Save. The page shows a Connected badge.
(opens the full screen)
Choose the events TikTok receives
Open the Events tab. Each event has its own switch for TikTok. New sites start with a recommended set switched on.
| What happens on your site | TikTok event |
|---|---|
| A page loads | The pixel's own page call (browser only) |
| A product page is viewed | ViewContent |
| A shop or category page is viewed | ViewCategory |
| A product is added to or removed from the cart; the cart is viewed | AddToCart, RemoveFromCart, ViewCart |
| Checkout starts | InitiateCheckout |
| A shipping or payment method is chosen | AddShippingInfo, AddPaymentInfo |
| A WooCommerce order is paid | Purchase |
| Your form plugin accepts a submission | Lead (or Contact or CompleteRegistration if the form counts as a contact or a sign-up) |
| A visitor creates an account; logs in | CompleteRegistration, Login |
| Someone searches your site | Search |
| A phone, email or messaging link is clicked | Contact |
| A file is downloaded | Download (off by default) |
| Scrolling, time on page, outbound clicks, form starts | ScrollDepth, TimeOnPage, OutboundClick, FormStart (off by default) |
Your own custom events go to TikTok under the names you give them. Forms that count as a booking or a subscription are sent as a plain Lead, because TikTok has no standard event for them.
(opens the full screen)
Browser and server, counted once
Each lead and purchase goes from the browser (the TikTok Pixel) and from your server (the Events API) under the same event ID, so TikTok keeps one. The server copy is recorded when the form plugin accepts the submission or WooCommerce confirms the payment, waits in a queue on your site, and is sent by a background job within a minute or two. If TikTok is busy it tries again with longer gaps for up to two days.
With the feature Server copies of browsing events on, shop activity and other browsing events are copied from your server too. The pixel's page call has no matching server event, so page views are not copied from the server for TikTok. See Browser, server or both.
Matching details
With each server event Tracking Nexus sends the details TikTok uses to match it to a person, when available: email and phone (each hashed with SHA-256 on your server, the phone only when it carries a country code), your own visitor ID, TikTok's click ID and browser cookie, and the visitor's IP address and browser name. Nothing is sent until the visitor allows advertising, and these details only when advertising matching is allowed too.
Test it
-
Visit your site in a browser where you have allowed advertising and send a test lead or place a test order.
-
Open Tracking Nexus → Activity. The row is listed with TikTok received, split into browser and server.
-
Open Recent deliveries on the TikTok page for the last 24 hours.
-
In TikTok Events Manager, check that the event shows for your pixel.
Common problems
Nothing arrives in TikTok. Check Activity: No consent means the visitor did not allow advertising. Nothing is reaching a platform covers the rest.
The server copy was not made. Open the row in Activity. A common reason is a missing token ("Add the access token on the platform's page, then retry"). Open the row to read the exact reason.
Questions
Do I need the access token?
Only for server copies. With From the browser only, the pixel code is enough.
Can I run more than one TikTok pixel?
TikTok takes one pixel. Extra pixels are available for Meta, Google Analytics 4 and Google Ads. See Use more than one pixel per platform.
Does TikTok count a conversion twice if the pixel and the server both send it?
No. Both copies carry one event ID, and TikTok keeps one.
Last updated 27 November 2026