3 replies
I am launching my first product tomorrow but I can not find out how to get an exit redirect script on my salespage to go to my downsell page after the person clicks exit. Does anyone know how to put an exit redirect script on a page that does not interfere with the purchase button?
#asap
  • Profile picture of the author Derelle1
    I was looking online and I found this script.

    <script type="text/javascript">
    function addEvent(obj, evt, fn) {
    if (obj.addEventListener) {
    obj.addEventListener(evt, fn, false);
    }
    else if (obj.attachEvent) {
    obj.attachEvent("on" + evt, fn);
    }
    }
    addEvent(window,"load",function(e) {
    addEvent(document, "mouseout", function(e) {
    e = e ? e : window.event;
    var from = e.relatedTarget || e.toElement;
    if (!from || from.nodeName == "HTML") {
    // stop your drag event here
    // for now we can just use an alert
    //alert("left window");
    window.location = "http://newstrategiesforwealth.com/wp-wealth-creation-frontend-downsell/"
    }
    });
    });
    </script>


    I put it up on my site and it works pretty good maybe even too good. Soon as you move towards the exit button it redirects. I didn't know if this is too abrupt for what I was looking for. I like those messages that give you a chance to cancel or go to the link. I was wondering was it possible to put my link for example purposes to get some feedback.

    Nevermind I think this will work out alright for now too many others things to get done. Hopefully this information can be useful to someone else.
    Signature
    ==> Have you tried to start your lucrative business In Internet Marketing... But Don't Know where to Start? Here’s What To Do...
    {{ DiscussionBoard.errors[8676893].message }}
  • Profile picture of the author Andrew H
    When a user tries to exit your page they will be automatically redirected with JS to a sales page? Good luck with that strategy champ...
    Signature
    "You shouldn't come here and set yourself up as the resident wizard of oz."
    {{ DiscussionBoard.errors[8677099].message }}
    • Profile picture of the author Derelle1
      Originally Posted by Andrew H View Post

      When a user tries to exit your page they will be automatically redirected with JS to a sales page? Good luck with that strategy champ...
      So what are you saying really? I am giving them an opportunity to get it for less in case money was the issue on the front page. Do you know how to do an exit redirect?
      Signature
      ==> Have you tried to start your lucrative business In Internet Marketing... But Don't Know where to Start? Here’s What To Do...
      {{ DiscussionBoard.errors[8677367].message }}

Trending Topics