Is possible to track Silverstripe site with Google Analytics??
Where should I add the code?
This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.
Please use forum.silverstripe.org for any new questions
(announcement).
The forum archive will stick around, but will be read only.
You can also use our Slack channel
or StackOverflow to ask for help.
Check out our community overview for more options to contribute.
Is possible to track Silverstripe site with Google Analytics??
Where should I add the code?
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
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
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.