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.

We're retiring the forums!

The SilverStripe forums have passed their heyday. They'll stick around, but will be read only. We'd encourage you to get involved in the community via the following channels instead:

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   1520 Views

Avatar
Web Designer Perth

Community Member, 49 Posts

26 June 2009 at 1:25pm

I have read elsewhere that people placed in the code in page.ss.

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

TIA.

Avatar
Willr

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.

Avatar
BuddhaSource

Community Member, 57 Posts

27 June 2009 at 10:14pm

Would still recommend page.ss . 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

Avatar
Web Designer Perth

Community Member, 49 Posts

29 June 2009 at 3:02pm

Thanks guys.