Jump to content

[ SOLVED ] Google Analytic


Recommended Posts

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

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

  • 5 months later...
×
×
  • Create New...