[Piwik-trac] [Piwik] #45: Plugin for a precise geo localization

Piwik trac at piwik.org
Wed Apr 9 04:59:26 CEST 2008


#45: Plugin for a precise geo localization
--------------------------+-------------------------------------------------
  Reporter:  matt         |       Owner:                 
      Type:  New feature  |      Status:  closed         
  Priority:  major        |   Milestone:  Future features
 Component:  Plugins      |     Version:                 
Resolution:  fixed        |    Keywords:                 
--------------------------+-------------------------------------------------
Changes (by mikael):

  * status:  new => closed
  * resolution:  => fixed

Comment:

 Here we go! [[BR]]

 The version 0.1 of the GeoIP localisation plugin has been released.[[BR]]

 '''Features'''
  * Register the location of your users: Continent, Country, City,
 Latitude, Longitude based on their IP, using the Maxmind
 [http://www.maxmind.com/app/geolitecity Geolitecity database]. (Accuracy:
 98% for the Continent & Country; 69% for the City)
  * Display the Continent, Country, City statistics under the
 "Visitor/Locations and Provider" menu item.

 '''Installation instructions'''
  * Download and unzip the attached plugin.
  * Copy the /GeoIP folder into your /plugins folder in your Piwik
 installation directory.
  * Get the geolitecity database file
 [http://www.maxmind.com/download/geoip/database/GeoLiteCity.dat.gz here]
 and extract it. (This file is to big to be attached along with the plugin
 in this ticket).
  * Rename the GeoLiteCity.dat file to GeoIP.dat, and move it to the
 /plugins/GeoIP/libs folder.
  * Edit your /config/global.ini.php file, and add the following lines:

 {{{
 [Plugins_LogStats]
 Plugins_LogStats[] = GeoIP
 }}}

  * In your Piwik web interface, go to the administration interface. In the
 Plugin tab, you should see a line for the GeoIP plugin. Click the
 corresponding "Activate" button.

 '''Notes'''
  * No load testing has yet been conducted on this plugin.

 '''To do'''
  * Provide a tool to migrate the location information of the legacy data.
  * Modify the last visitor report plugin (see #44) and add a column for
 the city.
  * Provide visualisation on a map in the last visitor report plugin with
 the latitude/longitude data.
  * The geoip database can be integrated through an apache module. Get the
 data from this module when available.

-- 
Ticket URL: <http://dev.piwik.org/trac/ticket/45#comment:5>
Piwik <http://piwik.org>
Piwik, open source web analytics software


More information about the Piwik-trac mailing list