G-S-T
Elite Member
- Jan 20, 2011
- 1,762
- 9,092
Most of us are promoting things that are only available in 1 or 2 countries. For example USA and UK or Canada.
When marketing on Facebook, you should know that domains have a short lifespan. For example, 5000 shares in a short time might get it noticed and then the ban hammer comes along. So if you aim for 4000 shares (example) you want them all to be shares from USA & UK profiles. There is no real point in having your url go viral in Singapore or Sydney when you offer is for the USA.
If your targeting the United States this sucks

I handle this with the following :
Add this code to the top of your landing page and save it as a .PHP file
Then upload these files to the root folder for your domain :
Virus Total
Open the global_redir.inc file and update the urls
There are lines for 3 countries and the rest will get sent to www.facebook.com
################
Another way to do it using javascript is to just add the following code to the head of your page:
When marketing on Facebook, you should know that domains have a short lifespan. For example, 5000 shares in a short time might get it noticed and then the ban hammer comes along. So if you aim for 4000 shares (example) you want them all to be shares from USA & UK profiles. There is no real point in having your url go viral in Singapore or Sydney when you offer is for the USA.
If your targeting the United States this sucks

I handle this with the following :
Add this code to the top of your landing page and save it as a .PHP file
Code:
<?phpinclude("global_redir.inc");
?>
Then upload these files to the root folder for your domain :
Code:
http://www.mediafire.com/?dbhz2cnenbs6w72
Virus Total
Code:
https://www.virustotal.com/file/118b5231e0ad22f511ab8e30e10c83d73296e00b268411b5aaede818d4a202f0/analysis/1335961044/
Open the global_redir.inc file and update the urls
There are lines for 3 countries and the rest will get sent to www.facebook.com
################
Another way to do it using javascript is to just add the following code to the head of your page:
Code:
<script language="JavaScript" src="http://j.maxmind.com/app/geoip.js"></script> <script language="JavaScript">
var country= geoip_country_code();
if(country == "PH" || country == "IL" || country == "NG" || country == "AE" || country == "CH" || country == "BR" || country == "IT" || country == "AT" || country == "SE" || country == "DK" || country == "FR" || country == "ES" || country == "SG" || country == "BE" || country == "CZ" || country == "IE" || country == "NL" || country == "RU")
{
window.location = "http://facebook.com"
}
else
{
}
</script>
Last edited: