Skip to content

TikTok Events API & Pixel Recipe

Connect TikTok tracking to your store via Cloudflare Zaraz in 1 click.

TikTok Events API & Pixel Built-in Recipe

Section titled “TikTok Events API & Pixel ”

The TikTok Recipe sends your store’s events to the TikTok Events API from Cloudflare’s servers through Cloudflare Zaraz. Your pages don’t load TikTok’s pixel script.


  1. TikTok Pixel ID (Required): Found in TikTok Ads Manager under Assets > Events > Web Events (starts with C, e.g. C1234567890ABCDEFGH).
  2. TikTok Events API Access Token (Required): Zaraz sends TikTok events from Cloudflare’s servers through the Events API, so nothing reaches TikTok without it. Generate it under your pixel’s Settings tab in TikTok Events Manager.

  1. Go to WP Zbridge > Zaraz Recipes in WordPress.
  2. Toggle on TikTok Events and enter your Pixel ID.
  3. Click Sync to Zaraz.

Customer ActionTikTok Event
Browsing pagesViewContent
Viewing a productViewContent
Adding to cartAddToCart
Starting checkoutInitiateCheckout
Choosing a payment methodAddPaymentInfo
Completing an orderCompletePayment
Searching the siteSearch
Submitting a formSubmitForm
Clicking an email or phone linkContact
Creating an accountCompleteRegistration

Zaraz’s TikTok component sends page views as ViewContent. Refunds are not sent to TikTok.

With Send customer details with server-sent purchases (Pro, under WP Zbridge > E-Commerce), purchases sent by the server fallback also carry the buyer’s email and phone, which Zaraz’s TikTok tool hashes before sending. It’s off by default.