Counter in Web Content Display remains at 0 after activating Enable View Count Increment

Issue

  • After activating the option Enable View Count Increment in System Settings Web Content Web Content Display, the counter remains at 0.

Environment

  • Liferay DXP 7.2+

Resolution

  • In Liferay DXP 7.2 the following properties in portal-ext.properties should be enabled:
    • view.count.enabled
    • view.count.enabled[AssetEntry]
  • In Liferay DXP 7.3 and 7.4 these properties have been moved to System Settings → Infrastructure → View Count.
    • By default all entities (asset entries, etc) are enabled when View Count is enabled.

Additional Information

Was this article helpful?
0 out of 0 found this helpful