登录

欢迎来到我们的支持中心

获取整合和上线广告活动的相关帮助。

欢迎来到我们的支持中心. 获取整合和上线广告活动的相关帮助。

Google Tag Manager - Tag

创建标签

1. 点击 New Tag(新建 Tag)

  • 要创建新 tag:请转至概述页面并选择 "New"(新建)-> "Tag":

2. 为 tag 提供以下列表中的一个名称

  • Criteo Homepage OneTag(Criteo 主页 OneTag)
  • Criteo Listing OneTag(Criteo 产品列表 OneTag)
  • Criteo Product OneTag(Criteo 产品 OneTag)
  • Criteo Basket OneTag(Criteo 购物篮 OneTag)
  • Criteo Transaction OneTag(Criteo 交易 OneTag)

3. 选择 Tag Type(Tag 类型)= Custom HTML Tag(自定义 HTML Tag)

  • 需要将 tag 类型设置为 "Custom HTML Tag"(自定义 HTML Tag):
     
  • Criteo Homepage OneTag(Criteo 主页 OneTag)
<script type="text/javascript" src="//static.criteo.net/js/ld/ld.js" async="true"></script>
<script type="text/javascript">
window.criteo_q = window.criteo_q || [];
window.criteo_q.push(
 { event: "setAccount", account: {{CriteoPartnerID}} },
 { event: "setEmail", email: {{CriteoEmail}} },
 { event: "setSiteType", type: {{CriteoSiteType}} },
 { event: "viewHome" }
);
</script> 
  • Criteo Listing OneTag(Criteo 产品列表 OneTag)
<script type="text/javascript" src="//static.criteo.net/js/ld/ld.js" async="true"></script>
<script type="text/javascript">
window.criteo_q = window.criteo_q || [];
window.criteo_q.push(
 { event: "setAccount", account: {{CriteoPartnerID}} },
 { event: "setEmail", email: {{CriteoEmail}} },
 { event: "setSiteType", type: {{CriteoSiteType}} },
  { event: "viewList", item: {{CriteoProductIDList}} }
);
</script> 
  • Criteo Product OneTag(Criteo 产品 OneTag)
<script type="text/javascript" src="//static.criteo.net/js/ld/ld.js" async="true"></script>
<script type="text/javascript">
window.criteo_q = window.criteo_q || [];
window.criteo_q.push(
 { event: "setAccount", account: {{CriteoPartnerID}} },
 { event: "setEmail", email: {{CriteoEmail}} },
 { event: "setSiteType", type: {{CriteoSiteType}} },
 { event: "viewItem", item: {{CriteoProductID}} }
);
</script> 
  • Criteo Basket OneTag(Criteo 购物篮 OneTag)
<script type="text/javascript" src="//static.criteo.net/js/ld/ld.js" async="true"></script>
<script type="text/javascript">
window.criteo_q = window.criteo_q || [];
window.criteo_q.push(
 { event: "setAccount", account: {{CriteoPartnerID}} },
 { event: "setEmail", email: {{CriteoEmail}} },
 { event: "setSiteType", type: {{CriteoSiteType}} },
 { event: "viewBasket", item: {{CriteoBasketProducts}} }
);
</script>
  • Criteo Transaction OneTag(Criteo 交易 OneTag)
<script type="text/javascript" src="//static.criteo.net/js/ld/ld.js" async="true"></script>
<script type="text/javascript">
window.criteo_q = window.criteo_q || [];
window.criteo_q.push(
 { event: "setAccount", account: {{CriteoPartnerID}} },
 { event: "setEmail", email: {{CriteoEmail}} },
 { event: "setSiteType", type: {{CriteoSiteType}} },
 { event: "trackTransaction" , id: {{TransactionID}}, item: {{CriteoTransProducts}} }
);
</script>
这篇文章有帮助吗?
0 人中有 0 人觉得有帮助
由 Zendesk 提供技术支持