matomo-org / matomo

Empowering People Ethically with the leading open source alternative to Google Analytics that gives you full control over your data. Matomo lets you easily collect data from websites & apps and visualise this data and extract insights. Privacy is built-in. Liberating Web Analytics. Star us on Github? +1. And we love Pull Requests!
https://matomo.org/
GNU General Public License v3.0
19.87k stars 2.65k forks source link

Obsolete: ActiveIP2Country plugin: More accurate IP-to-Country reporting #1112

Closed robocoder closed 13 years ago

robocoder commented 14 years ago

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:

robocoder commented 14 years ago

Attachment: ActiveIP2Country.zip

robocoder commented 14 years ago

Attachment: 2010.01.12 update of ip-to-country.csv ActiveIP2Country.2.zip

robocoder commented 14 years ago

Updates to the .csv file can be found at:

robocoder commented 14 years ago

Proposal:

(This isn't being suggested for #45 due to trademark issues.)

mattab commented 13 years ago

I assume we can close this ticket, once GeoIP is in core? #1823

robocoder commented 13 years ago

Yes, I'm rolling it into the new plugin.

robocoder commented 13 years ago

Actually, I'll close this ticket now as the ip-to-country.csv file is longer being maintained. (4 months without an update)