SHOPLAZZA Help Center

Search

How Do I Embed Codes for Bing Advertising?

1.Start here: SHOPLAZZA admin > Settings > Checkout > Additional scripts

 

2.You need to replace the TI in the base of the UET code provided by Bing with the following sample code and then paste the code into Additional scripts.

{% 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 %}

Powered by Zendesk