NuDreamer Posted July 30, 2015 Share Posted July 30, 2015 Hello Everyone, I am trying to implement Bing UET Tracking on my osCommerce site. It works very similar to google adwords and analytics in that I can track revenue. My problem is, I am not sure what I need to insert into the Bing UET code so that it takes the order total and passes it on to Bing, The code I am using is below: <script>(function(w,d,t,r,u){var f,n,i;w[u]=w[u]||[],f=function(){var o={ti:"TAG_ID"};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");</script> <script> var uetq = uetq || []; uetq.push({ 'gv': ORDER_TOTAL });</script> <noscript><img src="//bat.bing.com/action/0?ti=TAG_ID&Ver=2&gv=ORDER_TOTAL" height="0" width="0" style="display:none; visibility:hidden;" /></noscript> I need to replace the text ORDER_TOTAL with the query that pulls the actual order total data. Can anyone help me with this? MUCH Appreciated! William Link to comment Share on other sites More sharing options...
NuDreamer Posted August 4, 2015 Author Share Posted August 4, 2015 I hate to bump.. but Bump?? Anybody? Link to comment Share on other sites More sharing options...
lupole Posted June 27, 2016 Share Posted June 27, 2016 NuDreamer. Were you ever able to find your answer? Link to comment Share on other sites More sharing options...
frankl Posted June 30, 2016 Share Posted June 30, 2016 If you are using version 2.3.4BS version I have a header tag module for that. osCommerce user since 2003! Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.