TikTok Events API is designed to give our advertisers a reliable connection (server-to-server) between TikTok and advertiser marketing data while also providing the flexibility for advertisers to customize the information they share with TikTok. Sharing these events with TikTok helps marketing teams measure ad performance on TikTok, optimize ad delivery, and create target audiences. Learn more about Events API.
You can leverage Google Tag Manager's server-side tagging to send website events to TikTok through a server-to-server connection. This template parses events received by your tagging server, converts them to TikTok events and sends them to the TikTok Events API.
We recommend setting up Events API x GTM Integration using TikTok Events Manager's interactive setup flow. The interactive flow guides you in configuring the integration and automatically installs this template as well as all other necessary tags, triggers, and variables to help simplify the integration. To get started, see our developer document.
If you prefer to install the template and configure your integration manaully, you can find this template in GTM Template Gallery and add it into your GTM workspace. Note that the template can only be applied to a Server container.
After installing the template, you will then configure the events and parameters you want to send to TikTok Events API.
- The template recognizes Google Analytics 4 (GA4) standard events and schema, and will convert those to TikTok events and send to Events API. Follow the developer document on Set up TikTok events with GTM data layer to complete the setup.
- You can also use the Parameter Override section in this template to manually set up TikTok events/parameters or override specific events/parameters parsed from GA4 events. See the developer document on Set up TikTok events manually.
See Verify TikTok Events API Setup section in this developer document.
If you have any feature requests or issues, please file an issue in this Github repository.
- V0.2.01
- Support parsing data layer GA4 recommended events