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