10 replies
I am creating a sale funnel with one FE, one upsell and one downsell. But I don't know how to get the messages "leave page or stay on page" to appear when people try to leave the offer?

Clive
#funnel #sales
  • Profile picture of the author amitdave
    I've preiviously used Dave Guindon's Exit Splash.

    www.exitsplash.com

    Not affiliate link.
    {{ DiscussionBoard.errors[9677930].message }}
  • Profile picture of the author Kelvin Chan
    Hi Clive,

    Put the following after your <body> tag and simply customize the link you want to send them to:

    Code:
    <script language="javascript">
    (function() {
        setTimeout(function() {
        var __redirect_to = 'http://google.com'; // Send to the link you desire
    
        var _tags = ['button', 'input', 'a'], _els, _i, _i2;
        for(_i in _tags) {
            _els = document.getElementsByTagName(_tags[_i]);
            for(_i2 in _els) {
                if((_tags[_i] == 'input' && _els[_i2].type != 'button' && _els[_i2].type != 'submit' && _els[_i2].type != 'image') || _els[_i2].target == '_blank') continue;
                _els[_i2].onclick = function() {window.onbeforeunload = function(){};}
            }
       }
    
        window.onbeforeunload = function() {
            setTimeout(function() {
                window.onbeforeunload = function() {};
                setTimeout(function() {
                    document.location.href = __redirect_to;
                }, 500);
            },5);
            return 'Wait Before You Go ... Here Is A Special Offer For You';
        }
        }, 500);
    })();
    </script>
    Originally Posted by hoopcf5 View Post

    I am creating a sale funnel with one FE, one upsell and one downsell. But I don't know how to get the messages "leave page or stay on page" to appear when people try to leave the offer?

    Clive
    Signature

    {{ DiscussionBoard.errors[9678224].message }}
    • Profile picture of the author hoopcf5
      hi Kelvin Chan, thank you, I appreciate you taking the time to provide the code. I'll give it a go Clive
      {{ DiscussionBoard.errors[9680644].message }}
  • Profile picture of the author gcbmark20
    Hi,

    Optimize Press 2.0 allows you to do this and create EASY, professional
    looking click by click all in one funnels too.

    BIG TIME saver too.

    One off payment but well worth it's weight in gold for me.

    You install it as a wordpress plugin once you've installed wordpress
    onto your domain.

    All the best,

    Gavin
    {{ DiscussionBoard.errors[9678275].message }}
    • Profile picture of the author hoopcf5
      Thank you Gavin. My finances are stretched at the moment, but will consider it when I'm back in the black. Clive
      {{ DiscussionBoard.errors[9680646].message }}
  • Profile picture of the author karryjakson
    I want to sell more but how? Help me please!
    {{ DiscussionBoard.errors[9678363].message }}

Trending Topics