Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

General Questions /

General questions about getting started with SilverStripe that don't fit in any of the categories above.

Moderators: martimiz, Sean, Ed, biapar, Willr, Ingo, swaiba

Google Analytics in footer OK?

Go to End

4 Posts   1515 Views

Web Designer Perth

Community Member, 49 Posts

26 June 2009 at 1:25pm

I have read elsewhere that people placed in the code in

I have a footer that is common to all my page types/templates, so is it OK just to paste it there?



Forum Moderator, 5523 Posts

26 June 2009 at 3:46pm

Yep as long as that footer is included on everypage then it is fine. It is recommended that the google snippet is just above the closing </body> tag.


Community Member, 57 Posts

27 June 2009 at 10:14pm

Would still recommend . As there are some more javascript thats included by SS before </body>

There was a module for this but I guess it does not support new google analytical code ga.js

Web Designer Perth

Community Member, 49 Posts

29 June 2009 at 3:02pm

Thanks guys.