eCommerce Tracking drops out after Google Analytics Customisation
Buongiorno from 19 degrees C wetherby UK :-)
On this site http://www.philpotts.co.uk/ a subdomain contains the shop at http://shop.philpotts.co.uk/. We noticed the Google analytics account for Philpotts was recording traffic from the shopping cart in the form of referrals. We added the following GA customisation to sepaerate the sub domain:
var _gaq = _gaq || ;
var ga = document.createElement('script'); ga.type =
ga.src = ('https:' == document.location.protocol ?
'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
var s = document.getElementsByTagName('script');
But since the implemtation all eCommerce tracking has flat lined :-( So my question is please:
"Why has installing the GA code above caused eCommerce tracking to suddenly go dead?"