Bing UET Revenue Tracking

HomeOnTheSwan
Excursionist
15 0 5

Hi Gang,

I have configured the Bing UET tracking within Shopify and it is tracking conversions. 

I'm having issues setting up Revenue Tracking. 

Feedback from Bing Support

<script>

(function(w,d,t,r,u){var f,n,i;w[u]=w[u]||[],f=function(){var o={ti:"17468472"};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': GetRevenueValue(), 'currency': 'AUD' });

</script>

 

<script>

   function GetRevenueValue()

      { return 6; }

</script>

 

Note:

The { return 6; } value on the variable revenue function script is only an example. That is the value that you will change depending on your website’s price check out calculator. The price that totals on the checkout page of your website has a function label that you need to put on the { return 6; } example above, so you need to replace it on your own.

You will need to ask your web developer about this information for you to put the correct function label of your check out page price total button/function, in order for your dynamic variable revenue to work and track the total price of the products that will reach the condition of your destination conversion goal setup.

For more information about this, you may check our guide via this help page: https://help.ads.microsoft.com/#apex/ads/en/56687/2

You may also view the source code of our sample page here via Chrome for reference in implementing variable revenue tracking setup: https://bingadsuet.azurewebsites.net/UETDirectOnSite_ReportVariableRevenue.html

I have reviewed the source chackout code, but cannot find the stated varible. 

Appreciate if anyones familar with the process and could shed some light on that?


Jamie

 

Reply 1 (1)
WeDoTheStuff
New Member
20 0 0

Hi @HomeOnTheSwan,

If you are having issues implementing your Bing ads pixel you can use our app.

A couple of clicks and you are good to go.

Check it out!

https://apps.shopify.com/bing-pixel