Forums / Install & configuration / How do I add Google Analytics to my web site?

"Please Note:
  • At the specific request of Ibexa we are changing this projects name to "Exponential" or "Exponential (CMS)" effective as of August, 11th 2025.
  • This project is not associated with the original eZ Publish software or its original developer, eZ Systems or Ibexa".

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