Welcome to the new platform of Programmers Heaven! We apologize for the inconvenience caused, if you visited us from a broken link of the previous version. The main reason to move to a new platform is to provide more effective and collaborative experience to you all. Please feel free to experience the new platform and use it's exciting features. Contact us for any issue that you need to get clarified. We are more than happy to help you.
detecting users going to another website
If you can help me with this I would greatly appreciate it.
I would like to know how I can detect users going to another website by typing in another URL in their browser and thus leaving our site. To make things a little more complicated : I want to show a popup in that case, but only when the suer comes from certain pages within my site. So not only will I want to detect users from leaving our site, but also wanna know from which page within our site they come.
Like I said, any input will be appreciated !
Thanx in advance,