The ContentViewedLogging
service is similar to the RequestLogging
service. It generates log events created when a user accesses content pulled from an Open Content Adapter (OCA). These actions usually occur when a targeter is configured to fire Content Viewed events for each piece of content returned from the targeting operation. The ContentViewedLogging
service requires the current request ID to generate a content viewed log entry. It uses the RequestLogging
service to extract this ID from the HttpServletRequest
object. The ContentViewedLogging
service is invoked from the same event listener as the RequestLogging
service, but it looks for Content Events and generates the appropriate log entries associated with the content request.