Gravatar for

Question by Amrit, Jan 19, 2018 11:13 AM

Where do we get rankingModifier params for making Click analytics post call?

Hi We are using Coveo REST Analytics to send click events, I am unable to understant from where we get the optional parameter rankingModifier?

1 Reply
Gravatar for

Answer by jrochette, Jan 19, 2018 6:40 PM


The rankingModifier is a field that is not automatically populated depending on the JS UI components used. It represents whether the clicked result's ranking was modified by something (like a query pipeline rule or a machine learning drill). Some components from Coveo JS UI framework , like the machine learning top clicks drill, will automatically populate this field. If you are not using those components, the field needs to be populated manually prior to sending the event to Usage Analytics.

Hope this helps. Do not hesitate if you have any further questions.

Gravatar for

Comment by jrochette, Jan 19, 2018 7:57 PM

To add some details, note that the ranking modifier is also usually added in the response of the search by Coveo's search API.

Ask a question