ladivito Posted October 23, 2009 Share Posted October 23, 2009 may i know which file is the main index to display at the front office ?i would like to add this google analytics script into the file and have to be before </body>i tried to open all index file but didnt see any file have the <body> or </body>[removed]var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");[removed](unescape("[removed][removed]"));[removed][removed]try {var pageTracker = _gat._getTracker("UA-11241719-1");pageTracker._trackPageview();} catch(err) {}[removed]anyone of you if know please help me thanks Link to comment Share on other sites More sharing options...
tigtig22 Posted October 23, 2009 Share Posted October 23, 2009 If you just want to add normal Google Analytics code then the easiest way is using the Google Analytics module (in the stats part of the modules tab).If you really do want to add something just before the </body> then you will find it in the footer.tpl (Smarty template file) in your theme directory.PT Link to comment Share on other sites More sharing options...
ladivito Posted October 23, 2009 Author Share Posted October 23, 2009 thanks ~ Link to comment Share on other sites More sharing options...
jocelynucf Posted April 17, 2010 Share Posted April 17, 2010 how do I add google analytics to prestashop. I reading people that say to use the module that is given by prestashop, but I do not see it at all. Where can I get a module for it? please let me know if anybody knows! Link to comment Share on other sites More sharing options...
Recommended Posts