I'm trying to monetize my traffic.

Discussion in 'Making Money' started by Designerdude13, Dec 9, 2011.

  1. Designerdude13

    Designerdude13 Power Member

    Joined:
    Nov 22, 2010
    Messages:
    649
    Likes Received:
    194
    Gender:
    Male
    How do I add a pop-up box that happens when the vistor tries to leave my website. I want one of those things that say you know....wait stay here...special offer...blah blah...and when they click stay here it rdirects them to another page or offer. How do I create that?

    And yes I did search the forums first and I did google "javascript onclose popupx box", but I didn't find any with the redirection when they click stay here. I'm trying to monetize my vistors please :) Thank you!

    P.S. Instead of creating a new thread...what else can content locker pro do for me?
     
  2. thetrustedzone

    thetrustedzone Jr. VIP Jr. VIP

    Joined:
    Jun 15, 2010
    Messages:
    3,067
    Likes Received:
    2,383
    Home Page:
    so you ask about pop up or content locker or both
     
  3. Designerdude13

    Designerdude13 Power Member

    Joined:
    Nov 22, 2010
    Messages:
    649
    Likes Received:
    194
    Gender:
    Male
    Both. Thanks for responding
     
  4. thetrustedzone

    thetrustedzone Jr. VIP Jr. VIP

    Joined:
    Jun 15, 2010
    Messages:
    3,067
    Likes Received:
    2,383
    Home Page:
    you can read reviews about CLP , and about pop there's a lot of pop plugins for wordpress if you use wordpress platforms , no1 will tell you exactly his technique
     
  5. scraper1

    scraper1 Regular Member

    Joined:
    May 28, 2011
    Messages:
    214
    Likes Received:
    208
    Location:
    Kontiki
    Home Page:
    You can try this Javascript code, putting it right after the body tag and replacing the url with your affiliate link:
    Code:
    <html>
    <body>
    <script type="text/javascript">
    //<![CDATA[
    var
      is_asked = false;
    
    window.onbeforeunload = 
      function (ev) {
        var e = ev || window.event;
        window.focus();
        if (!is_asked){
          is_asked = true;
          var showstr = "Y U WANT TO LEAVE???";
          if (e) {  //for ie and firefox
            e.returnValue = showstr; 
          }
          return showstr; //for safari and chrome
        }
      };
    
    window.onfocus =
      function (ev){
        if (is_asked){
          window.location.href = "http://www.afflinkhere.com";
        }
      }
    
    //]]>
    </script>
    </body>
    </html>
    Regarding CL Pro, I don't know what to say about it because I'm not using it; I have tried and used succesfully this free one:
    http://www.blackhatworld.com/blackh...109-free-cpa-gateway-content-locker-code.html
     
    • Thanks Thanks x 1
  6. WizIMS

    WizIMS Power Member

    Joined:
    Sep 24, 2011
    Messages:
    684
    Likes Received:
    876
    Location:
    Skype - Wiz.IMS

    Hey OP, that one works ;)

    Anyway, there are some CPA companies offering this option

    Also, I don't know why you even want to do that.. if it's a serious business, it'll kill it (Also it's not too good for SEO)