Coveo Send Analytics To Sitecore

Coveo for Sitecore Specific Rendering This rendering duplicates Coveo-powered search interface analytics requests sent to the Coveo Usage Analytics service and sends the duplicate to the Sitecore Experience Profile endpoint.

Usage Notes

  • Usage analytics are only sent to the Sitecore Experience Profile endpoint when viewing the published website. Actions performed when viewing site pages in the Experience Editor or in Preview Mode aren’t recorded in usage analytics.

  • In Sitecore 9 and 10, a few manual steps are required to enable sending Coveo analytics events to Sitecore xConnect.

  • You also need to add the Coveo For Sitecore Analytics rendering to your search interface to send analytics to Sitecore.

Insertion Location

The Coveo Send Analytics To Sitecore rendering is an Allowed Control in the following placeholder(s): UI Header, Recommendations Components

Example insertion sequence for the Coveo Send Analytics To Sitecore rendering.

Coveo for Sitecore SXA rendering insertion locations aren’t limited by placeholder Allowed Controls. The Coveo Send Analytics To Sitecore rendering may be inserted anywhere within the Coveo Search Interface, whether in a Coveo for Sitecore or Sitecore placeholder.

Example insertion sequence for the Coveo Send Analytics To Sitecore rendering.

Data Source Options

Option name Description
Sitecore Analytics endpoint The endpoint used to send the Coveo-powered search interface analytics to Sitecore Analytics

Sample Generated HTML and Corresponding Visual Output

You add a Coveo Send Analytics to Sitecore rendering and a Coveo for Sitecore Analytics rendering to a Coveo-powered search page. You configure their data sources as follows:

Coveo Send Analytics To Sitecore configuration
Coveo for Sitecore Analytics configuration

A website visitor then opens your search page and performs a search query with samsung as the keyword.

Generated HTML:

<div class="CoveoSendAnalyticsToSitecore" 
data-sc-analytics-endpoint-uri="/coveo/rest/v6/analytics">
</div>

Generated call to Sitecore Analytics:

Call to Sitecore

What's Next for Me?