How do I add Google Analytics to my web site?

Author Message

Tally Amara

Monday 18 December 2006 3:15:31 am

I'd like to add Google analytics to all the pages in my web site - can you explain how?

Claudia Kosny

Tuesday 19 December 2006 1:05:38 am

Hi Tally

Log into your Google analytics account to get the javascript code which is required to track your page (can be found under the link 'check status'). Then just add the javascript into the pagelayout.tpl of your public siteaccess directly before the closing body tag. If you use more than one template for pagelayout you have to add it in all of them. Clear the template cache to make sure that the new pagelayout is loaded. That's it, tracking will begin now.

Claudia

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.