Langsung ke konten
Bantuan
TikTok API Peristiwa Server TikTok Inc.

How do I set up the TikTok Server Events API?

Install the TikTok Server Events API app to send your orders to TikTok from Storeep's servers. Generate an access token in TikTok Events Manager, use the same Pixel ID and event as your browser pixel, and test with a test event code.

3 menit baca
6 menit

What this app does

The TikTok Server Events API app sends your orders to TikTok from Storeep's servers through the TikTok Events API, so ad blockers and browser limits do not hide them. For browser events too, install the TikTok Browser Pixel app with the same pixel. How the two work together is explained in Tracking and Analytics.

Before you start

  • Your Pixel ID from TikTok Events Manager, the same one your browser pixel uses.
  • An access token. Open your pixel in Events Manager, go to Settings, and generate an access token in the Events API section.

Set up the app

  1. Open Apps, find TikTok Server Events API, click Install, open it, and click Add new pixel.
  2. Keep Activate on. Turn on Abandoned orders only if you want recovered abandoned orders sent too.
  3. Type a Pixel name and paste the same Pixel ID as your Browser Pixel.
  4. Pick the same Markets and Conversion event type (Lead or Purchase).
  5. Paste your token into TikTok access token.
  6. Leave Activate test mode off for now, and click Add.

What TikTok receives

  • Your conversion event for each new order, with the value, currency, and products.
  • A ViewContent the first time a visitor opens a product, collection, or landing page in a visit.
  • Order events carry the buyer's email and phone in hashed form.
  • The TikTok click ID (ttclid) is sent too when the visitor came from an ad.

Avoid double counting

Storeep gives the browser and server copies of each event the same event ID, so TikTok counts it once. This only works when both apps use the same Pixel ID and the same event type.

Test your setup

  1. In TikTok Events Manager, open your pixel and go to Test events. Copy the test event code.
  2. Edit your entry in the app, turn on Activate test mode, paste the code into Test code, and click Save.
  3. Place a test order. The server event shows in the test events view.
  4. Turn test mode off when you are done.

Common problems

  • "The pixel id you have entered is incorrect": paste only the Pixel ID, not the pixel code or your advertiser ID.
  • "The test code you have entered is incorrect": the code must start with TEST. Copy it again from Events Manager.
  • Server events stopped: your access token was removed. Generate a new one and edit the entry.
  • Real sales missing: check that Activate test mode is off.

Masih butuh bantuan?

Tulis pesan kepada kami dan kami akan menjawab Anda.

Hubungi kami