Hi
I cant seem to get Ecommerce tracking working, this is the code being output on my order confirmation page:
Code:
<script type="text/javascript">
var pageTracker = _gat._getTracker("UA-**REMOVED**-4");
pageTracker._initData();
pageTracker._trackPageview();
pageTracker._addTrans("101205","","6.95",".98","4.95","County Durham","AA","United Kingdom");
pageTracker._addItem("101205","A-133-112","Lemon and Lime Bubble Bath Jelly","Bathroom","1.67","1");
pageTracker._trackTrans();
</script>
BELOW this just before my closing BODY i have this:
Code:
<!-- Google Ecommerce tracking -->
<script type="text/javascript">
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
</script>
does it matter where this code is on the page? Im guessing not! but its worth asking.
what else am I missing?
My ecommerce stats are still reporting zero for everything. Normal analytics are fine.
thanks
Kevan