1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Redirecting Certain Percentage Of Visitors

Discussion in 'Making Money' started by cparainmaker, Jun 5, 2008.

  1. cparainmaker

    cparainmaker BANNED BANNED

    Joined:
    Jan 17, 2008
    Messages:
    377
    Likes Received:
    71
    Okay I am up to some blackhat activity and I need to get the my method down....I'm sending hits to a site with ads on it but that only gets impressions and if I send it to a direct affiliate link obviously they can track the shit traffic coming to the offer and there is all clicks and zero impressions...So my question is can I force a certain percent of this crap traffic to click through the affiliate link while some act as just impressions while preventing the aff networks on picking up the source of the traffic?
     
  2. cparainmaker

    cparainmaker BANNED BANNED

    Joined:
    Jan 17, 2008
    Messages:
    377
    Likes Received:
    71
    a) Load impressions, and redirects on a ratio.
    For example say 1 in every 8 hits will throw the cookie in, the rest will show the banner page by itself.

    any one got a code for this?
     
  3. boomboomer

    boomboomer Executive VIP

    Joined:
    Feb 7, 2008
    Messages:
    705
    Likes Received:
    865
    Code:
    <?php
    if(rand(0,200)<25){
    //code to stuff
    }
    ?>
    
    Put this at the top of the page ..
     
  4. cparainmaker

    cparainmaker BANNED BANNED

    Joined:
    Jan 17, 2008
    Messages:
    377
    Likes Received:
    71
    Thanks so do I just replace (0,200) with the right ratio and then the code to stuff or do I need to change that <25 too?
     
  5. boomboomer

    boomboomer Executive VIP

    Joined:
    Feb 7, 2008
    Messages:
    705
    Likes Received:
    865
    Thanks Genjutsu! I probably had a brainfart while putting that down .. lol