@diosmosis opened this Issue on October 16th 2012 Member

Here's a list of possible improvements for the GeoIP integration:


  • Auto-updater for GeoIP Databases (along w/ automatic download of free one) #3456
  • IPv6 support #3581
  • show maps of last 100 visits, or 500 visits (use standard "limit" selector to change limit). The map would plot on lat/long a marker. the marker when clicked would show the Visitor information, and a link to view the visitor log restricted to this particular visit.


  • Install GeoIP database when installing Piwik
  • 'near' segment, ie, near=12.456,-12.593,20mi (see https://developers.google.com/maps/articles/phpsqlsearch_v3#findnearsql for how-to)
  • Better fallback logic & tests for when/if a geoip location provider failed.
  • Add shared memory support for php lib.
  • test with Cloudflare proxy which pre-looks up the GEOIP and stores it in: $_SERVERHTTP_CF_IPCOUNTRY?
@hpvd commented on October 17th 2012

i do not know if it's possible because of the license type piwik is using:

but it would be very great to have 3 options to get the needed geoip data:
1) using free databases as download from maxmind
=> already included :-)
2) using advanced, non free databases as download from maxmind (onetime pay and pay for updates)
=> already included :-)
3) using advanced, non free databases as webservices (payed per use)
=> NEW !!
and api details:

and of course the possibility to use other free and commercial databases is although very welcome!! => but i could not find any suitable provider...

@hpvd commented on October 17th 2012

here you can find other free and non free service and a short maybe not fully representative benchmark:

the winner seems to be http://info.digitalelement.com/

@mattab commented on October 19th 2012 Member

I'll decrease priority, since except the Auto downloader, the other features wont be worked on by core team until after 2.0 - unless patch is provided of course.

@hpvd commented on October 19th 2012

maybe we should split this ticket into individual topics? So each one could have its own priority and milestone...

@mattab commented on October 19th 2012 Member

we'll create individual tickets for ideas we pick up, if we do (eg. if they are sponsored)

@hpvd commented on October 23rd 2012

just contacted Maxmind, to ask if they aren't interested in sponsoring one of the features above. I think that would be a great benefit for all.
The email I mention for their answer was sponsors(at)piwik.org - hope this is the right one?

@mattab commented on October 25th 2012 Member

The IPv6 bug was reported in: http://forum.piwik.org/read.php?2,95830

See the error message at: http://i.imgbox.com/adnwLxNr.jpg

it would be nice if we could at least prevent an error from displayed on ipv6?

@mattab commented on October 26th 2012 Member

There are good suggestions of messages to improve with regards to geoip in this forum post: http://forum.piwik.org/read.php?2,95830,page=1#msg-95860

@DaSchTour commented on February 1st 2013 Contributor

It seams to me, that the idea using cloudflare information like suggested in initial post somehow was overread. I think it's worth to take a look at.

@mattab commented on April 6th 2014 Member

Geo location now works well in Piwik :)

See geoip IPv6 support feature request: #3581

This Issue was closed on April 6th 2014
Powered by GitHub Issue Mirror