by Jennifer Shipman
BEA AquaLogic Interaction Analytics 2.0 collects information about the activity taking place within your portal and in Web applications, so you can respond better to your users' needs. Analytics 2.0 delivers detailed information about the use of specific content items and portlets, as well as community activity such as document downloads and discussion postings; it can even track activity by group or individual user. These usage details help ensure you develop and deliver the best content and applications for your users.
With the Analytics OpenUsage API you can leverage Analytics functionality in custom applications. This tutorial presents an introduction to OpenUsage and provides basic use cases and a simplified example. The sample application includes examples of calling the OpenUsage Java API and using the OpenUsage event tag.
You can use the OpenUsage API to raise Analytics events from custom portlets and applications and store them in the Analytics database. The only requirement for using this API is to have the OpenUsage libraries and a connection to a network that allows UDP traffic. The basic architecture of the Analytics system is shown in Figure 1.
Figure 1. Analytics architecture
The OpenUsage API sends portal usage tracking metrics from the Interaction component on the portal server, as well as custom portal and non-portal events from external applications, to the Analytics Collector Service via the Portal Message Bus (PMB). Analytics services are installed on a stand-alone Analytics Services Server. The Analytics database stores all the metrics gathered and returns them to the Analytics Services Server or external application. The Analytics Service provides Analytics data to end users through the Analytics Console or Analytics portlets on the portal server.
For details on installing and configuring Analytics components, see the Installation and Upgrade Guide for BEA AquaLogic Interaction Analytics in the product documentation.
Analytics 2.0 introduces new OpenUsage methods to define and set event types at run-time. The Analytics Administration utility in the AquaLogic Interaction portal provides a simple interface for defining custom events, parameters, and dimensions. Event data can then be queried using SQL for reporting to a non-portal application.
You would typically get started with Analytics and the OpenUsage API by following these steps:
Let's get started.