Shutdown Intercom session when users logout

Is there any trigger in softer, that is triggered When a user logged. So Can add hook the delete cookie function to that trigger.

Hey @yogesh,

This code should do the trick :slight_smile:

<script>
window.addEventListener('user-sign-out', (e) => {
  if(Intercom) {
    Intercom('shutdown');
  }
});
</script>