Closed robocoder closed 13 years ago
Attachment: ActiveIP2Country.zip
Attachment: 2010.01.12 update of ip-to-country.csv ActiveIP2Country.2.zip
Updates to the .csv file can be found at:
Proposal:
(This isn't being suggested for #45 due to trademark issues.)
I assume we can close this ticket, once GeoIP is in core? #1823
Yes, I'm rolling it into the new plugin.
Actually, I'll close this ticket now as the ip-to-country.csv file is longer being maintained. (4 months without an update)
ActiveIP2Country
The ActiveIP2Country plugin uses an IP-to-country database to determine the visitor's country. In contrast, Piwik normally guesses the visitor's country from his/her browser language and region.
Note: due to changes in IP block assignments, ActiveIP2Country does not attempt to correct earlier log_visit data.
This plugin uses any CSV (comma-separated values) file (named "ip-to-country.csv") containing IP address ranges (start and end expressed as longs) followed by a two letter ISO country code. Values may be double quoted. The country code can be upper or lower case.
The plugin will automatically generate a more compact, binary "ip-to-country.dat" file. To regenerate this file, simply remove it.
Performance
On my antiquated Athlon 1.4 GHz processor (test box):
If shared memory is available:
If updating the .csv file:
Requirements
To install
For support