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
CocoQuark
(Coconut Flavored Quark)
January 13, 2025, 8:16pm
2
Is this related to Discourse software? It seems to me you’re a bit lost.
Yes, this about the intercom component on my discourse site
1 Like
CocoQuark
(Coconut Flavored Quark)
January 13, 2025, 8:21pm
4
My bad then. I didn’t use search (Discourse Intercom (Advanced) for reference), sorry about that
1 Like
Moin
January 13, 2025, 9:28pm
5
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