10689 Posts in 2796 Topics by 1518 members
Jump to:If this is your first visit, you will need to register before you can post. However, you can browse all messages below.
| Page: 1 | go to end | Reply | |
| Author | Topic: How to add Google Analytics tracking code?? | 1206 views |

11 June 2007 at 11:13am
Is possible to track Silverstripe site with Google Analytics??
Where should I add the code?
Last edited: 11 June 2007 at 11:13am

11 June 2007 at 2:19pm
you can add it straight into the <head>-part your main template (Page.ss).
see http://www.google.com/support/analytics/bin/topic.py?topic=7174 for details

11 June 2007 at 2:55pm
Thanks Ingo I had my doubts about what code should I use, because there's a special code for php static and dynamic sites.
Now I added the standard code into my page.ss... Is that ok??
Thanks for the help

11 June 2007 at 5:21pm
not sure what the difference between "static" and "dynamic" means for analytics - but as silverstripe produces plain-jane urls (mostly without GET-parameters) you should be OK.
| 1206 views | |||
| go to top | Reply |