Google Analytics Bug Fix for Magento 1.4.0.1

In installing Google Analytics you may notice that your account remains in a waiting to receive data state. Although Google Analytics has been recognized and installed correctly a small correction must be made to the source code of the Mage code.

You will want to edit the following file:
app/code/core/Mage/GoogleAnalytics/Block/Ga.php

…And add this simple line of code to line 179 in order to resolve the issue.

var _gaq = _gaq || [];

This issue has been reported and resolved already by the Magento Team through Issue #21456

Comments

  1. I did try to fix this bug. But I still getting no data. Is there any other bug in 1.4?

    • SEM Truth says:

      Mong,
      I would suggest that you login to the analytics account and ensure that you have forced Google Analytics to recheck for the code.

Speak Your Mind

*

CAPTCHA image
*