0

Is there a way to know when a user pushes the Home button on iPhone and leaves the site? And Android devices?

2 Answers 2

2

For iOS devices, they dont allow an app to monitor other application events. I think android is a little more flexible (never developed for android fyi)

1

I don't know it this will work for your needs but just like Michael said, you can't detect when safari it self exits but you could use onbeforeunload and ajax to do something. Not entirely sure if it fires when safari exits but its work a try.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.