How to add custom domain for TikTok Events API Gateway?
Updated Apr 25, 2025
Using a custom domain in your TikTok Events API Gateway can improve measurement performance. It allows you to choose the subdomain for the Pixel's communication with the Events API Gateway. This custom domain should match the subdomain used for firing the TikTok Pixel.
Click Settings on the menu. Push the button Set up domain.

Set up domain button
Choose domain and receive DNS records to configure.

Choose a domain

DNS records to configure
Log in to your DNS provider and set records (if you use Cloudflare, the settings should look like on the screenshot).

Log in to your DNS provider and set records
Save all the changes.
noSpam
Subscribe to product updates:
Can’t find what you are looking for?