Collect Usage Analytics Events

Coveo for Commerce is a data-driven platform that offers recommendations, search, and the ability to manage relevance. Data is vital to the relevance of your experience on the platform. You’ll use data to create and enhance the user experience through Machine Learning.

Currently, two exclusive approaches exist with regards to collecting analytics: the direct approach using Coveo Usage Analytics (Coveo UA) JavaScript and the recommended tag management approach through data layers, logging Coveo events through the use of Google Tag Manager (GTM). The data layer approach reduces the amount of page loading time and decreases maintenance.

Coveo Analytics JavaScript

The script is used to send events occuring in and out of Coveo-powered pages. It can be collected before any Coveo-powered features are integrated into your solution. This way you’ll be able to measure the difference before and after you implement a Coveo solution. Refer to the Data Health Dashboard to gather insight on your data health score.

To collect and log commerce events into the Coveo UA service, refer to the Commerce Data Health Implementation Guide.

Tag Management System

The leading practice for data capture is to use a data layer with a tag management system. To send usage analytics data from a GTM container to a Coveo organization, you’ll want to push the data to a data layer first and then send the events through the tag management system.

In GTM, sending the events to Coveo can be achieved with the use of the Coveo custom tag management template. To learn more, see Log Coveo Events From Google Tag Manager.

Coveo UA can also be utilised in other tag management systems, such as Tealium and Adobe Launch, by inserting the scripts in the Coveo Analytics JavaScript section.