Gravatar for bprdumas@coveo.com

Question by bprdumas, Feb 3, 2017 1:20 PM

Difference with Coveo Machine Learning when using incognito mode or not?

Would the result suggested by Coveo Machine Learning be impacted if we are in incognito mode or not ?

2 Replies
Gravatar for flguillemette@coveo.com

Answer by François Lachance-Guillemette, Feb 3, 2017 1:36 PM

I would say there is no difference, with the exception that your history will be empty.

When visiting multiple pages that log Page View events, the history is stored in your visit and sent to Coveo Machine Learning to get recommendations based on your current visit.

Incognito mostly ensures that your history is empty.

Gravatar for spaquet@coveo.com

Answer by Sébastien Paquet, Feb 3, 2017 2:01 PM

In incognito mode, Relevance Tuning and Query Suggest will work normally.

Recommendation will be limited. The actions history is stored in LocalStorage by [coveo.analytics.js][1] (after January 12, 2017), but in incognito mode "the browser creates a new, temporary database for LocalStorage values. That means anything saved to LocalStorage will be destroyed when the private browsing session is closed, making LocalStorage behave more like SessionStorage". Therefore, the actions history will be limited to the current browser tab. Previous actions (not in incognito mode) will not be accessible and those stored in the incognito temporary database will be destroyed when closing the tab, thus not accessible for future visits.

With previous versions of the [coveo.analytics.js][1] (before January 12, 2017), cookies were used to store the actions history, thus the actions history would be empty and Machine Learning will not return recommendations.

[1]: https://github.com/coveo/coveo.analytics.js "coveo.analytics.js"

Ask a question