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? – Peter O'Callaghan Mar 13 '15 at 12:38
  • How do you mean. The custom Theme stayed the same. Just magento got upgraded – Stefan Mar 13 '15 at 12:49
  • is the google analytics code included in the frontend? – Sander Mangel Mar 13 '15 at 12:50
  • Yes the code is in the Source on the frobtend – Stefan Mar 13 '15 at 13:37

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 Mar 14 '15 at 10:31
  • Also try using tag assistant chrome extension – ladle3000 Mar 15 '15 at 0:42

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:



+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, privacy policy and cookie policy

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