Be aware that the on-page leave trigger is only available on laptop and desktop devices. Mobile devices cannot use the trigger on-page leave.
The on-page leave trigger checks mouse movement. As soon as your mouse pointer moves out of the browser window into the browser address bar, the on-page leave is triggered.
More information on these three options can be found in this article.