+

Search Tips   |   Advanced Search

Analyze user behavior by Active Site Analytics


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

The portal provides a rich set of page metadata as part of its themes and skins. Examples are:

We can write scripts to retrieve the data. Such scripts are called aggregators. WebSphere Portal provides several sample aggregators. They are located in the PORTAL_HOME/doc/js-samples directory of the portal installation. We can customize these or write our 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. We 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:


Parent: Analyzing portal usage data