Analyzing user behavior by Active Site Analytics

You can collect data about user behavior in your portal and send that data to a service for analysis. For this purpose the portal provides Active Site Analytics (ASA).

About this task

The portal provides a rich set of page metadata as part of its themes and skins. Examples are:
  • Page title
  • Page identifier
  • Portlet title
  • Portlet identifier.
You can write scripts to retrieve the data. Such scripts are called aggregators. WebSphere® Portal Express® provides several sample aggregators. They are located in the PortalServer_root/doc/js-samples directory of your portal installation. You can customize these or write your own aggregators to collect page metadata and more. For the samples, refer to the topic Writing an aggregator for active site analytics.

Administrators add the aggregator scripts to pages as required. When they do this, the aggregator is injected into markup of the page the next time it is rendered. You can select the point of injection arbitrarily; for example, this can be just before the closing body tag of the HTML markup. Refer to the following flow graphic: When a user clicks a portlet, the aggregator obtains the portlet ID information for Site Analytics.

Related information