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

Sorting traffic...

Discussion in 'FaceBook' started by G-S-T, May 2, 2012.

  1. G-S-T

    G-S-T Executive VIP Jr. VIP

    Joined:
    Jan 20, 2011
    Messages:
    1,840
    Likes Received:
    8,808
    Occupation:
    Full time IM
    Location:
    Heavy in the game
    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
    RANcs.png

    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>
    
     
    • Thanks Thanks x 4
    Last edited: May 3, 2012