CQ5.2.x, CQ5.3: Troubleshooting PageStatsTracker

Symptoms

The property trackingurl in the node libs/wcm/core/config.publish/com.day.cq.wcm.core.stats.PageViewStatistics has been updated to enable page statistics tracking. However, this trackingurl is not being used by the page statistics module.

Resolution

How the trackingurl configuration is loaded will depends on when the configuration was updated.

At runtime, any configuration changes made will trigger a reload the configuration in the following order:

  1. modifying a configuration in the Felix console (i.e. CQ WCM Page Statistics) will take immediate effect as it takes precedence at runtime.
  2. modifying a configuration in /apps/*/config will take immediate effect.
  3. modifying a configuration in /libs/*/config will take immediate effect, unless it is masked by a configuration in /apps.

At startup time, configuration changes are loaded as follows:

  1. Repository nodes with type sling:OsgiConfig under /apps/*/config.
  2. Repository nodes with type sling:OsgiConfig under /libs/*/config.
  3. Any .config files from <cq-installation-dir>/crx-quickstart/launchpad/config/ on the local file system.

Depending on whether the configuration was done at runtime or startup time, the appropriate configuration for trackingurl will be used.

In general, OSGI configurations are recommended to keep your configuration under /apps within the repository. Additional information can be found here: http://dev.day.com/docs/en/cq/current/deploying/configuring_osgi.html

Applies to

CQ 5.2.x, CQ 5.3

 Adobe

更快、更輕鬆地獲得協助

新的使用者?

Adobe MAX 2024

Adobe MAX
創意大會

10 月 14 至 16 日邁阿密海灘和線上

Adobe MAX

創意大會

10 月 14 至 16 日邁阿密海灘和線上

Adobe MAX 2024

Adobe MAX
創意大會

10 月 14 至 16 日邁阿密海灘和線上

Adobe MAX

創意大會

10 月 14 至 16 日邁阿密海灘和線上