# 5.Pixel 网站事件及优化事件添加

## 1.验证网域

1.商务管理平台设置->品牌安全->网域，添加自己的网站域名

（如推广页为abc.china.com,添加主域名china.com即可）

<figure><img src="/files/yL1utMm6OiFXT0IeGa0W" alt=""><figcaption><p>2.</p></figcaption></figure>

2.在文本框中输入域名，不需要输入Https：//或Http：//

<figure><img src="/files/Slplk8eegdHny3xu3ptL" alt=""><figcaption></figcaption></figure>

3.使用Meta-tag方式验证，将代码段粘帖到网站首页中，点击验证

<figure><img src="/files/fvCH4g4NK5Jy63wpVnzs" alt=""><figcaption></figcaption></figure>

4.网域验证成功，显示如下

<figure><img src="/files/9u5MLbuA0mMCWtHklQjk" alt=""><figcaption></figcaption></figure>

### 2.配置网站事件

1.事件管理工具->Aggregated Event Measurement ->配置网站事件

<figure><img src="/files/Fn1MWOa7MKKkP56X8s41" alt=""><figcaption></figcaption></figure>

2.选择刚刚已验证的网域，点击编辑事件

<figure><img src="/files/3EfKougAo2NVUR5uQBFs" alt=""><figcaption></figcaption></figure>

### 3.添加优化事件

1.选择Pixel，最多添加8个优化事件，将Purchase事件放在第一位(ValueOptimization设置为on

<figure><img src="/files/4JXELYPIEQM9jJngcrTl" alt=""><figcaption></figcaption></figure>

2.设置完成后，下图警告⚠消失

<figure><img src="/files/VU92oS6WsSY0A44kc4IQ" alt=""><figcaption></figcaption></figure>


---

# 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/facebook-ads/facebook-introduction/5.pixel-wang-zhan-shi-jian-ji-you-hua-shi-jian-tian-jia.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.
