Need a way to track if visits are bots

mikeydell

Senior Member
Joined
Dec 16, 2012
Messages
868
Reaction score
502
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!
 
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.
 
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 Ill give that a try and report back.
 
Back
Top