Skip to content
My Agile Pixel® server-side, made easy
Channels

How to Configure the TikTok Pixel for Events API.

Updated Oct 2026 2 min read

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.

TikTok – Connect data source screen with the Web option

Step 2 – Add your website

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

TikTok – Add your website field

Step 3 – Choose the manual connection method

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

TikTok – Manual setup selection

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.

TikTok – selecting the Events API card

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.

TikTok – Create pixel step

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.

TikTok – Implement Events API step with Generate access token

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

// ready to go

Recover the conversions you are losing

Turn on server-side tracking on your WordPress: recover the events the browser blocks, after consent.

Buy now →