跳到主要内容

TikTok 广告投放指南

自定义事件

本文整理「自定义事件」的操作要点,主要涵盖Benefits and features、Use Case、Code Example等内容。另附2 张对照表。内容依据平台公开资料整理,便于按步骤查阅核对。

操作文档 3,755 字 约 10 分钟 第 4 级
本文要点

快速了解这一页

  • 本文整理「自定义事件」的操作要点,主要涵盖Benefits and features、Use Case、Code Example等内容。另附2 张对照表。内容依据平台公开资料整理,便于按步骤查阅核对。
  • Benefits and features
  • Use Case
  • Code Example
  • Reserved Events
  • Requirements

本页「自定义事件」属于 TKTOC跨境导航「TikTok 广告投放指南」知识大纲中「WebEvents&Parameters」下的第 4 级条目。

本页目录 6 节
  1. Benefits and features
  2. Use Case
  3. Code Example
  4. Reserved Events
  5. Requirements
  6. Next steps

Custom events on TikTok are user-defined actions that extend beyond the platform's predefined standard events list. These events can be managed through various methods such as the Event Builder in Events Manager, directly via the Web Events API, or on the MMP side for app advertisers. Custom events are crucial for detailed reporting and audience creation, although they are not applicable for campaign optimization. For more details on setup requirements, refer to the TikTok Events Manager guide.

Benefits and features

Custom events allow advertisers to tailor their data collection to specific actions that are most relevant to their marketing goals. Here are some benefits:

  • Flexibility in Event Tracking:Customize what specific user actions to track beyond the standard events.
  • Enhanced Audience Targeting:Use custom events to create more precise audience segments.
  • Detailed Reporting:View custom events in the 'Event Type' reporting column in Events Manager and TikTok Ads Manager.

Ensure compliance with TikTok's policies when labeling custom events, avoiding any sensitive user data implications.

Use Case

An e-commerce store can use custom events to track user actions like 'signing up for a free trial' or 'shipping a product.' This data helps in understanding customer behavior and refining marketing strategies.

Code Example

Install the event_code with a custom event name. For example, ttq.track('custom_event_name'). The parameters you can include under the event are the same as those provided for standard events. Refer toInstall Pixel using codeto learn more.

// For single product ttq.track('YourCustomEvent', { content_id: '301', content_type: 'product', content_name: 'dress', quantity: 1, price: 8, value: 9.2, currency: 'USD', }); // For multiple products ttq.track('YourCustomEvent', { contents: [ { content_id: '301', content_type: 'product', content_name: 'dress', quantity: 1, price: 8, }, { content_id: '401', content_type: 'product', content_name: 'dress', quantity: 1, price: 1.2, }], value: 9.2, currency: 'USD', });

Reserved Events

Reserved Events are automatically mapped to a Standard Event, so it is recommended not to set them up as a custom event.

Reserved EventsStandard Event Mapping
AddBillingAddPaymentInfo
BrowsePageView
CheckoutPlaceAnOrder
ClickFormSubmitForm
ClickInConsultationPageClickButton
ClickInDownloadPageClickButton
ClickToDownloadDownload
ConsultContact
ConsultByPhoneContact
PurchaseCompletePayment
RegistrationCompleteRegistration
StartCheckoutInitiateCheckout
ViewConsultationPageViewContent
ViewDownloadPageViewContent
ViewFormViewContent

Requirements

Before setting up custom events, there are a few requirements to keep in mind:

  1. Only reporting of custom events is currently supported.Custom events cannot be used for optimizing campaigns or building audiences.
  2. Utilize custom labels that comply with TikTok's terms and policies, and do not utilize labels that are suggestive of sensitive information or illicit activities of users.
  3. Make sure to use a custom event name that is not the same as one of TikTok's predefined standard events. Here are the requirements for custom event naming:
RequirementDetails
Character LimitCustom event name should not exceed 50 characters.
FormatOnly alphabetic letters, Arabic numerals, underscores, and dashes are accepted.
Name ConflictAvoid using the reserved event names for your custom event. Refer to the full list of reserved event names below.
Special RuleCustom event name must start with an alphabetic letter and cannot end with a space.

Next steps

关于本页的常见问题

自定义事件属于哪个知识树?

属于 TKTOC跨境导航「TikTok 广告投放指南」知识大纲,页面顶部面包屑展示完整目录层级。

打开TikTok 广告投放指南

在哪里查看TikTok 广告投放指南的完整目录?

进入该知识树首页可看到一级目录总览,左侧折叠树包含全部层级节点,可逐级展开。

查看完整目录
内容说明

本页依据平台公开资料整理,供操作查阅;平台规则、功能口径与操作路径请以官方最新说明为准。 目录每日比对、正文按内容指纹每周轮巡,有变更才更新。