In this step-by-step guide we’ll walk through how to configure the TikTok Pixel to track events via the Events API, and how to obtain the Access Token and Pixel ID to enter in the My Agile Pixel® settings.
Step 1 – Connect a new data source (Web)
First, sign in to TikTok’s Ads Manager (https://ads.tiktok.com/) and from the top menu go to Tools → Events Manager, then click the Connect data source button in the top right. In the dialog that opens, select Web and click Next.

Step 2 – Add your website
Enter your website address in the Add your website field and click Next.

Step 3 – Choose the manual connection method
On the Choose a data connection method screen, select Manual setup and click Next.

Step 4 – Select Events API
You’ll be offered three options. Even though TikTok highlights the hybrid “TikTok Pixel + Events API” option as “Recommended”, for My Agile Pixel® you must select the Events API card (server-side only). Click Next.

Step 5 – Create and name the pixel
The “Events API setup guide” wizard opens. On the first step (Create pixel) give your pixel a name and click Create.

Step 6 – Generate the Access Token and copy the Pixel ID
Continue through the wizard until the Implement Events API step. Here you’ll find your Pixel ID (note it down, you’ll need it) and the “Generate access token” section: click the Generate access token button. The token appears only once: copy and save it immediately in a text file, because for security reasons TikTok won’t store it.

Step 7 – Enter the details in My Agile Pixel®
Your pixel is now ready to track events via the Events API. All that’s left is to enter the Access Token, along with the Pixel ID, in the TikTok tab of the My Agile Pixel® settings. Remember to remove any JavaScript code you may have installed in your theme, and to deactivate any other software that might add this code.
Frequently asked questions
Recover the conversions you are losing
Turn on server-side tracking on your WordPress: recover the events the browser blocks, after consent.
Buy now →
