Coveo Send Analytics To Sitecore
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 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.
The Coveo Send Analytics To Sitecore rendering is an Allowed Control in the following placeholder(s):
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.
Data Source Options
|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:
A website visitor then opens your search page and performs a search query with
samsung as the keyword.
<div class="CoveoSendAnalyticsToSitecore" data-sc-analytics-endpoint-uri="/coveo/rest/v6/analytics"> </div>
Generated call to Sitecore Analytics: