I know this is over a year later, but maybe my answer may help someone in the future.
On some of my sites, I found that the intention of a mobile exit often consists of a small scroll up before the user clicks on his button. For example, users often scroll down a little page, consuming content, but when they are ready to leave, they can scroll up a bit (say, 5-10% of the page height), and then they will go to the back or close the tab.
, -, . , - , 50% , , , 5%, , , , . Javascript, https://github.com/shahzam/DialogTriggerJS
, , , , !