In the midst of re-designing SEOmoz I decided I really needed a change of pace. I've only lightly used AJAX, so I decided to build an AJAX powered tool that looks up the geographic location of an IP address. It seemed simple enough to build and I figured it'd be good practice for some upcoming SEO tools we've got in the works. The database I used to look up the location of the IP addresses provides the latitude and longitude of the targeted IP, so I threw google maps in the mix as well (GG maps accepts latitude and longitude for designation locations). The coordinates provided for each IP can be a bit weird (apparently the IP at my residence is in the middle of the mountains near north bend), but it's at least good for narrowing down the city, state, and country of the IP you're targeting.
Check it out if you have a chance: AJAX Powered IP Location Lookup.
AJAX Powered IP to Location Lookup
Moz News
The author's views are entirely his or her own (excluding the unlikely event of hypnosis) and may not always reflect the views of Moz.
What database do you get this info from?
Tom - I'll definitely be writing about that tomorrow. :)
Just curious. How does the traffic for being dugg compare to slashdotting for you?
Maybe you can try using the map to track your visitor at https://www.ip2map.com. It's free, fast loading and no usage limitation. I use it few months ago and quite satisifed with it!
Very cool. I, too, am interested in what db you are using to get your ip info.
so whatever happened to that tool - didn't see a link in our pro login (used to be, right?) and I accessed directly from the url & it doesn't work
Hallo, yeah it looks great I like your design!! ;)Did exist a chance to integrate on my own website? Thank you in advance for your answer!
Namaste
Elena
Nice tool. Now if only I can find the users of the IP's who keep trying to crack the pw to my servers.
dave4871 - that's very cool.
Good stuff.
Thought you may like to see my script which plots google search results on a google map
The tool shows the location of the top 10 sites for any keyword along with distance from google HQ.
Also its for charity :-)
sluz - It doesn't interface with the user comments right now, it just maps whatever IP you enter.
Wooo, 16 diggs on digg.com. I feel special. :D
Cool tool. Will this feature allow visitors to pinpoint the location of people who add comments by name or will it function like the Geo Visitor tool at Digital Point where it shows anonymous pinpoints? https://www.digitalpoint.com/tools/geovisitors/
Nice job...
Strangely, I'm about 20 miles into into the ocean, north of the island i live on!
Good old Google.
My test run on that thang was off about 15-20 miles as well, out in the middle of nowhere. (Due to lack of precision in Lat/Long?) It is still pretty cool. Meep
If i press my middle mouse button the pointer jumps all over the screen. I do alot of work with google maps on my sites, always like to see new ways to use them.
Bam! This is so freakin cool. 431 diggs and counting.
Can't believe you got this Dugg, Matt... Kudos, amigo.
Very nice.