> For the complete documentation index, see [llms.txt](https://help.uniagency.net/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.uniagency.net/media/facebook-ads/facebook-introduction/5.pixel-wang-zhan-shi-jian-ji-you-hua-shi-jian-tian-jia.md).

# 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>
