[pmwiki-users] Google Analytics

Patrick R. Michaud pmichaud at pobox.com
Sat Aug 19 18:08:02 CDT 2006

On Sat, Aug 19, 2006 at 03:46:32PM -0700, Andrew Standfield wrote:
> 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. 

The downside of adding it directly to a template is that upgrading
the template may cause it to disappear (worse, you might not
realize that you've overwritten the template).  This would be
true for any skin template, not just those that come from

> 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.

Both options would of course be available.

> 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). 
> [...]
> Keep in mind that you'll probably also get a lot of support questions  
> that should be going to Google rather than here.

These are both also good concerns, which makes me lean towards
a recipe, at least for now.  So, I'll go with that (and post it
later this evening when I have a bit more time).

Many thanks!


More information about the pmwiki-users mailing list