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've moved the forum!

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.

All other Modules /

Discuss all other Modules here.

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

Google Analytics


Go to End


789 Views

Avatar
imsomagic

Community Member, 6 Posts

17 October 2014 at 1:10pm

Edited: 18/10/2014 2:43am

Hi!

I've been trying to set Google Analytics on my web site for hour and no result!

First, I did this solution, not working so I have erase all I did.
http://zool.in.ua/home-en-US/silverstripe-custom-code-head-insertion/

Second, I downloaded this module : http://addons.silverstripe.org/add-ons/silverstripe-labs/googleanalytics
I can't get the installation working.

Third, I injected the code from google in /theme/simple/templates/page.ss in head, not working.

Fourth, I create a analyticstracking.php in templates/ and templates/includes and add a php code in the body of page.ss, not working.

And now I really dont know what to do ?

Edit : I have the last SS