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:
- modifying a configuration in the Felix console (i.e. CQ WCM Page Statistics) will take immediate effect as it takes precedence at runtime.
- modifying a configuration in
/apps/*/config
will take immediate effect. - 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:
- Repository nodes with type
sling:OsgiConfig
under/apps/*/config
. - Repository nodes with type
sling:OsgiConfig
under/libs/*/config
. - 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