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 :)