Why TikTok Advertisers Need Events API (Web CAPI)
With TikTok's mobile user base predominantly on Apple iOS devices, standard client-side TikTok Pixel scripts miss between 25% to 40% of checkout completions. The TikTok Events API connects your web server directly to TikTok's Marketing API.
Step 1: Obtain TikTok API Access Token
- Log into TikTok Ads Manager > Assets > Events.
- Select your Web Pixel and go to the Settings tab.
- Click Generate Access Token under the Events API section.
Step 2: Install TikTok Events API Server Template
Inside your Google Tag Manager Server container, open Templates > Search Gallery and add the official TikTok Events API tag.
Step 3: Map User Identifiers & Deduplication
Pass hashed email (sha256_email), phone number, and matching event_id parameters for accurate event deduplication between browser and server hits.
Step 4: Verify with Test Event Code
Enter your TikTok Test Event Code in the tag settings, complete a test purchase, and watch events register instantly in TikTok Events Manager with 100% Match Quality.