Store anonymous identities

When an anonymous user is using your chat widget, the default chat widget behaviour stores an identifier in the browser's local storage so that the user identity can be retained if the page is reloaded or the browser is restarted.

If you don't want to retain the anonymous user identifier once the browser has closed, set the browserStorage property to sessionStorage.

<script>
const options = {
integrationId: '<integration Id>',
browserStorage: 'sessionStorage',
},

ingeniousai.init(options).then();
</script>
Was this article helpful?
0 out of 0 found this helpful

Comments

0 comments

Article is closed for comments.