We are not seeing analytics passed through to Coveo Cloud when we run site in "live" mode. Where the database is set to "master" rather than "web".


Open the Coveo.SearchProvider.config and look for the coveoanalytics tag. check the database attribute and check it's set to master like this:

<site patch:before="*[1]" name="coveoanalytics" virtualFolder="/coveo/rest/v6/analytics" enableTracking="true" database="master" domain="extranet" />

You can patch it on the Coveo.SearchProvider.Custom.config file if you don't want to edit the Coveo.SearchProvider.config file which I recommend you do this way.

  • 1
    Thanks but I'm actually looking to do the exact opposite of that. The default has it looking at web and i want it looking at master. I'm hesitant to update this file directly. Can I just add another config file that executes after these and replaces that patch with the one I want. <site patch:instead="*[@name='coveoanalytics']" name="coveoanalytics" virtualFolder="/coveo/rest/v6/analytics" enableTracking="true" database="master" domain="extranet" /> Nov 2 '16 at 17:25
  • in this case you can just change that entry to master instead of web. that will allow you to test whether the data is being sent or not. you can patch that later if you want. I've done this and it works :)
    – Diego
    Nov 2 '16 at 17:27
  • I will update my original answer to reflect the opposite then
    – Diego
    Nov 2 '16 at 17:28
  • Thanks I can't figure out how to make my code snipt show up nice like yours. I now see in the network panel SItecore call the analytics but i still don't see any anlytics showing up in Coveo is there anything else I need to do? Nov 2 '16 at 17:30
  • 1
    @Diego, the minimum of 10 sessions with same term is only for Coveo Reveal to be able to build a model for query suggestion. Coveo Usage Analytics events are normally available in the reports withing 15 minutes from the action time. Nov 2 '16 at 17:52

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.