New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
3. possibility to receive GEOIP-Data #8121
Comments
Hi @hpvd For performance reasons and privacy reasons we will not let users use the webservice version of geo location. It's faster and safer to use local geo location database. Of course anyone is welcome to build a custom plugin to use such web API, such as: http://plugins.piwik.org/IP2Location |
vote for reopening :-) |
I have moved to a paid plan on Clicky (www.clicky.com) now. Much easier. |
@hpvd this should be done as plugin on marketplace, not in core... @berters you could also use Piwik Cloud which has the paid maxmind Db |
fyi: as a good starting point there is already a official webclient (php) available supporting this |
since there is a slight sign on horizon that there maybe eventually some work on this in the future when having this possibility there should be a possibility to a) limit the number of request
This is necessary because it's a pay per use service and without having control over it one may get afraid... To make this perfect a counter should count how often a limit takes action
having this one can decide if one wants to raise the limit or one say it's only a outlier and wants to keep everything as it is. |
regarding performance there shouldn't be problem at all because:
-- one can think of collecting geoip data in batch run for a day at night (when server load is low..) |
At the moment we have 2 options to use geoip-data within piwik
There is another 3. Option rto get the desired data:
3) using advanced, non free databases as webservices (payed per use)
see
https://www.maxmind.com/en/geoip2-precision-services
and api details:
https://dev.maxmind.com/geoip/legacy/web-services/
=> this is really interesting (and not that expensive) if you would like to use the most accurate, most detailed and most actual data but do not have millions of visitors on your websites
[This was extracted and optimized from #3442]
=> how to implement it?
that a good question .. especially because of performance
-> Maybe having some nightly cron job which fetches the data for the last 24h and add it to the visits?
hmm and of course one could use something like a local cache not having to fetch data for same IPs several times
The text was updated successfully, but these errors were encountered: