Intercom Instance Creation

Oghenesuvwe_Ogedegbe
Mon, 13 Jan 2025 19:09:21 +0000
Support

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');
  }

投稿 6 件 - 参加者: 3

全トピックを読む