This IP2Location plugin enables more accurate location lookup in your Matomo (Piwik) visitor log.
You need a IP2Location BIN database to make this plugin works. Database is available for free at
https://lite.ip2location.com or https://www.ip2location.com for a commercial database.
How to I configure the plugin?
Login as administrator, then go to System > IP2Location.
Where to download IP2Location database?
You can download IP2Location database for free at https://lite.ip2location.com or commercial version from https://www.ip2location.com
Can I use IP2Location Web service?
Yes, please purchase credits from https://www.ip2location.com/web-service and insert your API key in the settings page.
Why I'm getting undefined function error?
It might be one of the required PHP extension is not enabled. Please make sure you have following PHP extension enabled in your php.ini:
Use the IPv4 BIN file if you just need to query IPv4 addresses.
Use the IPv6 BIN file if you need to query BOTH IPv4 and IPv6 addresses.
View and download this plugin for a specific Matomo version: