Audience
Matomo Users
PIWIK Administrators
Overview
These are step-by-step instructions on how to install and update IP2Location.
Steps for Installing IP2Location
System requirements:
PIWIK installation up and running
- Logon to PIWIK with administrator rights.
- Locate the "Gear/Wheel" symbol on the top right hand corner of the main page and click it.
- Once at the administration page locate the Plugins button on the left side of the page under Administration and click it.
- On the right side of the page you will see the "Install New Plugins" link. Click that link.
- You will now be given the Marketplace page identifying the new/possible plugins that can be used. Locate the IP2Location Plugin and click Install.
- Once you have successfully installed the Plugin you will see the plugin displayed on the left hand side. Now you must configure the plugin to communicate with a DB for its data.
Steps for Upgrading IP2Location Database
- Logon to PIWIK with administrator rights.
- Locate the "Gear/Wheel" symbol on the top right hand corner of the main page and click it.
- Once at the administration page locate the specific plugin IP2Location on the left side of the page under Administration and click it.
- If you have not configured the plugin to use a DB you must do so. Navigate to http://lite.ip2location.com/ and download the most current DB appropriate for your installation. Ensure you download the IPV4 BIN file. You can use the CSV file but then you will be required to import to the DB. The BIN file is much easier.
- After you have downloaded the BIN file you will extract/unzip the file into the following directory path \inetpub\wwwroot\webanalytics\plugins\IP2Location\data\.
- The PIWIK system will automatically recognize the BIN file and you will see your ability to query any IPV4 address for its specific information.
Plug-ins to be Used
For best performance and a more detailed identification of visitor activities the below third party plugins were added to the normal default PIWIK installation.
- AdminNotification: Allows for a message to be placed on all user dashboards. This can be used to pass technical information concerning scheduled maintenance.
- BotTracker: Detects bots & spiders and counts their visits without tracking them in the visitor log.
- CustomDimensions: Extend Piwik to your needs by defining and tracking Custom Dimensions in scope Action or Visit.
- FreeMobileMessaging: Mobile Messaging Plugin: Free Mobile support.
- IP2Location: Use IP2Location geolocation database to lookup for accurate visitor location in Piwik.
- Ip2Hostname: Piwik plugin to get the hostname from the visitor IP.
- LogViewer: View Log messages logged by PIWIK.
- LoginLDAP: Login plugin with LDAP authentication. Provides an alternative to the standard Piwik Login plugin.
- PerformanceInfo: Piwik plugin to check if the settings are good for security/performance.
- PlatformsReport: New report in Visitors > Platforms that aggregates visits based on device type, OS version & browser version.
- ReferrersManager: This plugin allows to view and manage search engines and social networks that are recognized with Piwik.
- ReportPublisher: Publish Piwik reports to external systems using various protocols. Please consult the changelog for available protocols.
- SecurityInfo: Based on PhpSecInfo from the PHP Security Consortium, this plugin provides security information about your PHP environment and offers suggestions for improvement. It is a tool in a multilayered security approach. It does not replace secure development practices nor audit the code/application.
- TrackingCodeCustomizer: The provided values will replace the defaults in the generated tracking code (leave blank to use defaults). Viewing https://github.com/piwik/piwik/blob/master/core/Tracker/TrackerCodeGenerator.php is recommended to deconstruct how the tracking code is built.
- TreemapVisualization: This Piwik plugin adds a new report visualization: the treemap.
- kDeBug: Activate or deactivate DEBUG tracking mode with a simple click.
Feedback and Concerns:
If you have any feedback regarding this article, please reach out to hsitkb@pitt.edu. You can also leave a comment below as well.