> ## Documentation Index
> Fetch the complete documentation index at: https://moengage-docs-limits-messaging.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# TikTok Conversions

> Send web and offline conversion events from MoEngage to the TikTok Events API, with event deduplication, to track and optimize ad performance.

# Introduction

The TikTok Conversions integration bridges MoEngage and TikTok through a robust server-to-server (S2S) framework. By moving beyond client-side dependencies like ad blockers and cookie limitations, it secures a high-fidelity data stream. This ensures peak data reliability, precision attribution, and a measurable boost in ad performance.

MoEngage supports the following distinct connectors for TikTok:

* [**TikTok Web Conversions**](#integration-with-tiktok-web-conversions): Use this to streamline website events (such as Add to Cart or Purchase) captured by the MoEngage Web SDK.
* [**TikTok Offline Conversions**](#integration-with-tiktok-offline-conversions): Use this to sync high-value offline interactions (such as in-store purchases, CRM leads, or phone orders) directly to TikTok.

## Use Cases

Integrating TikTok Conversions with MoEngage allows you to sync event data to support the following use cases:

* **Attribute offline actions**: Connect physical storefront activity to digital ad spend and measure the total ROI of your campaigns.
* **Optimize campaign bidding**: Enhance TikTok bidding algorithms by using high-signal conversion data to lower your cost per acquisition (CPA).
* **Target with precision**: Use conversion insights to re-engage users who abandoned carts or to build lookalike audiences based on top-spending customers.
* **Maintain data resilience**: Maintain a consistent data flow even when users have strict privacy settings or ad blockers enabled.

<Info>
  **Prerequisites**

  Before you set up either connector, ensure you have the following from your TikTok For Business account:

  * **TikTok Pixel ID**: The unique ID for tracking web events.
  * **Offline Event Set ID**: The unique ID for tracking offline events.
  * **Access Token**: This is generated in the TikTok Events Manager on the **Settings** tab.
  * **Active MoEngage Account**: Contact your MoEngage CSM if Connected Apps is not enabled.

  Tiktok Ads Conversions is part of the Connected Channels add-on. Contact your dedicated MoEngage CSM (customer success manager) to enable it for your account
</Info>

# Integration with TikTok Web Conversions

### Step 1: Generate Credentials in TikTok

To generate the credentials in TikTok, perform the following steps:

1. Log in to your **TikTok Ads Manager** account.
2. On the top navigation bar, click **Tools** > **Events**.
3. Click **Connect data source**.
4. In the **Connect data source** dialog box, select **Web** and then click **Next.<img src="https://mintcdn.com/moengage-docs-limits-messaging/-UzRArr6iUFTpI_0/images/partner_46198552482196.png?fit=max&auto=format&n=-UzRArr6iUFTpI_0&q=85&s=0bba66b6cd6e2974fcb73eacb22b09c8" alt="In the Connect data source dialog box, select Web and then click Next" width="1472" height="806" data-path="images/partner_46198552482196.png" />**
5. In the **Add your website** dialog box, enter your URL or click **Skip**.<img src="https://mintcdn.com/moengage-docs-limits-messaging/-UzRArr6iUFTpI_0/images/partner_46200085184532.png?fit=max&auto=format&n=-UzRArr6iUFTpI_0&q=85&s=01b8d2a5eb1b8f674a576d124cb1af3c" alt="In the Add your website dialog box, enter your URL or click Skip" width="2048" height="1118" data-path="images/partner_46200085184532.png" />
6. In the **Choose a data connection method** dialog box, select **Manual setup** and then click **Next**.<img src="https://mintcdn.com/moengage-docs-limits-messaging/-UzRArr6iUFTpI_0/images/partner_46200101344276.png?fit=max&auto=format&n=-UzRArr6iUFTpI_0&q=85&s=99df61a12ed478bd7cdc8fc259f2e7f2" alt="In the Choose a data connection method dialog box, select Manual setup and then click Next" width="2058" height="1120" data-path="images/partner_46200101344276.png" />
7. In the **Choose a manual connection method** dialog box, click **TikTok Pixel + Events API** (Recommended) and then click **Next**.<img src="https://mintcdn.com/moengage-docs-limits-messaging/-UzRArr6iUFTpI_0/images/partner_46200085186452.png?fit=max&auto=format&n=-UzRArr6iUFTpI_0&q=85&s=814fb5a31735abc20ba74eb499ae186b" alt="In the Choose a manual connection method dialog box, click TikTok Pixel + Events API (Recommended) and then cl" width="2056" height="1122" data-path="images/partner_46200085186452.png" />
8. In the **Pixel Name** box, enter a name and then click **Create**.<img src="https://mintcdn.com/moengage-docs-limits-messaging/-UzRArr6iUFTpI_0/images/partner_46232924442644.png?fit=max&auto=format&n=-UzRArr6iUFTpI_0&q=85&s=7e8f2896c52d003e999062084f400c42" alt="In the Pixel Name box, enter a name and then click Create" width="2064" height="1102" data-path="images/partner_46232924442644.png" />
9. After the pixel is created, navigate to the **Implement Events API** tab to find your **Pixel ID**.
10. Click **Generate access token** and then copy the token.<img src="https://mintcdn.com/moengage-docs-limits-messaging/-UzRArr6iUFTpI_0/images/partner_46232924443540.png?fit=max&auto=format&n=-UzRArr6iUFTpI_0&q=85&s=32c942dca5b3c64ebeee4e90a82d92b8" alt="Click Generate access token and then copy the token" width="2052" height="1118" data-path="images/partner_46232924443540.png" />

## Step 2: Connect TikTok Web Conversions in the App Marketplace

To connect the TikTok Web Conversions in the App marketplace, perform the following steps:

1. On the left navigation menu of the MoEngage UI, click **App marketplace**.
2. On the **App Marketplace** page, search for **TikTok Conversions**.
3. Click the **TikTok Conversions** tile.
4. On the **TikTok Conversions** page, click the **Integrate** tab.
5. Click the  <img src="https://mintcdn.com/moengage-docs-limits-messaging/-UzRArr6iUFTpI_0/images/partner_46197619715348.png?fit=max&auto=format&n=-UzRArr6iUFTpI_0&q=85&s=619fc9887a39fdd57f44c1ce87248aa0" alt="Click the down arrow key, and then click TikTok Web Conversions" width="258" height="38" data-path="images/partner_46197619715348.png" />down arrow key, and then click **TikTok Web Conversions**.
6. Enter the following details:

| Field               | Required | Description                                                                 |
| ------------------- | -------- | --------------------------------------------------------------------------- |
| **Connection name** | Yes      | A unique name for this integration (for example, TikTok\_Web\_Conversions). |
| **Pixel Code**      | Yes      | This is your unique TikTok Pixel ID.                                        |
| **Access Token**    | Yes      | This is the token generated from the TikTok Events Manager.                 |

7. Click **Connect**. Your integration is now authorized.
   <img src="https://mintcdn.com/moengage-docs-limits-messaging/-UzRArr6iUFTpI_0/images/partner_46197756949652.png?fit=max&auto=format&n=-UzRArr6iUFTpI_0&q=85&s=cc281b2f05365d8c674330dd9ce1db91" alt="Click Connect. Your integration is now authorized" width="458" height="500" data-path="images/partner_46197756949652.png" />

## Step 3: Create a TikTok Web Conversions Campaign

To create a TikTok Web Conversions campaign, perform the following steps:

1. On the left navigation menu in the MoEngage dashboard, click **Engage**, and then click **Campaigns**
2. On the **All campaigns** page, click **+ Create campaign**.
3. In the **Create campaign** dialog box, under **Connected Apps**, click **TikTok Conversions** and then click the most suitable delivery type.
4. In Step 1 (**Target Users**), select your audience.
5. In Step 2 (**Content**), select your Connector (**TikTok Web Conversions**) and the connection you created.
6. Under **Conversion Goals**, enter the following fields:

| Field                | Required | Description                                                                           |
| -------------------- | -------- | ------------------------------------------------------------------------------------- |
| **Event Type**       | Yes      | This is a standard event name (for example, CompletePayment, AddToCart, ViewContent). |
| **Event ID**         | No       | This is the unique ID used for deduplication (for example, `{{Event['uid']}}`).       |
| **TikTok Click ID**  | No       | The ttclid parameter (highly recommended for matching web events to ad clicks).       |
| **Conversion Value** | No       | This is a transaction's numeric value.                                                |
| **Currency Code**    | No       | ISO 4217 currency code (for example, USD, EUR).                                       |
| **External ID**      | No       | This is the unique system ID stored within MoEngage.                                  |

<img src="https://mintcdn.com/moengage-docs-limits-messaging/-UzRArr6iUFTpI_0/images/partner_46233230947860.png?fit=max&auto=format&n=-UzRArr6iUFTpI_0&q=85&s=739df74f3f7cffbf6ffb97988c7387ed" alt="External ID No This is the unique system ID stored within MoEngage" width="618" height="1310" data-path="images/partner_46233230947860.png" />

7. Your campaign is now ready to be tested and sent. Using the *Test* functionality, you can also test your connector configuration.
   <img src="https://mintcdn.com/moengage-docs-limits-messaging/H4TOQ2gEKp7sTqGJ/images/partner_46233242735508.png?fit=max&auto=format&n=H4TOQ2gEKp7sTqGJ&q=85&s=ab1db1317f9abcc8baa336feac1fa6b0" alt="If your test user successfully receives the message, your setup is ready" width="2454" height="312" data-path="images/partner_46233242735508.png" />If your test user successfully receives the message, your setup is ready.
8. Publish the campaign.

# Integration with TikTok Offline Conversions

### Step 1: Generate Credentials in TikTok

To generate the credentials in TikTok perform the following steps:

1. Log in to your **TikTok Ads Manager** account.
2. On the top navigation bar, click **Tools** > **Events**.
3. Click **Connect data source**.
4. In the **Connect data source** dialog box, select **Offline** and then click **Next**.
   **<img src="https://mintcdn.com/moengage-docs-limits-messaging/H4TOQ2gEKp7sTqGJ/images/partner_46233389751828.png?fit=max&auto=format&n=H4TOQ2gEKp7sTqGJ&q=85&s=15a1140338ed560341bef44fb431832c" alt="In the Connect data source dialog box, select Offline and then click Next" width="1472" height="806" data-path="images/partner_46233389751828.png" />**
5. In the **Create offline event set** dialog box, enter the following details:<img src="https://mintcdn.com/moengage-docs-limits-messaging/-UzRArr6iUFTpI_0/images/partner_46196389971092.png?fit=max&auto=format&n=-UzRArr6iUFTpI_0&q=85&s=0fe23e192181c079958e2bdddc0e80ab" alt="In the Create offline event set dialog box, enter the following details" width="1462" height="798" data-path="images/partner_46196389971092.png" />
   1. In the **Offline event set name** box, type a name for the set.
   2. In the **Description** box, type a description for your offline event set.
6. Click **Create**.
   <img src="https://mintcdn.com/moengage-docs-limits-messaging/-UzRArr6iUFTpI_0/images/partner_46196389971092.png?fit=max&auto=format&n=-UzRArr6iUFTpI_0&q=85&s=0fe23e192181c079958e2bdddc0e80ab" alt="Click Create" width="1462" height="798" data-path="images/partner_46196389971092.png" />
7. After the event set is created, copy the **ID** displayed in the event set details.<img src="https://mintcdn.com/moengage-docs-limits-messaging/-UzRArr6iUFTpI_0/images/partner_46196404656404.png?fit=max&auto=format&n=-UzRArr6iUFTpI_0&q=85&s=999117b197ec3316e4cd49934fdab2e1" alt="After the event set is created, copy the ID displayed in the event set details" width="1496" height="816" data-path="images/partner_46196404656404.png" />
8. Click the **Settings** tab for the event set, scroll to the **Set Up Events API** section, and then click **Generate Access Token.**
   **<img src="https://mintcdn.com/moengage-docs-limits-messaging/-UzRArr6iUFTpI_0/images/partner_46196389972628.png?fit=max&auto=format&n=-UzRArr6iUFTpI_0&q=85&s=1bf45394bee6bb868d52ca4027ff9d40" alt="Click the Settings tab for the event set, scroll to the Set Up Events API section, and then click Generate Acc" width="1502" height="826" data-path="images/partner_46196389972628.png" />**

## Step 2: Connect TikTok Offline Conversions in the App Marketplace

To connect the TikTok Offline Conversions in the App marketplace, perform the following steps:

1. On the left navigation menu of the MoEngage UI, click **App marketplace**.
2. On the **App Marketplace** page, search for **TikTok Conversions**.
3. Click the **TikTok Conversions** tile.
4. On the **TikTok Conversions** page, click the **Integrate** tab.
5. Click the  <img src="https://mintcdn.com/moengage-docs-limits-messaging/-UzRArr6iUFTpI_0/images/partner_46197619715348.png?fit=max&auto=format&n=-UzRArr6iUFTpI_0&q=85&s=619fc9887a39fdd57f44c1ce87248aa0" alt="Click the down arrow key, and then click TikTok Offline Conversions" width="258" height="38" data-path="images/partner_46197619715348.png" />down arrow key, and then click **TikTok Offline Conversions**.
6. Enter the following details:

| Field                | Required | Description                                                                 |
| -------------------- | -------- | --------------------------------------------------------------------------- |
| Connection name      | Yes      | A unique name for this integration (for example, TikTok\_Web\_Conversions). |
| Offline Event Set ID | Yes      | This is your unique TikTok Pixel ID.                                        |
| Access Token         | Yes      | This is the token generated from the TikTok Events Manager.                 |

7. Click **Connect**. 
   <img src="https://mintcdn.com/moengage-docs-limits-messaging/H4TOQ2gEKp7sTqGJ/images/partner_46269453745300.png?fit=max&auto=format&n=H4TOQ2gEKp7sTqGJ&q=85&s=14703cd5f9819ab9e5942c32451c6ab4" alt="Click Connect" width="416" height="366" data-path="images/partner_46269453745300.png" />
   Your integration is now authorized.

### Step 2.2: Create a TikTok Offline Conversions Campaign

To create a TikTok Offline Conversions campaign, perform the following steps:

1. On the left navigation menu of the MoEngage UI, click **Engage**, and then click **Campaigns**
2. On the **All campaigns** page, click **+ Create campaign**.
3. In the **Create campaign** dialog box, under **Connected Apps**, click **TikTok Conversions** and then click the most suitable delivery type.
4. In Step 1 (**Target Users**), select your audience.
5. In Step 2 (**Content**), select your Connector (**TikTok Offline Conversions**) and the connection you created.
6. Under **Conversion Goals**, enter the following fields:

| Field            | Required | Description                                                                     |
| ---------------- | -------- | ------------------------------------------------------------------------------- |
| Event Type       | Yes      | This is the standard event name (such as CompletePayment or AddToCart).         |
| Conversion Value | No       | This is the transaction's numeric value.                                        |
| Currency Code    | No       | The ISO 4217 currency code (for example, USD, EUR).                             |
| Event ID         | No       | This is the unique ID used for deduplication (for example, `{{Event['uid']}}`). |
| Order ID         | No       | This is a specific transaction identifier for offline sales.                    |
| Shop ID          | No       | This is an identifier for the physical store or digital shop.                   |

<img src="https://mintcdn.com/moengage-docs-limits-messaging/-UzRArr6iUFTpI_0/images/partner_46197396399252.png?fit=max&auto=format&n=-UzRArr6iUFTpI_0&q=85&s=cf2d40181803045fefb20608dab43ac3" alt="Shop ID No This is an identifier for the physical store or digital shop" width="640" height="1180" data-path="images/partner_46197396399252.png" />

7. Your campaign is now ready to be tested and sent. Using the *Test* functionality, you can also test your connector configuration.
   <img src="https://mintcdn.com/moengage-docs-limits-messaging/H4TOQ2gEKp7sTqGJ/images/partner_46233242735508.png?fit=max&auto=format&n=H4TOQ2gEKp7sTqGJ&q=85&s=ab1db1317f9abcc8baa336feac1fa6b0" alt="Your campaign is now ready to be tested and sent. Using the Test functionality, you can also test your connect" width="2454" height="312" data-path="images/partner_46233242735508.png" />
   If your test user successfully receives the message, your setup is complete.
8. Publish the campaign.

<Info>
  **Information**

  **Best Practices**:

  * **Deduplication**: Always map a unique *Event ID* to prevent TikTok from counting the same conversion multiple times.
  * **Timely Uploads**: Send Web events within 48 hours and Offline events within 62 days of the transaction for optimal processing.
  * **Data Quality**: Ensure Email and Phone data are captured accurately in MoEngage to maintain high match rates on TikTok.
  * **Attribution**: Mapping the ttclid (*TikTok Click ID*) significantly improves Web event attribution accuracy.

  **Troubleshooting**:

  * **Low Match Rate**: Verify that the ttclid is being captured correctly for web events or the PII fields (Email or Phone) are available in MoEngage.
  * **Events Not Appearing**: Check that the Access Token hasn't expired and verify that the *Pixel ID* matches your TikTok Ads Manager setup.
</Info>
