Collect usage analytics events
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 will use data to create and enhance the user experience through Coveo Machine Learning (Coveo ML).
Currently, two exclusive approaches exist with regards to collecting analytics data: the direct approach using the Coveo analytics library, 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 library
The Coveo analytics library can send events occuring in and out of Coveo-powered pages. This data can be collected before any Coveo-powered features are integrated into your solution. This way, you will be able to measure the difference before and after you implement a Coveo solution. Ensure that you log commerce events into the Coveo Usage Analytics (Coveo UA) service, and then refer to the Data Health dashboard to gather insight on your data health score.
Tag management system
The leading practice for data capture is to use a data layer with a tag management system. To send UA data from a GTM container to a Coveo organization, you will 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 used in other tag management systems, such as Tealium and Adobe Launch, by leveraging the Coveo analytics library.