How can I trigger a DTM rule when onbeforeunload event happens on site?
Hi,
I have a requirement in which we would like to fire a rule whenever user closes the window. Also, Is there any way if we can listen for other window events which happen on our site through DTM, such as window close, session inactivity et cetra. I understand, we can make use of direct call rule, triggered from the code base itself, but I am looking for a solution which can be implemented solely on DTM.
Any leads will be greatly appreciated!