Sunday, 16 March 2014

Magento 1.7 not showing Google Analytics code in application.

Recently, faced an issue with Google Analytics code implementation in Magento version 1.7. Done with all the settings to implement Google Analytics, still it was not showing Google Analytics code in my Magento application.

Searched a little and came up with following solution.

Go to \app\design\frontend\default\mytheme\layout\googleanalytics.xml file :

Replace
<reference name="after_body_start">
        <block type="googleanalytics/ga" name="google_analytics" as="google_analytics" />
</reference>

Code Block 

With
<reference name="after_body_start">
        <block type="googleanalytics/ga" name="google_analytics" as="google_analytics" 
            template="googleanalytics/ga.phtml" />
 </reference>

Above code worked for me. Hopefully it will work for others as well.


Thanks!!!!!!!!! Enjoy Programming :)
 

No comments:

Post a Comment

Thanks for your valuable comments.

Odoo 10: Close wizard and open standard form

Hi, Today we are going to learn how to open standard form after saving data in wizard. Let's say I have created an wizard to fill bas...