I have seen a few people ask for this in other threads....
Save this code as a PHP file and send your
chaturbate traffic to it - The surfer will be sent to the PPC prog if they are in a Tier 1 country and the % prog if they are from anywhere else.
Change the URLs to the correct ones for your affiliate account of course.
I have kept it as simple as possible so you can play with it if needed.
I have tested it and its seems to work - Let me know if you have any issues.
The API is very reliable and has no rate limits.
PHP Code:
<?php
$geo = unserialize(file_get_contents('http://www.geoplugin.net/php.gp?ip='.$_SERVER['REMOTE_ADDR']));
$countryCode = $geo['geoplugin_countryCode'];
$a=array('GB', 'NL', 'AN', 'AU', 'AT', 'BE', 'CA', 'CH', 'DE', 'DK', 'FA', 'FK', 'FA', 'FR', 'GG', 'GI', 'IE', 'IS', 'GL', 'JE', 'JP', 'LI', 'LU', 'NO', 'QA', 'SE', 'SG', 'SM', 'US', 'VI', 'UM');
if (in_array($countryCode, $a))
{
header ('Location: http://chatterbateURLforPPC.com')
;}
else
{
header ('Location: http://chaterbateURLforPercent.com')
;}
?>
Click here for more info about
Chaturbate.com.