How do you redirect to a page if someone leaves your home page (website) this is what im trying to do, someone comes to homepage, they look at page and exit (back) to google - i want something to stop them and redirect them to another page on my website. i dont want it to stop them if they try to go into another part of my site like website.com/aboutproduct or the order page aweber exit popup stops them if they try to go to the checkout page. also If they leave from clickbanks checkout page (If they dont complete payment) I want them to be redirected to a page on my site where i can collect their info. I do not want the checkout process interfered with. Only want this to happen if they do not complete payment, you'll have to either tell me what to do step by step or take my html files and do something.
You can't "stop" them, but you can pop up a window. If you break the functionality of the back button, you will be violating tons of TOSs, and you will never get paid a dime.