/Documentation

How to set up TikTok Events API

Updated Oct 8, 2026

Requirements for setting up TikTok Events API

Step-by-step guide to configuring TikTok Events API

1. How to set up TikTok Pixel

add pixel
select the tag type Custom HTML
paste your TikTok Pixel code
select All Pages
create the TikTok Pixel tag
select TikTok Pixel
add TikTok Pixel ID
find your TikTok Pixel ID
indicate whether the data you’re sending is already hashed according to TikTok’s requirements
To send product data, use the Properties section
De-duplication Configurations section
Add a Trigger

How to create a Unique Event ID

search for Unique Event ID
select the variable type Unique Event ID

2. How to configure TikTok Events API

Importing the tag from the Template gallery
Importing the tag from GitHub
Generate a TikTok Access Token
Create a TikTok Events API tag
select TikTok Events API
add the TikTok API Access Token
find your TikTok Pixel I
find your Test Event Code
add event parameters
open the User Data section
use the Properties section
Add a Trigger

How to test and verify TikTok Events API setup

Open GTM debugs and test that TikTok tags are triggered correctly

Was this article helpful?

Comments

Can’t find what you are looking for?