Traffic Monetize By Countries [ Business ] Need Help...

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • adonthenet
    Too lazy to set a custom title
    • Feb 2005
    • 16753

    #1

    Traffic Monetize By Countries [ Business ] Need Help...

    Hey all,
    I'm looking for some sort of script that would take a surfer to a page according to his country


    For example : US surfer that comes to the site goes to LINK A when he click on a button
    UK surfer that comes ot the site and click on the same button goes to LINK B ( link related to UK only )

    Canadian Surfer clicks on the same button goes to LINK C ( link related to his country - Canada )

    Rest of the world go to Link D for example...




    Who can help with this? anyone know some sort of script? how I can get it done?

    Thanks in advance GFY community !
  • SordidMedia
    So Fucking Banned
    • Oct 2008
    • 283

    #2
    http://www.maxmind.com/app/geoip_country is the IP/Country database.

    http://www.geoadsphp.com/ is one solution for you.

    I have a custom script that I can sell you fairly cheaply also if you are interested that is very simple to use.

    Comment

    • adonthenet
      Too lazy to set a custom title
      • Feb 2005
      • 16753

      #3
      Thanks, anyone else?

      Comment

      • adonthenet
        Too lazy to set a custom title
        • Feb 2005
        • 16753

        #4
        Bump it up...

        Comment

        • ravo
          Confirmed User
          • Jun 2001
          • 5472

          #5
          Go with Maxmind's database and API. Any competent host should be able to set this up for you, so it's available as an enviromental variable (which means would can do a simple redirect thru htaccess).
          AdultAdBroker - Buy and Sell Your Flat Rate Banners, Links, Tabs, Pops, Email Clicks and Members' Area Traffic - updated Oct 2026

          Comment

          • CurrentlySober
            Too lazy to wipe my ass
            • Aug 2002
            • 39088

            #6
            Talk to Borked...
            ️ ️

            Comment

            • borked
              Totally Borked
              • Feb 2005
              • 6284

              #7
              <?php
              require_once('geoplugin.class.php');
              $geoplugin = new geoPlugin();

              $geoplugin->locate();

              echo "<a href='/{$geoplugin->countryCode}.html'>Your own country link</a>";

              ?>

              see http://www.geoplugin.com/webservices/php#php_class

              all there is to it ;)

              For coding work - hit me up on andy // borkedcoder // com
              (consider figuring out the email as test #1)



              All models are wrong, but some are useful. George E.P. Box. p202

              Comment

              • borked
                Totally Borked
                • Feb 2005
                • 6284

                #8
                more precisely based on your requirements...
                Code:
                <?php
                require_once('geoplugin.class.php');
                $geoplugin = new geoPlugin();
                
                $geoplugin->locate();
                
                switch ($geoplugin->countryCode) {
                  case 'US':
                    $url = 'US.html';
                    break;
                  case 'UK':
                    $url = 'UK.html';
                    break;
                  case 'CA':
                    $url = 'CA.html';
                    break;
                  default:
                    $url = 'default.html';
                }
                echo "<a href='/{$url}'>Your own country link</a>";
                
                ?>

                For coding work - hit me up on andy // borkedcoder // com
                (consider figuring out the email as test #1)



                All models are wrong, but some are useful. George E.P. Box. p202

                Comment

                Working...