We just released a site based on the latest community release of Magento 184.108.40.206. All went well until the point when we enabled Google Analytics for the site.
Firebug was showing an error:
_gaq is not defined
The problem is in file:
app/code/core/Mage/GoogleAnalytics/Block/Ga.php around line 170. Adding:
var _gaq = _gaq || ; fixes the issue.
Easy fix, however, this sort of bug is something that shouldn’t have slipped through testing and quality control.
Originally published on magebase.com. Copyright © 2010 Magebase - All Rights Reserved.