[pmwiki-users] Google verification code

Patrick R. Michaud pmichaud at pobox.com
Sat Apr 10 15:30:12 CDT 2010


On Sat, Apr 10, 2010 at 08:04:37AM -0700, pmwiki at 911networks.com wrote:
> Is there a simple way of inserting the Google verification code in
> the header or do I have to add it to the skin.

I use the following in my config.php:

  $uacct = 'UA-582887-2';
  $HTMLHeaderFmt['analytics'] = "
    <script src='http://www.google-analytics.com/urchin.js' 
      type='text/javascript'></script>
    <script type='text/javascript'>
      _uacct = '$uacct';
      urchinTracker();
    </script>";

Of course, you'll want to change the value of $uacct to have
your own code instead.  :-)

Pm



More information about the pmwiki-users mailing list