Gravatar for ravigupta020287@gmail.com

Question by Ravi, Jun 1, 2018 9:28 AM

coveo trends usage analytics API

I have a query regarding usage analytics API, we need time zone independent result through API call?

There is a parameter (optional) "tz" in the API call for this, can we get time zone independent trending keywords from coveo Usage analytics if yes, the how do we call the API?

we are trying to use this https://usageanalytics.coveo.com/rest/v15/stats/trends API call.

1 Reply
Gravatar for dlafreniere@coveo.com

Answer by dlafreniere, Jun 1, 2018 8:19 PM

Hi Ravi,

The tz parameter is the timezone to be used with the date parameters (to/from) that are used as the range for which you want to fetch the trends.

If you leave it blank, it will default to `Z` or UTC

Gravatar for ravigupta020287@gmail.com

Comment by Ravi, Jun 5, 2018 6:03 AM

How do we get the UTC based result for trending keywords in Usage Analytics dashboard? Currently it is taking the server time zone where dashboard is getting accessed from.

Ask a question