Since upgrading from Magento CE 1.7.0.2 to 1.9.1 its not showing any visitors. Google is activated and I use the Fooman extension.
Any ideas why its not tracking visitors?
Thanks.
Magento Stack Exchange is a question and answer site for users of the Magento e-Commerce platform. It only takes a minute to sign up.
Sign up to join this communitySince upgrading from Magento CE 1.7.0.2 to 1.9.1 its not showing any visitors. Google is activated and I use the Fooman extension.
Any ideas why its not tracking visitors?
Thanks.
In version 1.9.1, Magento added an admin configuration setting for setting different Google Analytics code types. You can see this setting by going to:
Admin > Configuration > Sales > Google API > Google Analytics > Type
There should be two options here "Universal Analytics" and "Google Analytics". Older versions of Magento did not have this setting and would always default to Universal Analytics code. After upgrading to 1.9.1, I believe Magento now automatically defaults to Google Analytics code instead. This caused issues for me with Uncaught ReferenceError: ga is not defined
errors showing up in the console on pages.
I resolved it by switching the config setting, Type, back to Universal Analtyics and my errors went away and my tracking came back.
You can see the conditional for the two different GA code types and what the code looks like in:
app\design\frontend\base\default\template\googleanalytics\ga.phtml
Magento 1.9.1 uses universal analytics. You need to enable universal analytics on google if you haven't already.
Probably the fooman extension is outdated. Old version didnt support UA. Now it does. Update extension and make sure UA is enabled on google.
http://www.magentocommerce.com/magento-connect/google-analytics-by-fooman.html
+1 on Ladle3000, a good idea also is to checkout Blue Acorn's Univeral analytics extension which enables your site voor enhanced e-commerce. This will give your much more insight in the performance and potential problems in your store.
More info on Enhanced e-commerce: http://analytics.blogspot.nl/2014/05/better-data-better-decisions-enhanced.html
and the Blue Acron http://www.blueacorn.com/magento-blog/google-universal-analytics-enhanced-ecommerce-magento/