Since upgrading from Magento CE 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?


  • Did you switch to the responsive theme? Commented Mar 13, 2015 at 12:38
  • How do you mean. The custom Theme stayed the same. Just magento got upgraded
    – Stefan
    Commented Mar 13, 2015 at 12:49
  • is the google analytics code included in the frontend? Commented Mar 13, 2015 at 12:50
  • Yes the code is in the Source on the frobtend
    – Stefan
    Commented Mar 13, 2015 at 13:37

3 Answers 3


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:



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.


  • Thanks for the answer, I use universal and when updating to 1.9.1 I updated all extensions. But I'll check again
    – Stefan
    Commented Mar 14, 2015 at 10:31
  • Also try using tag assistant chrome extension
    – ladle3000
    Commented Mar 15, 2015 at 0:42

+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/

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.