Intercom Instance Creation

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

Is this related to Discourse software? It seems to me you’re a bit lost. :slight_smile:

Yes, this about the intercom component on my discourse site

1 Like

My bad then. I didn’t use search (Discourse Intercom (Advanced) for reference), sorry about that :slight_smile:

1 Like

So, it’s about the intercom-widget theme component (not the intercom plugin)? I just want to make sure so I can add the right tag.

1 Like

Yes, this is about the widget

2 Likes