Gravatar for christian.rikong@agencyq.com

Question by crikong, Nov 9, 2016 10:51 AM

COVEO ANALYTICS API SEND PAGE VIEW BUT CAN'T SEE IT IN CONSOLE

Hi There,

How is it going ? I hope well.

I am trying to record page view using the analytics REST API provided by Coveo. More specifically I am using this end point here: /v15/analytics/view (you can see the details of this service here: https://usageanalytics.coveo.com/docs/#!/v15%2Fanalytics%2F/addSearchEvent ).

The body of my request is the following:

{
  "language": "English",
  "userAgent": "Windows Chrome 54.0",
  "customData": {
    "a": "b",
    "c": "d",
    "e": "f",
    "g": "h"
  },
  "anonymous": false,
  "username": "admin",
  "userDisplayName": "admin",
  "splitTestRunName": "",
  "splitTestRunVersion": "",
  "originLevel1": "",
  "originLevel2": "",
  "originLevel3": "",
  "location": "http://localhost:8080//en/Laboratories/",
  "referrer": "http://www.google.com",
  "title": "The Office of Science Laboratories",
  "contentIdKey": "uri",
  "contentIdValue": "http://localhost:8080//en/Laboratories/",
  "contentType": ""
}

I am getting back the following JSON from making the call:

{
  "visitId": "8b4d1436-95b4-469f-b7a3-e7fe0f9c3523",
  "visitorId": "ca8c2edf-d678-4468-bcc2-c41d1f24fc10"
}

After reading the documentation, this seems to suggest that the call worked. However, when I go and look in the Coveo Console (in the Analytics section specifically) and I look at visits I can't see that visit/view being recorded. Is there something that I am missing ?

Any help that you guys could provide is greatly appreciated. Take Care.

Sincerely, Christian

Gravatar for christian.rikong@agencyq.com

Comment by crikong, Nov 9, 2016 11:21 AM

Can anyone help ?

Gravatar for jflheureux@coveo.com

Comment by Jean-François L'Heureux, Nov 9, 2016 5:11 PM

Did you check the date filter in the top-right corner of the Analytics section. It excludes the current day by default.

0 Reply
Ask a question