Home » Google, Magento18 March 2013

Magento: Google Analytics not working after Magento upgrade to version 1.7

Problem:- I recently upgraded a Magento shop from version 1.6 to 1.7 and suddenly the Google Analytics stopped tracking data.

Solution:- You need to add ‘template’ attribute to googleanlytics block in app/design/frontend/your_package/your_theme/layout/googleanalytics.xml

Note:- If you are using the default Magento design then
your_package = default or base
your_theme = default

Here is the edited googleanalytics.xml file:-
Note that, we have added template=”googleanalytics/ga.phtml” in the code file below.

File: app/design/frontend/your_package/your_theme/layout/googleanalytics.xml

Hope it helps. Thanks.

Magento

Get New Post by Email

Find me on

FacebookTwitterGoogle+LinkedInRSS Feed

Comments are closed.