Does anyone know of a script that can do geotargetting with ASP? I want a page to show a banner on it if the visitor is from the USA or else just show the normal page. Did a google/hotscripts and can't seem to find anything Or does anyone know of a 3rd party service that can handle the custom banner on a page that way.
The language you are using really isn't the important part... you can do it with any language, but you need a geotargetting database first.
Yeah I see what you are saying, the site is on a windows box and Access or MS SQL could be used for the DB but not mysql.
Why not try a php script insted... Check this free php script that can do what you need: http://phpadsnew.com/ They have a geo database..
Usually the company you get the database from will give you sample scripts to use it with (including ASP).
We played with this a little on our site, the best we could come up with was some javascript that was provided by (i can't remember who anymore). You could use this to get some information from the client then adapt your banner to read this variable to do something with it. It needs a little work, however gets around having to have a database. <script language="Javascript" src="http://map.geoup.com/geoup?template=CountryName"></script> Code (markup): The above gets the region for the browser and writes it out. You can also use: <script language="Javascript" src="http://map.geoup.com/geoup?template=CityName"> <script language="Javascript" src="http://map.geoup.com/geoup?template=RegionName"> Code (markup): Good luck! J
Here is the DB - Hope it Work - It is Free - But needs to be updated on regular bases http://ip-to-country.webhosting.info/
Here is another free geo service http://www.maxmind.com/app/geoip_country They even provide demo code for hooking up to ASP http://www.maxmind.com/app/com