[pmwiki-users] Google Analytics

Andrew Standfield andy at scruffyco.com
Sat Aug 19 17:46:32 CDT 2006

I'm not against it, but I'm not really sure how it would make things  
any easier. Copying and pasting the script lines that Google provides  
in to your template seems no more difficult than adding the variable  
to your config.php. I'd say that as long as people could either use a  
config.php setting, *or* just add Google's script directly to their  
template, it would be a fine thing to have.

My only worry is that a not-so-savvy user might enable the variable  
believing they have to in order for GA to work, then add the script  
lines to their template (as Google instructs them to  do). I realize  
that it probably would not cause a conflict that would prevent PmWiki  
from working, but I could see problems on Google's end. I'd say  
incorrect reports at best, and no reports at worst.

Keep in mind that you'll probably also get a lot of support questions  
that should be going to Google rather than here.

Andy Standfield

On Aug 19, 2006, at 7:59 AM, Patrick R. Michaud wrote:

> On Wed Aug 16 22:24:16 CDT Ben Wilson wrote:
>> FWIW, Google's analytics is now available to all.
>> www.google.com/analytics
> Although it's quite easy to use config.php to enable Google
> Analytics, I have enough sites where I'll want to use it that
> I'm thinking of adding support directly into the core to simplify
> it for administrators.  Anyone have any opinions for or against this?
> Essentially, an administrator wanting to have the site tracked by
> Google Analytics would simply place the following into config.php:
>     $GoogleUAcct = 'UA-123456-1';
> and the default configuration scripts would automatically add the
> appropriate Analytics output in the generated HTML.
> Votes in favor, against?
> Pm
> _______________________________________________
> pmwiki-users mailing list
> pmwiki-users at pmichaud.com
> http://host.pmichaud.com/mailman/listinfo/pmwiki-users

More information about the pmwiki-users mailing list