+

Search Tips   |   Advanced Search

How to identify and resolve problems with the aggregator

If the custom aggregator is not working correctly, perform the checks listed here.

  1. Verify the HTML markup of the portal page contains the microformats the aggregator expects.

  2. Verify the tagging method used in the themes, skins, and portlets matches the expected behavior of the aggregator.

  3. 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 we have done this, save the changes and restart the portal server.

  4. To review what occurs in the server side aggregator inclusion code, specify the trace com.ibm.wps.theme.extensions.*=debug .
Remember that aggregators are regular JavaScript files. Consequently, we can also use all JavaScript debugging tools and browser developer tools for debugging an aggregator.


Parent Write an aggregator for Active Site Analytics