Skip to main content
The TikTok Conversions API (CAPI) Connector sends conversion events from Narrative directly to TikTok’s Events API, enabling TikTok to attribute conversions back to ad campaigns and optimize delivery against real outcomes.

Overview

The connector routes conversion data — purchases, leads, registrations, and more — from any dataset in Narrative to a TikTok Offline Event Set. Events are matched against TikTok user accounts using hashed emails and phone numbers.
The connector currently supports offline events (e.g., in-store purchases, phone orders). Web, app, and CRM event sources are not yet supported.
Events are batched and delivered on a schedule you configure. PII fields are SHA-256 hashed before transmission in accordance with TikTok’s requirements. The Conversions API is a second interface of the same TikTok app that delivers custom audiences — one installed connector, one set of profiles and ad accounts, two delivery paths.

Guides

Sending Conversion Events to TikTok

Connect a dataset of conversion events

Setting Up API Access for TikTok

Prerequisites, API keys, and profiles for the API guides

Sending Conversion Events to TikTok via the API

Send conversion events with an API key

Prerequisites

  • A TikTok for Business account with access to the advertiser account you want to deliver events to.
  • An Offline Event Set created in TikTok Events Manager. Its ID is the event_set_id your dataset rows route to.
  • A Narrative dataset containing the conversion data you want to send.

The tiktok_conversion_event attribute

The tiktok_conversion_event attribute is Narrative’s standardized Rosetta Stone schema for conversion events sent to TikTok. When you map your dataset columns to this attribute, Narrative handles transformation, hashing, batching, and delivery to TikTok’s API.

Top-level fields

Properties fields

Additional order and product data used by TikTok for attribution and reporting.

Supported user identifiers

In addition to the tiktok_conversion_event attribute, your dataset must include at least one of the following Rosetta Stone identifier attributes. TikTok matches offline events on hashed email and hashed phone number only — every event must carry at least one of the two, and any other identifier types in the dataset are not sent. Raw phone numbers are normalized to E.164 format and SHA-256 hashed by Narrative before transmission.

Reference

Event names

The event_name field accepts TikTok’s standard event names. Custom event names are not supported for offline events. Values are case-sensitive.

Deduplication

TikTok deduplicates events on the tuple (event_source_id, event_id, event_name). Narrative also tracks the event IDs already delivered to each event set and skips them on subsequent runs, so re-delivering a dataset does not double-count conversions. Provide a stable event_id (order number, transaction ID) to make both layers effective.

Event age limit

Events with an event_timestamp older than 90 days at delivery time are skipped and reported in the delivery’s skip count.

Batching

Events are delivered in batches of up to 1,000 per API call, grouped by event set.

API connection settings

A connection’s quick_settings pick the interface and set how the connection delivers. The fields depend on the interface.

Conversion events (conversion_events)

Each event names its event set in tiktok_conversion_event.event_set_id, so the connection has no advertiser or event set setting. The connection sends events up to 90 days old that carry an email address or a phone number.

Existing and new rows

A connection delivers every snapshot written to the dataset after the connection is created. The historical_data_enabled quick setting decides whether the connection also delivers data that was already in the dataset when you created it:
  • With historical_data_enabled set to true, the connection first delivers data already in the dataset, then keeps delivering new snapshots as they land.
  • With historical_data_enabled set to false, the connection delivers only snapshots written after it was created.
How far back the first delivery reaches depends on the connector, and each connector’s guide states it. For TikTok, historical_data_enabled delivers everything in the dataset when the connection is created. After that, each new snapshot is delivered as it lands. A conversion connection sends each event in each snapshot it delivers. Uploading the same events again in a new snapshot sends them again.

Data privacy

Narrative hashes all customer information fields (email, phone number) using SHA-256 before transmission. Raw PII is never sent to TikTok.

TikTok Connector

Deliver custom audiences to TikTok Ads Manager

Meta Conversions API Connector

Send conversion events to Meta

Data Activation Overview

Understand how connectors deliver data

Hashing PII

Prepare identifiers for delivery