Recording user interactions within Coveo-powered search interfaces and website page views is a prerequisite to achieving relevance. Though this is true with any Coveo product, Coveo for Sitecore and Sitecore combine to take this several steps further.
The Analytics Basics section of this article differentiates Coveo from Sitecore analytics, explaining how and why Coveo for Sitecore uses both.
This About Analytics section of the documentation is broken down into two subsections, the first grouping articles about Coveo Usage Analytics logging and monitoring, the second containing articles that explain how to send duplicates of Coveo usage analytics events to Sitecore analytics and where to track this information within Sitecore.
One must first understand that Coveo for Sitecore and Sitecore record analytics data separately, and that recording both Coveo and Sitecore analytics serve different purposes.
Coveo Analytics Logging and Uses
Coveo for Sitecore can log two types of usage analytics events:
Coveo for Sitecore logs analytics events in the Coveo Platform, where they serve two main purposes:
To give you visibility over user search interface visit behavior on your website. The Coveo Platform provides pre-configured reports on key usage metrics and lets you build your own reports from an array of possible visual representations. These reports let you discover trends and issues with your Coveo-powered search implementation or with your content (see Review the Search Usage Trends From the Summary Dashboard and Find Search Implementation Successes and Issues With Metrics).
To feed Coveo Machine Learning (Coveo ML) models with data. Coveo ML features and how to enable them are subjects of the forthcoming Get Started With Coveo Machine Learning in Sitecore section of your relevance journey.
Sitecore Analytics Logging and Uses
Sitecore too collects analytics and provides applications to report on its data. Though, by default, Coveo usage analytics events aren’t recorded in Sitecore analytics, Coveo for Sitecore provides a mechanism that lets you send a Sitecore-formatted duplicate of Coveo search interface events to the Sitecore xDB/DMS reporting database. This is achieved by adding two renderings to the Coveo for Sitecore search interface:
Coveo for Sitecore leverages Sitecore analytics primarily for personalization purposes, as you will see in the upcoming relevance documentation sections.
Breakdown of the Content in This Section
The content in this documentation section is divided based on the system (i.e., Coveo or Sitecore) in which analytics are recorded.
The Coveo Usage Analytics Section
The Add Custom Usage Analytics Metadata in Coveo for Sitecore article contains instructions on configuring the Coveo For Sitecore Analytics rendering to log custom metadata in search page events and on making this custom metadata appear in the Coveo Administration Console. The Log View Events article contains similar information, but with regards to the Coveo Page View Analytics rendering.
The Sitecore Analytics Section
You can record Coveo-powered search page events in Sitecore analytics. The Record Coveo Events in Sitecore Analytics explains how this is achieved.
Information in Coveo analytics events can be added or modified, and custom events can also be recorded by adding processors to the coveoAnalyticsPipeline. You can also customize the caption of events that are displayed in the Sitecore Experience Profile.
Finally, the section provides instructions on querying the Sitecore xDB or the older DMS database to validate Coveo search interface events are properly logged, and on recording events in an external database.