Hi,
I need an exit pop up script for my landers. I have googled and tried many of the scripts. It works when the user click on the window cross button to exit the window, the exit pop up will appear. However, when the user click on the actual offer link in the lander, before the page redirect to the actual offer page, the exit pop up will show again. This is not what i wanted.
I only need the exit pop up to show when the user click on the window cross button and nth else.
Anyone has the actual correct script?
Thanks!!
Can you paste the script you tried? Should be fairly easy to modify it to exclude a specific link.
<script type="text/javascript">
var popit = true;
window.onbeforeunload = function() {
if(popit == true) {
popit = false;
return "Are you sure you want to leave?";
}
}
</script>
The problem with this script is even when i try to click on the link instead of closing the window, the pop up still appeared.
Any solution to this?
Thanks.
add this before the </script> tag:
function noPop() {
popit = false;
}
<a href="http://offerlink.com" onclick="noPop()">Click here</a>
ok thanks! i will give it a try later on.
The code above works.
Just make sure you don't get caught or you might lose your account, many PPV networks don't allow it.
any one knows if Lead Impact allows exit pop?
Thanks.
Leadimpact as far as i know has disabled exit pop ups from even happening no matter what script you use. THey use a special browser..