I would like to be able to check whether the user ...
# 💻developers
f
I would like to be able to check whether the user has entered into a conversation with the bot for the first time or whether this is his next conversation. I thought that a solution might be to save user identification data in the browser's LocalStorage. I have the following code: const userEmail = 'useridentifier' localStorage.setItem('BotChatbotUser', userEmail) The code works in the emulator, but shows an error when embedding on the page and also when sharing the bot. Can anyone help me how to achieve this effect?