Redirect visitors on Exit - how do you do it?

by Kronom
13 replies
Hey Guys,

Trust jacker has become a really obsolete tool, not being able to support iframes.... I am looking for something else, which will effectively allow me to redirect people to another URL as soon as the try closing the page.

so I will be sending people to 1 URL, if they decide not to buy, but close the window, they will be redirected onto another page.

Would you know of anything that can do that???

Kronom
#exit #popup pop up #redirect #visitors
  • Profile picture of the author Dani78
    It can be done with an exit popup,
    "exit splash" is one tool that can do it.
    Signature
    57 FREE Traffic Sources >> Download Here
    {{ DiscussionBoard.errors[9059379].message }}
    • Profile picture of the author Shane F
      If using html you can enter this code below your footer and before the closing </body> tag.

      <!-- Start of Exit-Pop Code-->
      <script language="javascript">
      (function() {
      setTimeout(function() {
      var __redirect_to = 'HTTP://WWW.REDIRECTURL.COM';//

      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! CLICK THE *CANCEL* BUTTON RIGHT NOW! PAGE. I HAVE SOMETHING VERY SPECIAL FOR YOU COMPLETELY FREE.';
      }
      }, 500);
      })();
      </script>
      <!-- End of Exit-Pop Code -->
      {{ DiscussionBoard.errors[9059576].message }}
      • Profile picture of the author Michelle Stevens
        Originally Posted by Shane F View Post

        If using html you can enter this code below your footer and before the closing </body> tag.

        <!-- Start of Exit-Pop Code-->
        <script language="javascript">
        (function() {
        setTimeout(function() {
        var __redirect_to = 'HTTP://WWW.REDIRECTURL.COM';//

        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! CLICK THE *CANCEL* BUTTON RIGHT NOW! PAGE. I HAVE SOMETHING VERY SPECIAL FOR YOU COMPLETELY FREE.';
        }
        }, 500);
        })();
        </script>
        <!-- End of Exit-Pop Code -->
        That's an awesome share thanks Shane Farrell
        {{ DiscussionBoard.errors[9060157].message }}
      • Profile picture of the author military911
        Thank you for this. It's hard to find a good one that redirects.

        Do you know if it's possible to have 2 of these and trigger based on a time interval? (2 different redirects?) One directs when exiting within 5 seconds of the page and the other after 5 seconds?
        {{ DiscussionBoard.errors[10157969].message }}
  • Profile picture of the author jross07
    Just skimming here...I've been looking for this kind of script all day! Thank you for sharing!
    Signature

    Internet enthusiast, learning every day!

    {{ DiscussionBoard.errors[9059784].message }}
  • Profile picture of the author Pedro Lopes
    Did a little search and found this on the WF
    http://www.warriorforum.com/warrior-...wordpress.html

    Hope it helps!
    Signature
    {{ DiscussionBoard.errors[9059807].message }}
  • Profile picture of the author SolutionSecrets
    I did come across a plugin..
    Quite useful and maybe you can try it out.
    Popup Domination 3
    {{ DiscussionBoard.errors[9059865].message }}
  • Profile picture of the author thisisraz65
    Use exit pop.
    Or you can use redirect code.
    just search php redirect code in google.

    Thanks
    Signature
    No signature right now
    {{ DiscussionBoard.errors[9377696].message }}
  • Profile picture of the author Joseph Villanueva
    Why not create a page with funnelkit? Its cheap and effective.

    You get to offer a close out box when they are goin up on address bar area
    With cursor.

    Joe
    Signature
    Need a Coach to generate leads and TRIPLE your online business income?
    Let me Inspire and Empower You!
    {{ DiscussionBoard.errors[9377766].message }}
  • Profile picture of the author enterprisemind
    If you're using Optimizepress like me, there's a module build in for it.
    {{ DiscussionBoard.errors[10158279].message }}
  • Profile picture of the author VerifiedProxies
    Why not focus on making a website that people don't want to leave in the first place?

    I can't imagine anyone being too pleased and reconsidering using your website just because you made it more difficult for them to leave it...
    {{ DiscussionBoard.errors[10158617].message }}
  • Profile picture of the author essmeier
    I quit using exit pops years ago because I suspect that Google isn't all that fond of them. While I don't go out of my way to keep Google happy, as they're not going out of their way to do much for me, I also don't deliberately antagonize them.

    Charlie
    {{ DiscussionBoard.errors[10159641].message }}
  • Profile picture of the author BrentGarett
    exit slash is the most popular one I have head of so far..
    {{ DiscussionBoard.errors[10159670].message }}

Trending Topics