How to identify and resolve problems with the aggregator
If your custom aggregator is not working correctly, perform the checks listed here.
Remember that aggregators are regular JavaScript files. Consequently, we can also use all JavaScript debugging tools and browser developer tools for debugging an aggregator.
- Verify that the HTML markup of the portal page contains the microformats that the aggregator expects.
- Verify the tagging method used in the themes, skins, and portlets matches the expected behavior of the aggregator.
- If we use the SiteAnalyticsMediator API and the aggregator is not notified about DOM changes as expected, we can enable client side tracing using the resource environment provider WP CommonComponentConfigService. Set the following two configuration properties:
cc.isDebug=true cc.traceConfig=["com.ibm.wps.analytics.*"]After you have done this, save the changes and restart the portal server.
- To review what occurs in the server side aggregator inclusion code, specify the trace com.ibm.wps.theme.extensions.*=debug .
Parent: Write an aggregator for Active Site Analytics
Related reference:
The Active Site Analytics Mediator SPI
Guidelines for implementing an aggregator
Aggregator patterns and samples