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.

All other Modules

Discuss all other Modules here.

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

Instalation of Google Analitics module


Reply

2 Posts   832 Views

Avatar
breikan

17 May 2011 at 10:06pm Community Member, 9 Posts

Hi,

I want to install this Google Analitics module, but unfortunately I have not been able to install it, it gives me a lot of problems

First of all I download http://www.silverstripe.org/google-analytics-module/ putting it in the folder in "C:\AppServ\www\silverstripe path

2. I follow the instalations steps: http://svn.silverstripe.com/open/modules/googleanalytics/trunk/docs/README.md
I activate activate the logger by adding the following to the end of my mysite/_config.php:
`GoogleLogger::activate('SiteConfig');` (without ` `)
activate the analyzer by adding the following to the end of my mysite/_config.php:
`GoogleAnalyzer::activate('SiteConfig');` (without ` `)

3. run dev/build (http://www.mysite.com/dev/build?flush=all)

If I install http://www.silverstripe.org/google-analytics-module/ and putting it in the folder in " C:\AppServ\www\silverstripe " path
but I don´t rewrite the _config.php file of http://www.silverstripe.org/google-analytics-module/

which is the aim to install this module, it seems as this module doesnt do anything?

Regards and thanks with anticipation

Avatar
swaiba

20 May 2011 at 10:43am Forum Moderator, 1796 Posts

Saw this...
http://www.ssbits.com/tutorials/2010/quick-and-easy-google-analytics-with-siteconfig/
hope it helps