Coveo Send Analytics To Sitecore
Coveo Send Analytics To Sitecore
Legacy feature
This article pertains to the Coveo Hive framework which is now in maintenance mode. Choose one of Coveo’s more modern, lightweight, and responsive libraries for any future search interface development. See the search interface Implementation guide for more details. |
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 site. Actions performed when viewing site pages in the Experience Editor or in Preview Mode aren’t recorded in usage analytics.
-
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
Coveo Hive
The Coveo Send Analytics To Sitecore rendering is an Allowed Control in the following placeholder(s): UI Header
, Recommendations Components
Coveo Hive SXA
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
The following table lists the available data source options for this rendering.
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:
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: