![]() |
Geo WHAT? Geotracking? Tagging? Help here.
Using one ad, is it possible to clickthrough to a specific page depending on the users geo location?
For instance if someone in Alaska clicked the ad then it might show a site about shoveling snow but if someone in Hawaii clicked the ad then it would show a site about surfing. Is this possible? What is it called and where can I get a script to do this? |
Yes, use something like maxmind geoip, and a couple lines of php code.
|
Quote:
|
here you go
Code:
<html> like this Quote:
hope this helps., |
This looks real good...I will give it a try tomorrow. What about geo codes on the state and city level...all of which will be in the United States? Is it possible to get that specific?
|
Quote:
http://j.maxmind.com/app/geoip.js you will get something like this Code:
function geoip_country_code() { return 'DE'; } like the script i posted b4 using geoip_country_code() you can set to any of the above. try it., |
Quote:
Thanks |
Quote:
|
Quote:
I really appreciate your help! Works perfectly! |
Quote:
Code:
Free use of the service is allowed, if the following link is included on your website: Quote:
Quote:
http://dev.maxmind.com/geoip/javascript and imho , you should use something with php as this method wont work if browsers have javascript disabled. thanks |
this scripts looks good, but serving it from your own server just using their db would be even better
|
or you can use geoplugin
|
Quote:
|
All times are GMT -7. The time now is 05:18 PM. |
Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc