Having difficulty with Intercom component. It doesn’t create separate instances for each user. Every user on the site can see the history of anyone else’s previous messages. I am using boot and logout to no effect. Would appreciate help
function loginUserIntercom(user_id, email) {
Intercom('shutdown');
Intercom('boot', {
app_id: "####",
user_id: "{{user.id}}",
email: '{{user.email}}'
});
}
function logoutUserIntercom() {
Intercom('shutdown');
Intercom('logout');
}