![]() |
Any way to filter out Geo specific traffic
I was just wondering and Im sure theres a way..just beyond my scope of knowledge. How can I filter out GEO specific traffic...or have my site handle them different. .htaccess? or something else?
Thanks *** |
AFAIK it can be done with htaccess, but the problem is that the IPs for each country are always changing so its a real pain to keep it up to date.
There are services that provide this for a fee, but I haven't tried any myself. |
You can use .htaccess to redirect specific countries.
Code:
RewriteEngine on |
You can also do it with javascript based on browser language setting. I use it to filter out Chinese traffic.
Code:
|
well as I understand it filtering by the browser language isn't 100% accurate as not all surfers have their browser set to their native language, but I suppose its better than nothing.
|
Quote:
|
Quote:
As for American Chinese, while I have no data, I don't really believe that an overwhelming majority would have their browser language set to Chinese. Even so, we're talking about a very small percentage of what is already a relatively small percentage of my incoming traffic. Simply not enough to worry about. |
Quote:
Quote:
|
Quote:
Even if 100% of American Chinese (those whose native language is Chinese) use Chinese as their browser default language, given my current traffic numbers and conversion ratios we're talking about 2 or 3 sales per year that I might be missing. Also, I'm not just blocking this Chinese traffic, I'm redirecting it and making an attempt to monetize it in other ways, which is currently generating the equivalent of 3 to 5 sales per month. |
Quote:
|
Quote:
For me, the cost in terms of time and software to be able to more accurately filter that traffic outweighs the potential benefits of doing so. The circumstances for your business may be different. |
Quote:
|
it's build into E power trader, they have a nice little country redirect that works pretty cool
|
Toby thats exactly what I wanted it for thank you. Does that work for you? What type of redirect URL do you use?
*** |
Quote:
P.S. you have a PM |
Ill have to work on it. Thanks all for the feedback
|
I got blacklisted by a small time TGP owner for redirecting Chinese traffic? What do most LL owners feel about redirecting crap traffic?
|
Quote:
However having said that, the last time I checked, several bigger LLs and TGPs stated "no geo-redirect" in their rules - EVEN SPONSOR REDIRECTS (i.e. you link to bongo-porn.com, Bongo Porn does not want Chinese traffic so redirects it to a non CC type site, you don't even know this is happening, but you get blacklisted for it). |
Quote:
|
Quote:
|
Quote:
Especially that green fellow. :D |
I use this script to relocate some custommers
$IPaddress=$REMOTE_ADDR; $two_letter_country_code=iptocountry($IPaddress); if ($two_letter_country_code=="BE"){ include("redirect.php"); exit;} else{ if ($two_letter_country_code=="NL"){ include("redirect.php"); exit;} else{} } function iptocountry($ip) { $numbers = preg_split( "/\./", $ip); include("ip_files/".$numbers[0].".php"); $code=($numbers[0] * 16777216) + ($numbers[1] * 65536) + ($numbers[2] * 256) + ($numbers[3]); foreach($ranges as $key => $value){ if($key<=$code){ if($ranges[$key][0]>=$code){$country=$ranges[$key][1];break;} } } if ($country==""){$country="unkown";} return $country; } ?> |
Nice thread! I'm going to have to do some redirecting on my new mobile site here soon :) THanks!
|
Quote:
|
Quote:
|
All times are GMT -4. The time now is 01:41 PM. |
Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
© Greenguy Marketing Inc