--- title: About analytics slug: '2613' canonical_url: https://docs.coveo.com/en/2613/ collection: coveo-for-sitecore-v5 source_format: adoc --- # About analytics > **Legacy feature** > > This article pertains to achieving relevance with the Coveo Hive framework. > Coveo Hive is now in maintenance mode. > > See [Achieve relevance](https://docs.coveo.com/en/n9qd0318/) for guidance on leveraging [Coveo Platform](https://docs.coveo.com/en/186/) relevance features with the Coveo Atomic library. 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](#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](#the-coveo-usage-analytics-section) logging and monitoring, the second containing articles that explain how to send duplicates of [Coveo Analytics events](https://docs.coveo.com/en/260/) to [Sitecore analytics](#the-sitecore-analytics-section) and where to track this information within Sitecore. ## Analytics Basics 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 [events](https://docs.coveo.com/en/260/): * **search interface-related events** (logging is enabled by adding the [Coveo for Sitecore Analytics](https://docs.coveo.com/en/2186/?c4scV5HiveType=tab-hive) rendering to the Coveo search interface) * **page view events** (logging is enabled by adding the [Coveo Page View Analytics](https://docs.coveo.com/en/3013/?c4scV5HiveType=tab-hive) rendering on the target web page) Coveo for Sitecore logs analytics events in the [Coveo Platform](https://docs.coveo.com/en/186/), where they serve two main purposes: * To give you visibility over user [search interface visit](https://docs.coveo.com/en/1964/) behavior on your website. Coveo provides [pre-configured reports](https://docs.coveo.com/en/1674/) on key usage metrics and lets you [build your own reports](https://docs.coveo.com/en/1972/) 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 trends from the Summary dashboard](https://docs.coveo.com/en/1559/) and [Review implementation successes and issues with metrics](https://docs.coveo.com/en/1725/)). * To feed [Coveo Machine Learning (Coveo ML)](https://docs.coveo.com/en/188/) models with data. Coveo ML features and how to enable them are subjects of the forthcoming [Get started with Coveo Machine Learning in Sitecore](https://docs.coveo.com/en/2304/) section of your relevance journey. ### Sitecore Analytics Logging and Uses [Sitecore too collects analytics](https://doc.sitecore.com/xp/en/developers/90/platform-administration-and-architecture/collecting-experience-data.html) and provides [applications to report on its data](https://doc.sitecore.com/xp/en/developers/90/platform-administration-and-architecture/analytics-and-reporting.html). 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-powered search interface events to the Sitecore xDB reporting database. This is achieved by adding two renderings to the Coveo for Sitecore search interface: * the [Coveo for Sitecore Analytics](https://docs.coveo.com/en/2186/?c4scV5HiveType=tab-hive) rendering * the [Coveo Send Analytics To Sitecore](https://docs.coveo.com/en/2479/?c4scV5HiveType=tab-hive) rendering Coveo for Sitecore leverages Sitecore analytics primarily for personalization purposes, as you'll 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 (that is, Coveo or Sitecore) in which analytics are recorded. ### The Coveo Usage Analytics Section The [Coveo Usage Analytics](https://docs.coveo.com/en/2234/) article provides information on the types of [events](https://docs.coveo.com/en/260/) that you can log and how you can access that data in Coveo. The [Log custom metadata in Hive search interface usage analytics events](https://docs.coveo.com/en/2138/) article contains instructions on configuring the [Coveo for Sitecore Analytics](https://docs.coveo.com/en/2186/) rendering to log custom metadata in search page events. The [Log view events](https://docs.coveo.com/en/2374/) article explains how you can record page views using the [Coveo Page View Analytics](https://docs.coveo.com/en/3013/) rendering. ### The Sitecore Analytics Section You can record Coveo-powered search page events in Sitecore analytics. The [Record Coveo events in Sitecore Analytics](https://docs.coveo.com/en/2174/) explains how this is achieved. Coveo for Sitecore can log some [native Sitecore events](https://docs.coveo.com/en/2493/), while many other search-related events are [added by Coveo](https://docs.coveo.com/en/2151/). Information in Coveo analytics events can be [added or modified](https://docs.coveo.com/en/2162/), and [custom events can also be recorded](https://docs.coveo.com/en/2428/) by adding processors to the [coveoAnalyticsPipeline](https://docs.coveo.com/en/2553/). Finally, the section provides instructions on [querying the Sitecore xDB database](https://docs.coveo.com/en/2424/) to validate Coveo search interface events are properly logged, and on [recording events in an external database](https://docs.coveo.com/en/2530/).