Home > Paid Traffic Sources > POP / PPV / Redirect

Help needed! PPV Exit Pop up (9)


09-06-2014 06:35 AM #1 socceralien (Member)
Help needed! PPV Exit Pop up

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!!


09-06-2014 11:21 AM #2 caurmen (Administrator)

Can you paste the script you tried? Should be fairly easy to modify it to exclude a specific link.


09-06-2014 01:08 PM #3 socceralien (Member)

<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.


09-06-2014 03:15 PM #4 andyvon (AMC Alumnus)

add this before the </script> tag:

HTML Code:
function noPop() {
  popit = false;
}
then, edit your offer link like this:

HTML Code:
<a href="http://offerlink.com" onclick="noPop()">Click here</a>
Hope that helps.


09-06-2014 03:46 PM #5 socceralien (Member)

ok thanks! i will give it a try later on.


09-06-2014 04:52 PM #6 bbrock32 (Administrator)

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.


09-06-2014 05:59 PM #7 socceralien (Member)

any one knows if Lead Impact allows exit pop?

Thanks.


09-07-2014 04:50 AM #8 qureyoon (AMC Alumnus)

Quote Originally Posted by socceralien View Post
any one knows if Lead Impact allows exit pop?

Thanks.
You should always check the rules of every traffic source first.

https://secure.leadimpact.com/about/...ofconduct.aspx

As the saying goes:
"To be able to break the rules. You should understand the rules first."


09-07-2014 06:15 AM #9 vidivo (Member)

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..


Home > Paid Traffic Sources > POP / PPV / Redirect