Exit pop interfering with signup form

4 replies
Hi, guys. I'm using an exit pop on my squeeze page to offer people who haven't signed up for the squeeze page offer a free ebook. The problem is, when people actually fill out my autoresponder form on the squeeze page and hit submit, the exit popup hits them too. If they've signed up on my squeeze page, I just want them to go to my OTO offer obviously, not be hit with the popup.

I'm using this script:

Code:
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs...n.js"></script>
<script type="text/javascript">
var popit = true;
$(window).bind('beforeunload', function() {
$('#overlay').show();
if(popit == true) {
popit = false;
return 'Would you like a free gift? Click "Stay on this page" or "Cancel" below to claim your free ebook download!';
}
});
</script>
<div id="overlay" style="background:#000; width:100%; height:100%; position:fixed; top:0; left:0; z-index:1000; display:none;"><iframe src="http://www.mysite/free-ebook.html" width="100%" height="500px" style="border:none;"></iframe></div>
It's great, but it's unfortunately interfering with the GetResponse signup form, in that it pops up and redirects when people fill in the signup form when I only want it to do that if people close out the tab.

Is there any way to tweak it so that it only does its thing when the visitor leaves by closing the tab, and not when the visitor leaves by filling in the signup form?
#exit #form #interfering #pop #signup
  • Profile picture of the author DIABL0
    I'm guessing it has to do with something in the getresponse form that is triggering it. Because I just created a simple html form and added the script and when I submitted it, it didn't trigger the script.

    Can you edit the html of the getresponse form?

    Can you post a link to the actual form or just put one up that uses the same form, but it isn't your actual page?
    Signature
    How to Build LARGE EMAIL LISTS on a Budget and MONETIZE Like a PRO
    20+ Years Exp . . . . . . . . . . . . Email - CPA - PPL
    {{ DiscussionBoard.errors[10383126].message }}
    • Profile picture of the author warrenonline
      Originally Posted by DIABL0 View Post

      I'm guessing it has to do with something in the getresponse form that is triggering it. Because I just created a simple html form and added the script and when I submitted it, it didn't trigger the script.

      Can you edit the html of the getresponse form?

      Can you post a link to the actual form or just put one up that uses the same form, but it isn't your actual page?


      Hmm... that's pretty interesting. Thanks. There's maybe a form within the form which the script is binding to and seeing as a window exit event. I'll try rustle up an example of what's happening.
      {{ DiscussionBoard.errors[10383161].message }}
    • Profile picture of the author fitnick360
      Originally Posted by DIABL0 View Post

      I'm guessing it has to do with something in the getresponse form that is triggering it. Because I just created a simple html form and added the script and when I submitted it, it didn't trigger the script.

      Can you edit the html of the getresponse form?

      Can you post a link to the actual form or just put one up that uses the same form, but it isn't your actual page?
      Could this happen on a sales page within Clickfunnels? I installed a similar exit popup code, which works great, BUT everytime someone clicks the "BUY" button it pops up, which is not good!

      How can I get to just pop up when someone actually exits the page?
      {{ DiscussionBoard.errors[10542371].message }}
  • Profile picture of the author agmccall
    I am a little confused as to why you would have an exit popup on a squeeze page. I can understand having one on a sales page. But, anyone that lands on a squeeze page is there to get the free offer in exchange for their email, I wouldn't think a popup in this situation would be effective.

    I could be wrong though

    al
    Signature

    "Opportunity is missed by most people because it is dressed in overalls and looks like work." Thomas Edison

    {{ DiscussionBoard.errors[10383560].message }}

Trending Topics