I have enabled the eCommerce option in my Google Analytics account and added my tracking codes to the configuration section in the Magento admin menus, however the analytics are not coming through to my Analytics account.
I have checked everything I can think of, but nothing has seemed to resolve the problem yet.
I have checked the source code of all the pages from adding to cart to the success page once the transaction is completed, but there is no _addItem(), _addTrans(), or _trackTrans() parameters in the Google Analytic code. The only thing that is shown is:
<!-- BEGIN GOOGLE ANALYTICS CODEs -->
var _gaq = _gaq || ;
ga.src = (\\\’https:\\\’ == document.location.protocol ? \\\’https://ssl\\\’ : \\\’http://www\\\’) + \\\’.google-analytics.com/ga.js\\\’;
var s = document.getElementsByTagName(\\\’script\\\’); s.parentNode.insertBefore(ga, s);
<!-- END GOOGLE ANALYTICS CODE -->
I have checked my app/code/core/Mage/GoogleAnalytics/Block/Ga.php file and everything seems to be fine, but still no eCommerce tracking. I also installed Magento from the most recent release, so this isn\\\’t an update problem.
Has anyone else had this problem, or been able to solve this issue?