Send Coveo Analytics to Sitecore xConnect

Warning
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.

Coveo for Sitecore packages ship with files required to enable sending Coveo Analytics events to Sitecore xConnect.

Enabling the events requires some manual steps that involve both your Sitecore and xConnect instances.

To enable sending Coveo Analytics events to Sitecore xConnect

  1. In your Sitecore instance file system, navigate to <SITECORE_INSTANCE_ROOT>\App_Config\Modules\Coveo\XConnectDefinitions.

  2. In another file explorer window, open the file system of your Sitecore xConnect instance and navigate to <XCONNECT_INSTANCE_ROOT>\App_Data\Models.

  3. Copy all JSON files from the XConnectDefinitions folder into the Models folder of your xConnect instance. Repeat this step for all your xConnect instances.

  4. In your Sitecore instance, navigate back to <SITECORE_INSTANCE_ROOT>\App_Config\Modules\Coveo\Analytics.

  5. Activate the xConnect configuration file by removing the .disabled extension of the Coveo.Analytics.XConnect.config.disabled file.

You can now include the Send Analytics To Sitecore rendering in your page to send analytics to the Sitecore xConnect service.