/Documentation

Overview of TikTok Events API Gateway

Updated Oct 8, 2026

TikTok Events API Gateway (eAPIG) is a server-side tracking solution hosted by Stape. It routes TikTok conversion events to TikTok through the Events API, without a manual server-side Google Tag Manager (sGTM) container setup.

Simply connect your TikTok Pixels to the gateway, and it will route your event data to TikTok through a fast, secure server connection.

One gateway can serve multiple TikTok Pixels. Pixels from different TikTok Business accounts can be connected to the same gateway when you have admin access to those Pixels.

You can also assign a custom domain for the Pixel’s communication with the gateway. That domain should match the subdomain used to fire the TikTok Pixel.

How it works

  1. When a visitor engages with your website (such as viewing a page, adding an item to their cart, or completing a purchase) the TikTok web pixel fires automatically. It captures key browser-level signals, event parameters, and user identifiers (including ttclid, IP address, and user agent). The pixel script can be served through TikTok’s standard endpoints or routed through an optional custom subdomain.
  2. The pixel transmits the event payload directly to your gateway endpoint – utilizing either your default Stape-assigned URL or a custom first-party subdomain if configured.
  3. Upon receiving the web hit, the hosted gateway transforms the incoming data into the standardized TikTok Events API format. Event IDs and parameters are aligned automatically, enabling accurate matching and deduplication between web and server requests.
  4. The gateway forwards the structured payload to TikTok’s Events API servers through a secure server-to-server connection. TikTok links these signals to user profiles, driving precise attribution, campaign optimization, and analytics within TikTok Ads Manager.
  5. Stape actively logs all incoming and outgoing event traffic. Processed event types and performance metrics populate your TikTok Events API gateway dashboard within roughly 30 minutes of initial setup.

Server zones

TikTok Events API Gateway on Stape Global is available in:

  • North America (US)
  • Europe (Germany)

TikTok Events API Gateway on Stape Europe is available in:

  • Europe (Germany)

Select a server location closer to your website visitors.

Was this article helpful?

Comments

Can’t find what you are looking for?