在使用 Intercom 组件时遇到困难。它没有为每个用户创建单独的实例。网站上的每个用户都可以看到其他用户之前的消息记录。我尝试使用 boot 和 logout 但无效。希望得到帮助
function loginUserIntercom(user_id, email) {
Intercom('shutdown');
Intercom('boot', {
app_id: "####",
user_id: "{{user.id}}",
email: '{{user.email}}'
});
}
function logoutUserIntercom() {
Intercom('shutdown');
Intercom('logout');
}