Knowing where visitors come from and placing them on the map is one of the functions provided by Google Analytics, but that functionality does not yet exist to show their own maps. The example represents my visitors today, with the disadvantage that there is no zoom, unless you want to see by country, and those annoying sizes can not be controlled.
However, the friends of Zipwise, using the API of Google Maps have made a nice toy that, just by receiving the hit of an image placed on the blog can reflect the last 100 visitors on the map.
To do this, the following code is copied in the header or in a Adsense deluxe type ad.
<a href="http://www.zipwise.com/geomap/"> <img src = "http://www.zipwise.com/images/geomap.jpg" alt = "ZIP Code Maps" border = " 0 "> </a>
Here I show the example of the area of influence of the Hispanic area frequented by Geofumadas at 10 PM, Venezuela time. Of course, with the disadvantage of just being able to see the latest 100 unless you grab the code of your API and do tricks to your liking.
The conversion of an IP to a coordinate of type lat, lon is a function that exists in SQL of the form INET_ATON () and INET_NTOA (). Although the friends of Zipwise claim that there is a simple way to convert it manually:
For the case, an IP 18.104.22.168 Is transformed by making fashion series:
12 * 256 ^ 3 = 201,326,592
34 * 256 ^ 2 = 2,228,224
56 * 256 ^ 1 = 14,336
78 * 256 ^ 0 = 78
Until you take it to the form:
Hehe, as easy as Geospatial Administrator of Bentley Map.
There are other data that can be downloaded from the Zipwise website, and through paid services to access your data.