--- title: Coveo Page View Analytics slug: '3013' canonical_url: https://docs.coveo.com/en/3013/ collection: coveo-for-sitecore-v5 source_format: adoc --- # Coveo Page View Analytics > **Legacy feature** > > The Coveo Hive Framework is now in maintenance mode and is no longer recommended for new implementations. > > To build new search experiences, use one of Coveo's more modern, lightweight, and responsive libraries. > To get started, see the [Build search](https://docs.coveo.com/en/2473/) article.  The **Coveo Page View Analytics** rendering leverages the [coveo.analytics.js](https://github.com/coveo/coveo.analytics.js) module to record view events in the [Coveo Usage Analytics service](https://docs.coveo.com/en/l3bf0598/). The rendering adds a JavaScript code snippet to the current page. The [Coveo Machine Learning (Coveo ML)](https://docs.coveo.com/en/188/) [content recommendations](https://docs.coveo.com/en/1016/) feature relies on view usage analytics event data and is enhanced with [user context](https://docs.coveo.com/en/2360/). > **Important** > > Coveo is deprecating version 1.0 of the `coveoua.js` file in the [coveo.analytics.js](https://github.com/coveo/coveo.analytics.js) module. > Version 1.0 of the `coveoua.js` file will no longer record page view analytics. > You must upgrade to `coveoua.js` version 2. > > From the [May 9, 2023 release](https://docs.coveo.com/en/n3ne0564/) of Coveo for Sitecore onward, the **Coveo Page View Analytics** rendering uses `coveoua.js` version 2. > Upgrade to the May 9, 2023 release or later to benefit from this change. ## Usage notes * Whereas the [Coveo for Sitecore Analytics](https://docs.coveo.com/en/2186/) rendering tracks events that take place in a search interface (for example, selecting a facet, performing a keyword search, or clicking a search result), the **Coveo Page View Analytics** rendering is meant to track view events in website content pages. * For further details regarding the combined use of the **{doctitle}** and [Coveo User Context](https://docs.coveo.com/en/3069/) renderings to add user context in your Sitecore article items, see [Leverage User Context for Coveo Machine Learning](https://docs.coveo.com/en/2360/). * Analytics events are only sent to the Coveo Analytics service when viewing the published site. Actions performed when viewing site pages in the **Experience Editor** or in **Preview Mode** aren't recorded in the Coveo Analytics service. * In the [Coveo Administration Console](https://docs.coveo.com/en/183/), view events are displayed under the **Event Browser** tab on the [**Data Health**](https://platform.cloud.coveo.com/admin/#/orgid/usage/health/) ([platform-ca](https://platform-ca.cloud.coveo.com/admin/#/orgid/usage/health/) | [platform-eu](https://platform-eu.cloud.coveo.com/admin/#/orgid/usage/health/) | [platform-au](https://platform-au.cloud.coveo.com/admin/#/orgid/usage/health/)) page.  ## Insertion location
The Coveo Page View Analytics rendering is an Allowed Control in the following placeholder(s): UI Resources
PageViewPlaceholder placeholder was added directly to the article MVC layout .cshtml file. The Allowed Controls of this placeholder were set to enable insertion of the Coveo Page View Analytics rendering.
Coveo for Sitecore SXA rendering insertion locations aren't limited by placeholder Allowed Controls. The Coveo Page View Analytics rendering may therefore be inserted throughout the partial design.