Send Coveo Analytics to Sitecore xConnect
Send Coveo Analytics to Sitecore xConnect
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
-
In your Sitecore instance file system, navigate to
<SITECORE_INSTANCE_ROOT>\App_Config\Modules\Coveo\XConnectDefinitions
. -
In another file explorer window, open the file system of your Sitecore xConnect instance and navigate to
<SITECORE_INSTANCE_ROOT>\App_Data\Models
. -
Copy all JSON files from the
XConnectDefinitions
folder into theModels
folder of your xConnect instance. Repeat this step for all your xConnect instances. -
In your Sitecore instance, navigate back to
<SITECORE_INSTANCE_ROOT>\App_Config\Modules\Coveo\Analytics
. -
Activate the xConnect configuration file by removing the
.disabled
extension of theCoveo.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.