This site has been archived. To learn more about our current products Ibexa Content, Ibexa Experience, Ibexa Commerce head over to the Ibexa Developer Portal

eZ Community » Learn » eZ Publish » How to Use eZ Publish Extensions:...

How to Use eZ Publish Extensions: Google Analytics

Monday 29 October 2007 11:00:00 pm

  • Currently 5 out of 5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

When using eZ Publish as a platform to build websites, organizations can make use of the Google Analytics service, an advanced website statistics application that provides detailed information about visitor activities.

Brookins Consulting has created an extension called BC Website Statistics, licensed under the GPL, that we are happy to share with the eZ Publish community. This tutorial is the second in the eZ Publish “How to” series. The first article ( How to Configure an eZ Publish Site) described basic setup of an “eZ Tennis Club” website. In this tutorial we will add the BC Website Statistics extension to the eZ Tennis Club site. You will also learn how to use the Google Analytics service and gain a general understanding of the eZ Publish extension system.


  • Google Analytics (GA) - A free service offered by Google that generates detailed statistics about website visitors. One major advantage is that a webmaster can optimize his or her AdWords advertisement and marketing campaigns through the use of GA's analysis of where visitors came from, how long they stayed on the website and their geographical location.
  • Extension - A code component that “plugs in” to the eZ Publish core, providing custom application components and configurations.
  • Template operator – A mechanism that takes input, transforms it, and returns the result to the template. Template operators are programmed in PHP and are simple to create and plug in to the eZ Publish template system. eZ Publish has many built-in template operators.


In order to get the most out of this tutorial:

  • Perform the steps described in the first article in this series, How to Configure an eZ Publish Site.
  • You must have access to the eZ Publish files on the file system.
  • You must have access to the eZ Publish Administration Interface.
  • Basic knowledge about the eZ Publish template language and / or PHP is useful, but not necessary.

Keep in mind that the interfaces, buttons, screenshots and procedures may vary from those found in this article if you use a version other than eZ Publish 3.9.2 and the Website Interface 1.2. In most cases these variations will be minor and we encourage you to always work with the latest stable version available.

36 542 Users on board!

Tutorial menu


Printer Friendly version of the full article on one page with plain styles


Proudly Developed with from