# TikTok像素安装与创建事件

<figure><img src="https://1953675837-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MQVO1o_mm3qORxxorBf%2Fuploads%2FrYQpMNUmSxr88Zsq93Fn%2F20240913-181353.jpg?alt=media&#x26;token=e6a6afd9-3add-4363-ab21-6fdc8449dcb1" alt=""><figcaption><p><a href="https://business.uniagency.net/application/apply/tiktok">点击此处跳转TikTok开户页</a></p></figcaption></figure>

## 1.需求背景 <a href="#tiktok-xiang-su-1.-xu-qiu-bei-jing" id="tiktok-xiang-su-1.-xu-qiu-bei-jing"></a>

单页需要在tiktok平台引流，从而需要安装pixcel代码以及根据页面事件进行数据追踪。

## 2.像素安装与创建事件 <a href="#tiktok-xiang-su-2.-xiang-su-an-zhuang-yu-chuang-jian-shi-jian" id="tiktok-xiang-su-2.-xiang-su-an-zhuang-yu-chuang-jian-shi-jian"></a>

{% file src="<https://1953675837-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MQVO1o_mm3qORxxorBf%2Fuploads%2FktInrfNOaL0aT8okHH6Y%2FTikTok_Pixel_%E6%93%8D%E4%BD%9C%E6%8C%87%E5%8D%97%20.pdf?alt=media&token=d09da233-adea-4d65-b740-01c3cdaa9cb1>" %}

## 3.事件文档 <a href="#tiktok-xiang-su-3.-shi-jian-wen-dang" id="tiktok-xiang-su-3.-shi-jian-wen-dang"></a>

![](https://1953675837-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MQVO1o_mm3qORxxorBf%2Fuploads%2Fzxd9mkvMI29FvFlVLa4b%2F%E4%BA%8B%E4%BB%B6%E6%96%87%E6%A1%A3.png?alt=media\&token=76b1e035-7514-4d7d-81b4-e49de7b9af26)

## 4.具体流程 <a href="#tiktok-xiang-su-4.-ju-ti-liu-cheng" id="tiktok-xiang-su-4.-ju-ti-liu-cheng"></a>

#### 4.1打开TikTok Ads后台创建pixcel，选择手动安装pixcel代码

![](https://1953675837-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MQVO1o_mm3qORxxorBf%2Fuploads%2FhjdU8Nr68CIxNujrJnSz%2F%E5%83%8F%E7%B4%A0%E5%AE%89%E8%A3%851.png?alt=media\&token=ea432dc4-c1cf-4425-bffa-9752f87357b9)

#### 4.2.创建完成之后，需要在电商单页后台把pixcel Id绑定到对应商品（默认开发已经安装pixcel代码）

![](https://1953675837-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MQVO1o_mm3qORxxorBf%2Fuploads%2Fh2StLIw4ugdx4FnICslk%2F%E5%83%8F%E7%B4%A0%E5%AE%89%E8%A3%852.png?alt=media\&token=4542ac28-bea1-40b1-834d-8ac3bd834cfc)

#### 4.3创建完成之后，就可以开始创建追踪事件，选择自定义事件

![](https://1953675837-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MQVO1o_mm3qORxxorBf%2Fuploads%2FErcapdOvRDTacI7GllPk%2F%E5%83%8F%E7%B4%A0%E5%AE%89%E8%A3%853.png?alt=media\&token=b2c017ac-1ac3-4d97-965c-9c5c255164e7)

#### 4.4按照页面跳转流程依次添加以下事件，共6个

![
](https://1953675837-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MQVO1o_mm3qORxxorBf%2Fuploads%2FG9C8hwIsPsE4P4w0tgbD%2F%E5%83%8F%E7%B4%A0%E5%AE%89%E8%A3%854.png?alt=media\&token=3b05df15-8fe1-4c17-b146-4a998d2365c2)

![](https://1953675837-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MQVO1o_mm3qORxxorBf%2Fuploads%2F5W5tkoUE95Vblr7FR6c5%2F%E5%83%8F%E7%B4%A0%E5%AE%89%E8%A3%855.png?alt=media\&token=7ff35d38-57fb-4a8f-91c4-010bc0377af7)

#### 4.5.创建完事件之后，根据上表选择不同追踪方式，并依次添加每个事件对应规则

![](https://1953675837-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MQVO1o_mm3qORxxorBf%2Fuploads%2FbN1HVa8zdKiXMMMXPV0h%2F%E5%83%8F%E7%B4%A0%E5%AE%89%E8%A3%856.png?alt=media\&token=604c087b-98fd-4f6a-9bfc-f6502f88c26e)

1）页面浏览

![](https://1953675837-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MQVO1o_mm3qORxxorBf%2Fuploads%2Fjy0or8zd0VxDwAvAUhVR%2F%E5%83%8F%E7%B4%A0%E5%AE%89%E8%A3%857.png?alt=media\&token=686f1130-b635-45b8-acdc-51df857528f1)

2）加入购物车

![](https://1953675837-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MQVO1o_mm3qORxxorBf%2Fuploads%2F7jvNfGpP0Dw6BUOJase0%2F%E5%83%8F%E7%B4%A0%E5%AE%89%E8%A3%858.png?alt=media\&token=8e7288d9-16c3-4f85-ac6b-0cd9ef96961e)

3）商品详情页浏览

![](https://1953675837-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MQVO1o_mm3qORxxorBf%2Fuploads%2FpDQuYWdbyeb8H5RbrC8S%2F%E5%83%8F%E7%B4%A0%E5%AE%89%E8%A3%859.png?alt=media\&token=663b3720-9637-4e1a-bf8d-b23c91fa007e)

4）表单填写

![](https://1953675837-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MQVO1o_mm3qORxxorBf%2Fuploads%2FFb7Dm46V6YTCrsnSftwC%2F%E5%83%8F%E7%B4%A0%E5%AE%89%E8%A3%8510.png?alt=media\&token=4d2d9654-3e17-41e2-a7f1-b8646c2435e2)

5）下单事件

![](https://1953675837-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MQVO1o_mm3qORxxorBf%2Fuploads%2F4lsdGAvpTxCmQfU36Ogf%2F%E5%83%8F%E7%B4%A0%E5%AE%89%E8%A3%8511.png?alt=media\&token=8cc159c2-0cdf-409e-954a-b1da0912e576)

6）支付完成

![](https://1953675837-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MQVO1o_mm3qORxxorBf%2Fuploads%2FIMJ0etM9u1Pq8tnsnCof%2F%E5%83%8F%E7%B4%A0%E5%AE%89%E8%A3%8512.png?alt=media\&token=5452b8cd-26c9-4696-968b-a50c9157b62e)

## 5.总结 <a href="#tiktok-xiang-su-5.-zong-jie" id="tiktok-xiang-su-5.-zong-jie"></a>

因为三个模板单页的url以及传参一致，且点击事件CSS一致，所以多个商品单页可共用一个pixcel

1）完成上述操作之后就可以在tiktok后台看到事件漏斗分析数据

![](https://1953675837-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MQVO1o_mm3qORxxorBf%2Fuploads%2Ffw8egOdgyosubda991z1%2F%E5%83%8F%E7%B4%A0%E5%AE%89%E8%A3%8513.png?alt=media\&token=382bada1-287e-4a93-994b-1ec83e92fb68)

2）pixcel像素也可在google插件（TikTok Pixel 助手）中查看

![](https://1953675837-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MQVO1o_mm3qORxxorBf%2Fuploads%2FXeSnfnuxUeizCdLygRBb%2F%E5%83%8F%E7%B4%A0%E5%AE%89%E8%A3%8514.png?alt=media\&token=9a13a135-154d-4cc6-af86-3b262a9fc811)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://help.uniagency.net/media/tiktok/tiktok-guang-gao-tou-fang-ji-chu-zhi-yin-0725-geng-xin/tiktok-xiang-su-an-zhuang-yu-chuang-jian-shi-jian.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
