All pages
Powered by GitBook
1 of 4

Loading...

Loading...

Loading...

Loading...

TikTok

TikTok is a social platform short-form video hosting service.

TikTok Offline Events

This destination is currently under final review and will be available soon.

TikTok is a social platform short-form video hosting service. This destination leverages TikTok Events API to report offline events.

Key features

The TikTok Offline Events destination provides the following key features:

  • Events structure: our covers , meaning that your data is properly bridged to the expected fields in an optimized way.

  • Prebuilt mappings: data mapping for event-based destinations happens automatically, which simplifies user inputs.

  • Automatic hashing: information is automatically hashed matching partner specifications.

Destination setup

Configuration

Settings
Description

[1] This feature allows you to set an event property holding a dynamic value by adding two open braces ({{) in front of your property name and two close braces (}}) at the end (E.g. {{myEventPropertyPathAndName}}).

Quick reference

Commanders Act Events
TikTok Event Type

[1] See for more details.

Field Mappings

See more details on phone format by following this .

Commanders Act Properties
TikTok Properties

[1] See Mapping in for more details. [2] Timestamp to be provided in milliseconds. This is converted in format. [3] Field automatically hashed with SHA256 if not passed in clear.

Smart mapping: data mapping can be readjusted using your datalayer defined fields.
  • Support for multi-item data: information included in the item array is dispatched to TikTok.

  • id

    properties.order_id

    shop_id

    properties.shop_id

    items.X.id

    properties.contents.X.content_id

    items.X.product.name

    properties.contents.X.content_name

    items.X.product.price

    properties.contents.X.price

    items.X.quantity

    properties.contents.X.quantity

    items.X.type

    properties.contents.X.content_type

    items.X.product.category_1> items.X.product.category_2> items.X.product.category_3> items.X.product.category_4> items.X.product.category_5

    properties.contents.X.content_category

    currency

    properties.currency

    value

    properties.value

    type

    properties.event_channel

    Event Set Id

    Required Your event set identifier value. More details are available following this LINK. This setting supports dynamic values [1].

    Mapping

    Required Map "TikTok Event Types" with your "Commanders Act events" by setting at least a TikTok Event Type and a Commanders Act Event Name . One entry is required.

    [All events]

    CompletePayment , Contact , Subscribe and SubmitForm [1]

    Event Set Id

    event_set_id

    TikTok Event Type

    event [1]

    id

    event_id

    context.event_timestamp

    timestamp[2]

    user.phone

    context.user.phone_numbers.0 [3]

    user.email

    Events reference
    TikTok offline events
    Configuration
    LINK
    Configuration
    ISO-8601

    context.user.emails.0 [3]

    TikTok Events API

    is a global platform designed to give brands and marketers the solutions to be creative storytellers and meaningfully engage with the TikTok community. The TikTok Events API is a server-side integration that allows you to share website and app visitor events directly with TikTok using their and version 2.0.

    The support is currently under beta testing.

    TikTok Sync Order Information

    This destination is currently under final review and will be available soon.

    is a global platform designed to give brands and marketers the solutions to be creative storytellers and meaningfully engage with the TikTok community. Using this destination, you can leverage to update the status of your orders.

    Key features

    Key features

    The TikTok Events API destination provides the following key features:

    • Events structure: our Events reference matches TikTok's one, meaning that your data is properly bridged to the expected fields in an optimized way.

    • Prebuilt mappings: data mapping for event-based destinations happens automatically, which simplifies user inputs.

    • Automatic hashing: information is automatically hashed matching partner specifications.

    • Smart mapping: data mapping can be readjusted using your datalayer defined fields.

    • Support for multi-item data: information included in the array is dispatched to TikTok.

    • Support for test event code: real-time validation in your test environments with field test_event_code.

    Destination setup

    Before you get started with this destination, make sure you can access TikTok Ads Manager.

    TikTok custom events are available for reporting and audience creation purposes. Optimization is currently NOT supported.

    Configuration

    Settings
    Description

    Access Token

    Required for . Your as provided by TikTok. More details are available by following this .

    Pixel Id

    Required for . Your pixel identifier as provided by TikTok. More details are available by following this .

    App Id

    Required for . Your app identifier as provided by TikTok. More details are available by following this .

    Test Event Code

    For only. This is used to test event tracking before deploying in production. This code can be found in the following Assets ➜ Events ➜ Manage (Web Events) ➜ Select your pixel ➜ Test Events (Tab) [1]

    Event Mapping

    Change the standard mapping between TikTok's events and yours or add new mappings: custom events are also supported. More details on how you can set up custom TikTok web events are available following this .

    TikTok "ViewContent" Event Mapping

    Select page_view, view_item or both to send TikTok ViewContent event. See for more details on event mapping.

    [1] The Test Event Code can only be set in test environments as TikTok won't save data coming from live events where this code is included. More details are available following this LINK.

    Quick reference

    TikTok standard events are detailed in this LINK.

    Commanders Act Events
    TikTok Events

    achieve_level

    AchieveLevel [2]

    add_payment_info

    AddPaymentInfo

    add_to_cart

    AddToCart

    add_to_wishlist

    AddToWishlist

    application_approval

    ApplicationApproval [1]

    begin_checkout

    InitiateCheckout [1]

    [1] For web events only. See event_source in Configuration for more details. [2] For app events only. See event_source in Configuration for more details. [3] Depending on your selection for TikTok "ViewContent" Event Mapping . See Configuration for more details. [4] With CompletePayment events you can take advantage of TikTok Value-Based Optimization for Web (VBO Web).

    Field mappings

    Most properties can be remapped using our "Smart Mapping" feature. TikTok client-side pixel saves a unique identifier in cookie _ttp, which is used to match website visitor events with TikTok ads. This destination starts by getting this identifier from partners.tiktok.ttp . If it's not present, it looks for the previously mentioned cookie _ttp and sets TikTok data.0.user.ttp with the resulting value. The Tiktok Click ID is a tracking parameter that is attached to your ad's landing page URLs. This destination checks if partners.tiktok.ttclid is set with the ttclid value. If it's not present, it looks for cookie ttclid. If none is found it tries by parsing the value from context.page.url .

    Commanders Act Properties
    TikTok Properties

    partners.tiktok.event_source

    event_source [*][1]

    Pixel Id

    App Id

    event_source_id [*]

    event_name

    data.0.event [*][2]

    context.event_timestamp

    data.0.event_time [*][3]

    id

    data.0.event_id [4]

    partners.tiktok.ttclid

    [*] Mandatory property. [1] Supported values: web , app , offline , and crm . When Autodiscovery Event Source is flagged, if the "Smart Mapping" field Experience Type is set with a property holding the value native app or the object context.app has at least a property then this is set with app . The "Smart Mapping" Event Source has priority over the autodiscovery feature. Default value: web . [2] See for more details on event mapping. [3] If not provided, the current timestamp is used. [4] Required if you are sending web events from both TikTok browser pixel and this destination. Used in deduplication together with event_source_id and data[0].event . More details are available following this . [5] If not provided, the cookie ttclid or context.page.url is used. [6] If provided in clear text, it's automatically hashed with SHA-256. [7] If not provided, the cookie _ttp is used. [8] Set when the "Smart Mapping" property Device Platform or context.device.type is set with iOS (case insensitive). [9] Supported values: AUTHORIZED , DENIED , NOT_DETERMINED , . [10] Set when the "Smart Mapping" property Device Platform or context.device.type is set with Android (case insensitive). [11] Required for app events. [12] Phone number in the . [13] See . [14] See for more details. [15] Supported values: product and product_group . Default: product . [16] Required for Video Shopping Ads (VSA). [17] Set for web events.

    TikTok for Business
    Events API for Web
    Events API for App
    Events API for APP
    The TikTok Sync Order Information destination provides the following key features:
    • Events structure: our Events reference supports TikTok order status, meaning that your data is properly bridged to the expected fields in an optimized way.

    • Prebuilt mappings: data mapping for event-based destinations happens automatically, which simplifies user inputs.

    • Smart mapping: data mapping can be readjusted using your datalayer defined fields.

    • Support for item data: information included in the array is dispatched to TikTok.

    Destination setup

    Configuration

    Settings
    Description

    Credentials

    Required Your credentials with TikTok as set directly in your destination or, in the left menu, following: Administration ➜ Connector Credentials ➜ Add connector credentials ➜ TikTok .

    TikTok Organic Tracking Id

    Required The TikTok Organic Tracking Id (ttoclid) is a tracking parameter that is appended to your page URL when a user clicks on your product page (E.g. https://www.url.com/product?ttoclid=opfed89ds90132344n2dkkl12321s321va).

    Third Merchant Id

    Required Must match the third_merchant_id you used to create the merchant within TikTok.

    Third Shop Id

    Required The identifier of the hotel as in your system.

    Third Shop Name

    Required The name of the hotel as in your system.

    Payment Value

    Required The total amount the customer is expected to pay on the panel site. This includes all fees and taxes, but excludes any discounts applied. Calculated as: payment_value = total_value - discounts. This value reflects the full price of the order, even if the customer completes payment at a later stage (E.g. during checkout).

    Quick reference

    Commanders Act Events
    TikTok Order Status

    [Any Event]

    [Any Order Status] [1]

    [1] See Event Mapping in Configuration for more details.

    Field mappings

    Most properties can be remapped using our "Smart Mapping" feature. All TikTok properties are set in the path order_info .

    Commanders Act Properties
    TikTok Properties

    id

    order_id [*]

    Third Merchant Id

    third_merchant_id [*]

    Third Shop Id

    third_shop_id [*]

    Third Shop Name

    third_shop_name [*]

    event_name

    order_status [*][1]

    Order Country

    order_country [*]

    [*] Mandatory property. [1] See Event Mapping in Configuration for more details. [2] Mandatory property for order status CANCEL_ORDER . This is either MERCHANT or CUSTOMER . [3] Set in path spu_list.0.sku_list.0 . [4] Mandatory property for order status COMPLETE_ORDER . [5] Set in path value.commission_value.0 .

    TikTok for Business
    Tiktok Sync Order Information endpoint

    Total Value

    Required Total order value before discounts, including taxes and service fees. Calculated as: total_value = total_room_fee + total_tax + total_service_fee. This value is related to the price of the order.

    Order Country

    Required The country where the hotel is located.

    Create Time

    Required The time of order created in your system (timestamp in seconds).

    Length Of Stay

    Required Length of stay.

    Amount Of Room

    Required Amount of room stayed.

    Check-In Date

    Required Check-In date.

    Check-Out Date

    Required Check-Out date.

    Event Mapping

    Required Map TikTok order status with Your event name . More details are available following this LINK. At least one entry is required.

    Create Time

    create_time [*]

    context.event_timestamp

    update_time [*]

    partners.tiktok.initiator

    initiator [2]

    currency

    value.currency [*]

    Payment Value

    value.payment_value [*]

    Total Value

    value.total_value [*]

    Length Of Stay

    extra.length_of_stay [*]

    Amount Of Room

    extra.amount_of_room [*]

    Check-In Date

    extra.check_in_date [*]

    Check-Out Date

    extra.check_out_date [*]

    items.X.id

    third_sku_id [*][3]

    items.X.product.name

    third_sku_name [*][3]

    items.X.third_spu_id

    spu_list.0.third_spu_id

    items.X.third_spu_name

    spu_list.0.third_spu_name

    partners.tiktok.actual_occupancy

    extra.actual_occupancy

    partners.tiktok.no_show

    extra.no_show

    partners.tiktok.cancel_reason

    extra.cancel_reason

    partners.tiktok.fulfillment_value

    value.fulfillment_value [4]

    partners.tiktok.fulfillment_tax

    value.fulfillment_tax [4]

    partners.tiktok.fulfillment_service_fee

    value.fulfillment_service_fee [4]

    partners.tiktok.commission_currency

    currency [4][5]

    partners.tiktok.commission_base_amount

    commission_base_amount [4][5]

    partners.tiktok.total_room_fee

    value.total_room_fee

    tax_amount

    value.total_tax

    partners.tiktok.total_service_fee

    value.total_service_fee

    partners.tiktok.discounts

    value.discounts

    context.page.url

    order_url

    partners.tiktok.promotion_id

    promotion_info.promotion_id

    partners.tiktok.promotion_description

    promotion_info.description

    partners.tiktok.promotion_saved_amount

    promotion_info.saved_amount

    item
    RESTRICTED
    and
    NOT_APPLICABLE
    . More details are available following this

    Autodiscovery Event Source

    Flag this option to set TikTok event_source based on the value provided in the "Smart Mapping" field Experience Type or in the standard property context.app . The "Smart Mapping" field Event Source has priority over this option.

    click_button

    view_content

    ViewContent

    complete_tutorial

    CompleteTutorial [2]

    create_group

    CreateGroup [2]

    create_role

    CreateRole [2]

    customize_product

    CustomizeProduct [1]

    purchase

    CompletePayment [1][4] Checkout [2]

    complete_payment

    CompletePayment [1][4] Purchase [2]

    contact

    Contact [1]

    download

    Download [1]

    find_location

    FindLocation [1]

    submit_form

    generate_lead

    Lead [1]

    generate_lead

    GenerateLead [2]

    in_app_ad_click

    InAppADClick [2]

    in_app_ad_impr

    InAppAdImpr [2]

    install_app

    InstallApp [2]

    join_group

    JoinGroup [2]

    launch_app

    LaunchAPP [2]

    loan_application

    LoanApplication [2]

    loan_approval

    LoanApproval [2]

    loan_disbursal

    LoanDisbursal [2]

    login

    Login [2]

    view_content

    page_view[3]

    view_item[3]

    ViewContent

    rate

    Rate [2]

    schedule

    Schedule [1]

    search

    Search

    sign_up

    CompleteRegistration [1]

    Registration [2]

    spend_credits

    SpendCredits [2]

    start_trial

    StartTrial

    submit_application

    SubmitApplication [1]

    subscribe

    Subscribe

    unlock_achievement

    UnlockAchievement [2]

    data.0.user.ttclid [5]

    user.id

    data.0.user.external_id [6]

    partners.tiktok.ttp

    data.0.user.ttp [7]

    context.page.url

    data.0.page.url

    context.page.referrer

    data.0.page.referrer

    context.device.advertising_id

    data.0.user.idfa [8]

    context.device.idfv

    data.0.user.idfv [8]

    context.device.att_status

    data.0.user.att_status [8][9]

    context.device.advertising_id

    data.0.user.gaid [10]

    context.app.namespace

    data.0.app.app_id [11]

    context.app.name

    data.0.app.app_name

    context.app.version

    data.0.app.app_version

    user.email

    data.0.user.email [6]

    user.phone

    data.0.user.phone [6][12]

    context.device.ip

    data.0.user.ip

    context.device.user_agent

    data.0.user.user_agent

    context.device.language

    data.0.user.locale [13]

    partners.tiktok.ldu

    data.0.limited_data_use [14]

    items.X.content_type

    data.0.properties.contents.X.content_type [15]

    items.X.id

    data.0.properties.contents.X.content_id

    data.0.properties.content_ids [16]

    items.X.product.price

    data.0.properties.contents.X.price

    items.X.quantity

    data.0.properties.contents.X.quantity

    items.X.product.name

    data.0.properties.contents.X.content_name

    items.X.product.category_1

    data.0.properties.contents.X.content_category

    items.X.product.brand

    data.0.properties.contents.X.brand

    search_term

    data.0.properties.search_string [17]

    id

    data.0.properties.order_id [17]

    partners.tiktok.shop_id

    data.0.properties.shop_id [17]

    status

    data.0.properties.status [17]

    content_type

    data.0.properties.content_type [17]

    currency

    data.0.properties.currency

    event_name

    data.0.properties.description

    value

    data.0.properties.value

    items.length

    data.0.properties.num_items

    Test Event Code

    test_event_code

    item
    Quick reference
    LINK
    LINK
    E.164 format
    BCP 47 language identifier
    Events API 2.0 - Limited Data Use
    Web events
    API Access Token
    LINK
    Web events
    LINK
    App events
    LINK
    Web events
    TikTok Ads Manager
    LINK
    Quick reference