--- title: Page view analytics showing as invalid slug: n58b7080 canonical_url: https://docs.coveo.com/en/n58b7080/ collection: coveo-for-sitecore-v5 source_format: adoc --- # Page view analytics showing as invalid [.version.c4sc.c4sc-issue-resolved.5-0-1227-1.May-9&-2023] [Issue resolved](https://docs.coveo.com/en/n3ne0564#release-notes) ## Symptoms 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 shows all recent `pageview` events as `invalid`. ![Invalid page view events in Data Health report | Coveo](https://docs.coveo.com/en/assets/images/c4sc-v5/coveo-ua-js-deprecation-invalid-page-views.png) ## Cause If you're still referencing version 1.0 of the `coveoua.js` file in the [**Coveo Page View Analytics**](https://docs.coveo.com/en/3013/) rendering, your page view events are no longer being recorded properly. ## Resolution The issue is resolved in the Coveo for Sitecore [May 9, 2023 release (5.0.1227.1)](https://docs.coveo.com/en/n3ne0564/). Upgrade to this release. If you must upgrade over multiple versions, Coveo has a [procedure](https://docs.coveo.com/en/2155#multi-release-upgrade) to streamline the process. ### Workaround As a quick fix, you can upgrade to version 2 of the `coveoua.js` file. To upgrade `coveoua.js` to version 2 . Open the `\Views\Coveo Hive\Analytics\Coveo Page View Analytics.cshtml` file in a text editor. . Locate the following line: ```html })(window, document, 'script', 'https://static.cloud.coveo.com/coveo.analytics.js/1.0/coveoua.js'); ``` . Replace the version number as follows: ```html })(window, document, 'script', 'https://static.cloud.coveo.com/coveo.analytics.js/2/coveoua.js'); ``` . Save your changes. . Repeat the process for any custom renderings you may have created based on the **Coveo Page View Analytics** rendering.