I’ve just noticed that since upgrading to 1.7 google has stopped indexing my sites.
I’ve checked and the analytics number IA-2342 etc is still set in configuration and enabled, but when I view the source of my site, there is not google analytics code there at all.
Does anyone know where its generated from ?
Thanks
Nige
Hi
No, I dont. Its just the bog standard magento offering.
I’ve just installed a fresh test version of magento and its fine there, so I think I’ve bodged the upgrade…
Any thoughts or ideas how to solve would be appreciated.
Nige
Does anyone have GA working with 1.7? Ever since i upgraded from 1.6.2.0 to 1.7.0.0 GA shows no traffic or anything. It is enabled on my stores backend, with the correct account number. If anyone has any suggestions i would greatly appreciate it.
thanks!
Dave
Same issue here, we just upgraded Magento to 1.7.0. GA is enabled in Google API area of System > Configuration, but the code is not appearing on the site.
Hi, I identified that the problem was down to the skin. I have just been working on this and found that removing the googleanalytics.xml file from my layout folder worked. Have no idea why though
So just renamed above file to googleanalytics.xml.bkp then refreshed cache and hey presto, analytics appeared.
In my case the solution above not work. I think because my googleanalytics.xml (inside the layout folder in my template) as the reference name like \"before_body_end\" and the base googleanalytics.xml (which is used when you erase your .xml file from your template) as the reference name \"after_body_start\".
So, what I did is add to my xml a final tag which is present in the new xml from 1.7 version. The tag is template=\"googleanalytics/ga.phtml\"
Hi All - I’m having issues with GA ecommerce data in 1.7.0.2- Could some whose ecommerce data is correctly reporting post the source code for their order confirmation page?
googleanalyitcs.xml is correctly referencing template file - if fact, even with clean 1.7.0.2 install, I still see no ecommerce data on checkout confirmation page - just the:
Same problem with me, update to 1.7.0.2 and analytics data is missing. I’ve searched everywhere but no info to be found. I can’t believe not more people have this problem.
Any help would be great, in the backend everything has been entered but on the pages the acountID doesn’t show.
This is what shows when I look in the pagesource:
<!-- BEGIN GOOGLE ANALYTICS CODE -->
<script type="text/javascript">
//<![CDATA[
(function() {
var ga = document.createElement(’script’); ga.type = ‘text/javascript’; ga.async = true;ga.src = ‘http://www.google-analytics.com/ga.js’;
var s = document.getElementsByTagName(’script’)[0]; s.parentNode.insertBefore(ga, s);
})();
var _gaq = _gaq || [];