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

Need a way to track if visits are bots

Discussion in 'Black Hat SEO' started by mikeydell, Jan 10, 2013.

  1. mikeydell

    mikeydell Senior Member

    Joined:
    Dec 16, 2012
    Messages:
    870
    Likes Received:
    499
    Okay I'll try to explain this the best way I can. I currently run a adfly type of website that is gaining ground fast and has around 50,000 unique visits daily, with around 150,000 total visits daily. The problem Im having is I have some users gaming the system with bots to gain money into there publisher accounts, Ive been using mint stats to verify as well as google analytics as well. My question is are there any decent scripts other than blockscript, which can detect bots and block them? Ive looked all over but really haven't found much of anything. Im needing something in php if possible. Thanks!
     
  2. santhu

    santhu Power Member

    Joined:
    Jan 2, 2012
    Messages:
    547
    Likes Received:
    447
    Occupation:
    Self-Employed Interenet Marketer......
    Location:
    India
    What cms are you using......Wordpress?
     
  3. mikeydell

    mikeydell Senior Member

    Joined:
    Dec 16, 2012
    Messages:
    870
    Likes Received:
    499
    No its a adfly clone we purchased and modified, but the tracking system for cheating sucks to be honest so Im looking for a another solution to implement.
     
  4. NegroHat

    NegroHat Newbie

    Joined:
    Apr 12, 2010
    Messages:
    48
    Likes Received:
    5
    Tips I can offer:
    1. Proxy blacklists are available. Use them.
    2. Most bots do not randomize user agents. This is one of the easiest ways to spot them.
    3. Here is a basic php proxy detection script. It will not work for all proxies, but it will get a large number of them.

    =============================================
    <?php
    // start code

    // if getenv results in something, proxy detected

    if (getenv('HTTP_X_FORWARDED_FOR')) {
    $ip=getenv('HTTP_X_FORWARDED_FOR');
    }

    // otherwise no proxy detected

    else {
    $ip=getenv('REMOTE_ADDR');
    }

    // print the IP address on screen
    echo $ip;
    ?>
    ===========================================
     
    • Thanks Thanks x 1
  5. mikeydell

    mikeydell Senior Member

    Joined:
    Dec 16, 2012
    Messages:
    870
    Likes Received:
    499
    Thanks Ill give that a try and report back.