谷歌站长工具

https://www.quantcast.com/protect/p-jW6V_H2AbgAZh/sites/detail/87870

google代码追踪器中添加配置

https://tagmanager.google.com/#/home
image.png
image.png

新建tag

image.png

image.png

P-code的值从https://www.quantcast.com/org/manager/58279/accounts 账号配置中获取, 例如jW6V_H2AbgAZh
image.png

image.png

代码主动推送事件

  1. window.dataLayer = window.dataLayer || [];
  2. window.dataLayer.push({
  3. 'OrderID': 'OrderID_Value1',
  4. 'Variable_Name2': 'Variable_Value2',
  5. 'Variable_Name3': 'Variable_Value3'
  6. });