Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Current »

Maintainers should follow following steps to be able to monitor site traffic using Google Analytics service.


Haiku Analytics (haiku.analytics) is the Haiku add-on to provide better control over site statistics. 

Step-by-step guide

After installing haiku.analytics, the Site Administrator gets access to the configuration of this at SITE_URL/@@haiku-analytics-manage where you can paste Google Analytics tracker code, select plugins to track events or add simple visit counter. Full list of available options:

Google Analytics:

  1. Tracker code:
    1. It needs to be a new Google Analytics tracker code, see: https://developers.google.com/analytics/devguides/collection/upgrade/
    2. You should get a warning if the tracker was already added to the site using one of the other configlets e.g., SITE_URL/@@manage-site-information. If it was in use elsewhere, you will need to cut and paste it here - SITE_URL/@@haiku-analytics-manage
  2. Tracking events:
    1. You can select event tracking plugins (https://developers.google.com/analytics/devguides/collection/analyticsjs/events), for example, clicking on external URLs, file downloads or selecting mail links.

Visit counter: This is a simple tool to gather all unique page hits. It is really simple, it just counts all the hits from the moment it has been enabled. These numbers can be used to sort portal items by their popularity. The Site Administrator can change this number by going to page and editing 'Visit counter' field on 'Analytics' tab.

  1. Visit counter content types:
    1. Only selected content types are enabled, hits are counted for them.
  2. Visit counter position:
    1. A small label with the hits number can be deployed next to the page title, under the page header or placed in page footer.
  3. Visit counter visibility:
    1. Counter can be visible for all the site guests, logged in users or just Site Administrators

  • No labels