Setup Guide
4 minute read
This guide will help you set up TikTok Ads as a destination in the RudderStack dashboard. It also lists the configuration settings required to correctly send data from the supported sources to TikTok Ads.
Connection compatibility
| Destination Information | |||
|---|---|---|---|
| |||
In the web device mode integration, that is, using JavaScript SDK as a source, RudderStack loads the TikTok Ads native SDK from thehttps://analytics.tiktok.comdomain. Based on your website’s content security policy, you might need to allowlist this domain to load the TikTok Ads SDK successfully.
Setup
In your RudderStack dashboard, add a source. Then, from the list of destinations, select TikTok Ads.
Connection settings
| Setting | Description |
|---|---|
| Event version to use | Select the TikTok Ads Events API version to use from the dropdown.
|
| Access Token | Enter the access token (also called long-term access token). You can generate it by following the steps mentioned in Authorization and Authentication topics of the TikTok documentation. |
| Pixel Code | Enter the TikTok Ads pixel code. See TikTok documentation for more information on obtaining the pixel code. |
| Hash Contextual User Properties (SHA-256) | If this setting is turned on, RudderStack hashes the contextual user properties like external_id, email, phone_number in the SHA-256 format. |
Event settings
Note the following before configuring the event mappings in the RudderStack dashboard:
- You must create the standard events in Events Manager along with the required fields. Otherwise, RudderStack will send the events but they will not be visible in your TikTok dashboard.
- Before sending the event properties, make sure they are configured for the respective standard events in your TikTok dashboard, otherwise they will be discarded.
| Setting | Description |
|---|---|
| Mapping to trigger the TikTok Ads standard events for the respective events | Enter the event name and select the corresponding TikTok Ads standard event to be triggered when that event is called. You can specify multiple Standard Events for one Event Name and vice versa. |
| Send custom events | Turn on this setting to send custom events to TikTok Ads. Note that:
|
Note that RudderStack supports the following TikTok standard events:
List of supported TikTok standard events
Add Payment InfoAdd to CartAdd to WishlistApplication ApprovalClick ButtonComplete PaymentComplete RegistrationContactCustomize ProductDownloadFind LocationInitiate CheckoutLeadPlace an OrderPurchaseScheduleSearchSubmit ApplicationSubmit FormSubscribeStart TrialView Content
TikTok has recently updated the following standard events:
Submit Formis renamed toLead.Complete Paymentis renamed toPurchase.Although TikTok still supports the old events (
Submit FormandComplete Payment), RudderStack recommends using the new events (LeadandPurchase) to avoid any issues.
Event filtering settings
| Setting | Description |
|---|---|
| Client-side Events Filtering | This setting lets you specify which events should be blocked or allowed to flow through to TikTok Ads when sending events via device mode. For more information on this setting, see Client-side Events Filtering. |
Web device mode settings
| Setting | Description |
|---|---|
| Use device mode to send events | Turn on this setting to send events from the JavaScript SDK to Tiktok Ads via device mode. |
| Consent management settings | Configure the consent management settings for the specified source by choosing the Consent management provider from the dropdown and entering the relevant consent category IDs. See Consent Management in RudderStack for more information on this feature. |
FAQ
How do I create a pixel in TikTok Ads?
See TikTok documentation for detailed steps on creating a pixel.
How can I verify if my data is delivered to TikTok successfully?
You can use this Google Chrome extension to troubleshoot your Pixel installation for any errors and verify if your events are delivered to TikTok.