IntegrationsAdvertisingTikTok Events API

TikTok Events API

Datafly Signal delivers web and app events to TikTok server-to-server via the Events API. This is the current TikTok blueprint with full vertical preset coverage; the older tiktok blueprint remains available for existing deployments.

This blueprint is currently in alpha. The TikTok Events API endpoint and payload schema are stable; the blueprint version marker reflects the rollout status of the preset set, not the underlying delivery.

Prerequisites

Before configuring TikTok Events API in Signal, you need:

  • A TikTok Ads Manager account with admin access
  • A TikTok Pixel (Web Event Source) created for your domain
  • An Events API access token for that Pixel

Get your TikTok credentials

  1. Sign in to TikTok Ads Manager.
  2. Go to Assets → Events → Web Events and select your Pixel (or click Connect data source → Web to create one).
  3. The Pixel Code (e.g. C5ABCDEF1234GHIJ5678) is shown on the Pixel’s overview page.
  4. Open the Set up Events API flow for that Pixel.
  5. Click Generate access token. Copy the token immediately — it is shown only once.
  6. (Optional) Open Test event to copy a test event code (e.g. TEST1234) for validation.

See TikTok’s Events API documentation for full setup details.

Configure the integration in Signal

  1. In the Management UI, go to Integrations → Add Integration.
  2. Select TikTok Events API from the catalogue.
  3. Give the integration a name (for your reference).
  4. Choose a preset:
    • Retail — search, view, wishlist, cart, checkout, purchase, lead
    • Travel — destination search, listing view/save, booking start/complete, lead
    • B2B / SaaS — registration, lead, contact, trial, subscribe, application, content download
    • Automotive — vehicle search/view/save, brochure, finance, test drive, dealer contact, service
  5. Fill in the required fields:
FieldRequiredDescription
pixel_codeYesTikTok Pixel Code from Ads Manager.
access_tokenYesLong-lived Events API access token.
test_event_codeNoTest event code for validation. Remove before production.
  1. Choose which pipeline(s) this integration should run on.
  2. Select consent categories (defaults to marketing).
  3. Click Save.

Event mapping

Retail preset

Signal eventTikTok event
pagePageview
Products SearchedSearch
Product ViewedViewContent
Product Added to WishlistAddToWishlist
Product AddedAddToCart
Checkout StartedInitiateCheckout
Payment Info EnteredAddPaymentInfo
Order CompletedPurchase
Lead SubmittedLead

Travel preset

Signal eventTikTok event
pagePageview
Destination SearchedSearch
Listing ViewedViewContent
Listing SavedAddToWishlist
Booking StartedInitiateCheckout
Payment Info EnteredAddPaymentInfo
Booking CompletedPurchase
Lead SubmittedLead

B2B / SaaS preset

Signal eventTikTok event
pagePageview
Signed UpCompleteRegistration
Lead SubmittedLead
Contact RequestedContact
Trial StartedStartTrial
Subscription StartedSubscribe
Application SubmittedSubmitApplication
Content DownloadedDownload

Automotive preset

Signal eventTikTok event
pagePageview
vehicle_searchedSearch
vehicle_viewed / vehicle_comparedViewContent
vehicle_savedAddToWishlist
brochure_downloadedDownload
finance_quote_requested / trade_in_valuedSubmitForm
test_drive_bookedLead
dealer_contactedContact
service_appointment_bookedSubscribe

To customise, edit the integration’s Field Mappings in the Management UI.

Identity

Signal sends the following identity signals to TikTok, subject to consent and availability:

CapabilityFieldNotes
Hashed emailuser.emailSHA-256 (lowercase, trimmed)
Hashed phoneuser.phone_numberSHA-256 (E.164)
External IDuser.external_iduser_id or anonymous identifier (hashed)
Click IDuser.ttclidCaptured from the ttclid URL parameter
Browser IDuser.ttpFirst-party TikTok browser ID, self-generated if absent
Client IPuser.ipForwarded from the original request
User-Agentuser.user_agentForwarded from the original request

Hashing is performed by Signal before delivery.

This integration is gated on the marketing canonical consent category. Events without marketing consent are not delivered.

Verify it’s working

  1. Paste a test event code from TikTok Ads Manager into the integration’s test_event_code field.
  2. In the Management UI, go to Pipelines → your pipeline → Live Events.
  3. Trigger a test event on your site.
  4. The event appears in Signal’s live feed and in TikTok’s Test event tab within seconds.
  5. Clear the test_event_code once validated.

Troubleshooting

Events aren’t appearing in TikTok.

  1. Confirm the integration is enabled on the pipeline.
  2. Confirm marketing consent is granted.
  3. Check Live Events — if events aren’t reaching Signal, the issue is upstream.
  4. If reaching Signal but not TikTok, inspect the delivery response — code: 40001 / 40100 indicate auth issues (regenerate the token).

Low match rate. Pass email, phone, and user_id via datafly.identify() so TikTok has more signals to match against.

See also