Synchronize user history

If you want to synchronize your user history with our database you have to add the attribute synchronizeUserConversation in your clustaar settings. userID and userToken are mandatory to use this feature

window.clustaarSettings = {
                bot_id: 'MY_BOT_ID',
                bot_token: 'MY_BOT_TOKEN',
                userID: 'MY_USERID',
                user_token: `MY_USER_TOKEN`,
                synchronizeUserConversation: true,
                eventListener: handleEvents
            };