Gravatar for sdimillo@coveo.com

Question by sdimillo, Jan 31, 2017 10:01 PM

Tracking star ratings events in analytics

Is there an OOTB capability for seeing/tracking the events where a user has clicked on the star ratings for an item in the search results? I have a customer that would like to have a report on low- adn high-rated content by users for some targeted communication but we cannot find anything in the documentation that indicates how to track and measure these events.

1 Reply
Gravatar for flguillemette@coveo.com

Answer by François Lachance-Guillemette, Feb 1, 2017 7:55 AM

What you are looking for is most likely Custom Events. You can follow this page here to see how to send custom events using the coveo-search-ui framework. This way, you could detect a click on a Star and log the value in an event sent to the analytics.

There is also the coveo.analytics module that can be used as a standalone logger, meaning you can log events even if you are on a page that does not contain a CoveoSearchInterface.

Hope this helps!

FLG

Ask a question