Continue where you left off



I want to know how to reset the chat or navigate the user to the main menu of the chat when the user refresh the page or open the website again where the chatbot is published, is there a trigger to direct the user to the chat’s first question when the user refreshes the page or visit the site again?



We have just added new functionality in our Javascript developer API that allows you to clear chat history whenever you need.

Have a look at

Adding the following code along with your widget code can solve your issue.

var collectchat = collectchat || {}; 
collectchat.ready = function() {

By the way, I am curious about your use-case. Why you don’t want the user to continue where they left off. Isn’t history an expected feature in chat conversations?