[Question]
I see in the code that window.Intercom('shutdown') is called in componentWillReceiveProps() and componentWillUnmount(), however the session seems to persist when leaving the website and coming back. I also tried deleting cookies.
How can we ensure a session gets closed when user leaves the webpage?
(thanks for this package by the way, it's awesome!)
[Question]
I see in the code that
window.Intercom('shutdown')is called incomponentWillReceiveProps()andcomponentWillUnmount(), however the session seems to persist when leaving the website and coming back. I also tried deleting cookies.How can we ensure a session gets closed when user leaves the webpage?
(thanks for this package by the way, it's awesome!)