> ## Documentation Index
> Fetch the complete documentation index at: https://moengage.com/docs/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/K2vZ0xDCU-JhgiIA/images/partner_46198552482196.png?fit=max&auto=format&n=K2vZ0xDCU-JhgiIA&q=85&s=9141dd56f92d8a7e52012f99b81d32be" 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/K2vZ0xDCU-JhgiIA/images/partner_46200085184532.png?fit=max&auto=format&n=K2vZ0xDCU-JhgiIA&q=85&s=f3543f1a66c7fd7695a824dc192c3ef3" 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/K2vZ0xDCU-JhgiIA/images/partner_46200101344276.png?fit=max&auto=format&n=K2vZ0xDCU-JhgiIA&q=85&s=221e2333b1872d2a5c1b8f61218daca4" 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/K2vZ0xDCU-JhgiIA/images/partner_46200085186452.png?fit=max&auto=format&n=K2vZ0xDCU-JhgiIA&q=85&s=206061cc07b49688fd8f2ad88f9c92c0" 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/K2vZ0xDCU-JhgiIA/images/partner_46232924442644.png?fit=max&auto=format&n=K2vZ0xDCU-JhgiIA&q=85&s=a22983ad1ffb1c9d4eb2f51223c32671" 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/K2vZ0xDCU-JhgiIA/images/partner_46232924443540.png?fit=max&auto=format&n=K2vZ0xDCU-JhgiIA&q=85&s=6d30f2aef5fead70c7ce40a9331f0c83" 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/K2vZ0xDCU-JhgiIA/images/partner_46197619715348.png?fit=max&auto=format&n=K2vZ0xDCU-JhgiIA&q=85&s=a088e78dd2892e85f1d33f79f9d1de5e" 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/K2vZ0xDCU-JhgiIA/images/partner_46197756949652.png?fit=max&auto=format&n=K2vZ0xDCU-JhgiIA&q=85&s=b1642cb9027141baba3c4c401797c333" 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/K2vZ0xDCU-JhgiIA/images/partner_46233230947860.png?fit=max&auto=format&n=K2vZ0xDCU-JhgiIA&q=85&s=5afcf63abd7b789e6d32232c55b0f2ac" 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/K2vZ0xDCU-JhgiIA/images/partner_46233242735508.png?fit=max&auto=format&n=K2vZ0xDCU-JhgiIA&q=85&s=6ecb37aafc4fac9e4955786373b394b1" 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/K2vZ0xDCU-JhgiIA/images/partner_46233389751828.png?fit=max&auto=format&n=K2vZ0xDCU-JhgiIA&q=85&s=46f7ad5efe3937b6f8eda9e33549b225" 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/K2vZ0xDCU-JhgiIA/images/partner_46196389971092.png?fit=max&auto=format&n=K2vZ0xDCU-JhgiIA&q=85&s=574042a924f0ea21fbf8525fe5bc1827" 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/K2vZ0xDCU-JhgiIA/images/partner_46196389971092.png?fit=max&auto=format&n=K2vZ0xDCU-JhgiIA&q=85&s=574042a924f0ea21fbf8525fe5bc1827" 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/K2vZ0xDCU-JhgiIA/images/partner_46196404656404.png?fit=max&auto=format&n=K2vZ0xDCU-JhgiIA&q=85&s=486cf98f7b0eed350235aefc1b42239c" 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/K2vZ0xDCU-JhgiIA/images/partner_46196389972628.png?fit=max&auto=format&n=K2vZ0xDCU-JhgiIA&q=85&s=97dfc194bccf167e62ca6c99337de8b3" 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/K2vZ0xDCU-JhgiIA/images/partner_46197619715348.png?fit=max&auto=format&n=K2vZ0xDCU-JhgiIA&q=85&s=a088e78dd2892e85f1d33f79f9d1de5e" 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/K2vZ0xDCU-JhgiIA/images/partner_46269453745300.png?fit=max&auto=format&n=K2vZ0xDCU-JhgiIA&q=85&s=ebf6de7424aff319138e54ffd9dc0a74" 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/K2vZ0xDCU-JhgiIA/images/partner_46197396399252.png?fit=max&auto=format&n=K2vZ0xDCU-JhgiIA&q=85&s=56edbce480ca04363a222b5f28c27c2f" 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/K2vZ0xDCU-JhgiIA/images/partner_46233242735508.png?fit=max&auto=format&n=K2vZ0xDCU-JhgiIA&q=85&s=6ecb37aafc4fac9e4955786373b394b1" 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>
