Finally, an Exit Pop Script That Works

Posted by Justin Dupre on October 23rd, 2008

I was hitting up the Cakes chat in IRC and was looking for some advice on one of my LPs… no matter what kind of copy I was using on the LP, I was only getting 50% to the landing page. That’s okay as the campaign is still in testing and not losing to much as so, but that meant 50% of the people going to the page were backing out. I was spending 100 dollars, but only 50 of it was doing anything. Talk about throwing away cash!

So, an exit pop seemed to be my only choice. There are ways to do this where you can create a pretty exit pop that is basically just a window with another html webpage on it, but I’m too damn lazy to make one of them. I like the simple little, “are you sure you don’t want this? ok or cancel” pops. I wanted it to direct to another LP of mine, so maybe that exit traffic would generate a little more profit. Let’s put that 50% of traffic to use.

Well, I searched the web and found it extremely difficult to find exactly what it was I needed, so I just decided to rip the script off the Rachael Ray Acai Berry offer LP. It took a little work to get it up and working (Thanks to Spyderman4g63 for giving me the fix I needed), but it does it’s job rough just like i like it.

Here’s the script:

<script type=”text/javascript” language=”javascript”>
var areYouReallySure = false;
var internalLink = false;
function areYouSure() {
if (!areYouReallySure && !internalLink) {
areYouReallySure = true;
location.href=”http://SHAMWOWMUTHAFUCKA.com”
return “WAIT! Maybe you’d like to try ShamWow instead?\r\nOrder now and we’ll have Chuck Norris personally deliver it!”;
}
}
window.onbeforeunload = areYouSure;
</script>

IMPORTANT!!!! - Apparently, when you copy and past this, the quotation marks fuck everything up. You gotta make sure they are quotation marks and not apostrophes or whatever… mkay? Thanks to Chedelic in the Cakes chat for pointing this out.

Put this above everything in your HTML document… I mean everything. Above your header and doc statement. This will basically call up (preloading it) the page in the script to load whenever someone tries to leave the page via clicking a link, refreshing, or backing out there (shamwowmuthafucka.com… change it to your lp page). Then it brings up the pop-up asking if you want to try shamwow and have chuck norris deliver it. Change these two lines to something more suitable.

There is a problem with this. No matter what link or way they try to exit this page (even if the user is going to your offers landing page), this will pop and preload the page, possibly confusing the hell out of the goon you want to buy this shit.

So to make sure this isn’t popping when they are going to the offer you need to insert a bit of code to the anchors.

onClick=”areYouReallySure = true”

For example:

<a href=”http://shamwowmuthafucka.com/whatisthisshit/” onClick=”areYouReallySure = true”>link</a>

So if they click that link, it won’t pop or preload the new page. Shiny right?

I’ve heard of guys getting up to a 10 + 20% boost in their profits using these techniques. Personally, I’m running this on two different campaigns and just linking back and forth using the exit-pop. Don’t like ShamWow? Get Pedeggs. Don’t like Pedeggs? Get ShamWow. Rinse and repeat, repeat, repeat. If the user doesn’t know what they are doing, its gonna piss some people off with this loop. Oh well, serves you right for not knowing the Interwebz.

Tags: , ,

2 Responses to “Finally, an Exit Pop Script That Works”

  1. Nice. Hope it works out.

  2. [...] Finally, an Exit Pop Script That Works [...]

Leave a Reply