Get exclusive CAP network offers from top brands

View CAP Offers

Geo Targeting Script

[bsa_pro_ad_space id=2]
  • This topic is empty.
Viewing 11 posts - 1 through 11 (of 11 total)
  • Author
    Posts
  • #597620
    Anonymous
    Inactive

    Well guys – I think I came up with a solution for now so that I can keep my site and abide by the fuzzy new possibly soon to be law.

    http://www.hotscripts.com/Detailed/25398.html

    This script seems to have a good rating and would solve the problem. I have never used a geo targeted script before – anyone have any input on them? Are they pretty reliable?

    I figure if the user is from the USA I could direct them to a page explaining the current law, etc. etc. They wouldn’t get in – only non US players would.

    What do you guys think?

    #709885
    Anonymous
    Inactive

    Well, I didn’t look at the script but we use geo-targeting with php and it works like a dream so I can’t see why it wouldn’t be a good solution for you – go for it.

    #709890
    Anonymous
    Inactive

    This software looks nice. It would also be useful if you have any of your website translated too. Then you can redirect people from “mexico” to the “blahblah.com/spanish/” page on your site.

    Nice find.

    D

    #709891
    Anonymous
    Inactive

    I use GEO targetting on one of my sites in PHP also and it works well.

    #709892
    Anonymous
    Inactive

    Wait… do you need to be using .php to use this software? I currently run straight html and I’d like to use it.

    Here’s another one:

    http://www.comdevweb.com/geotraffic.php

    #709894
    Anonymous
    Inactive
    AdioKing wrote:
    Wait… do you need to be using .php to use this software? I currently run straight html and I’d like to use it.

    Here’s another one:

    http://www.comdevweb.com/geotraffic.php

    It would probably be impossible in HTML alone unless you can run SSI aswell (.shtml) as the page needs to be able to calculate and redirect or serve content applicably. There may be a Javascript add-in option but this would likely hurt seach engine rankings. You ideally need a client-side intelligent programming language like PHP or ASP. You could use Server Side stuff but again this would probably force in redirects unless you could use the “mod rewrite” facility to achieve this, which I’m not sure about.

    #709906
    Anonymous
    Inactive

    I use alot of these types of PHP scripts on my sites (never a geo one though). The script itself is programmed in PHP – your sever just has to support it, but this doesn’t mean it can’t run on an html site. You might want to shoot them an email to be sure though.

    #709917
    Anonymous
    Inactive

    As far as I´m aware all these scripts plug into the maxmind free geoip database with 98%+ accuracy. They query ip ranges and implement functions based on those queries.

    It´s fair to say that if you implement geo targeting you can claim that you have done everything humanly possible to keep US visitors off your site.

    #710216
    Anonymous
    Inactive
    AdioKing wrote:
    Wait… do you need to be using .php to use this software? I currently run straight html and I’d like to use it.

    Here’s another one:

    http://www.comdevweb.com/geotraffic.php

    To use php includes in an html page, you can go into your .htaccess file and put in the following codes:

    AddType application/x-httpd-php .html
    AddType application/x-httpd-php .htm[/CODE]

    Also, I found a great tutorial on how to set up a database and implement geo targeting here: [url]http://ekstreme.com/geotargeting/[/url] I’ve set up mine, however, I cannot figure out how to redirect US to another page (writing a code to enable this.) Any help would be appreciated on this.[CODE]
    AddType application/x-httpd-php .html
    AddType application/x-httpd-php .htm[/CODE]

    Also, I found a great tutorial on how to set up a database and implement geo targeting here: http://ekstreme.com/geotargeting/ I’ve set up mine, however, I cannot figure out how to redirect US to another page (writing a code to enable this.) Any help would be appreciated on this.

    #710270
    Anonymous
    Inactive

    if ($CountryCode == US){
    // display code for US Residents
    include (“us.html”);
    }else{
    // display code for World
    include (“world.html”);
    }

    Doesn’t have to be an include file of course, can be any php you want. Hope that helps.

    #710423
    Anonymous
    Inactive

    Thank you very much for the code, geoffvro! :) It was VERY helpful.

Viewing 11 posts - 1 through 11 (of 11 total)