< img height="1" width="1" src="https://www.facebook.com/tr?id=128121387916608&ev=PageView&noscript=1" /> Bing广告埋点代码 - 店匠shoplazza

Bing广告埋点代码

15 views admin 0

您需要将Bing提供的基础uet代码中的 ti 替换到下面的示例代码中,然后将替换后的代码粘贴到店铺设置-交易设置-附件脚本内。

{% if first_time_accessed %}
<script> try {
(function(w,d,t,r,u){var f,n,i;w[u]=w[u]||[],f=function(){var o={ti:"xxxx"};o.q=w[u],w[u]=new UET(o),w[u].push("pageLoad")},n=d.createElement(t),n.src=r,n.async=1,n.onload=n.onreadystatechange=function(){var s=this.readyState;s&&s!=="loaded"&&s!=="complete"||(f(),n.onload=n.onreadystatechange=null)},i=d.getElementsByTagName(t)[0],i.parentNode.insertBefore(n,i)})(window,document,"script","//bat.bing.com/bat.js","uetq");

window.uetq = window.uetq || []; window.uetq.push('event', '', {
'revenue_value' : {{ checkout.total_price | money_without_currency }},
'currency' : '{{ checkout.currency }}'
});
 } catch(e){  }</script>
{% endif %}

是否能帮到你?