ip2location / ip2location-piwik
Use IP2Location geolocation database to lookup for accurate visitor location in Matomo. It enables the user to find the country, region, city, coordinates, zip code, time zone, ISP, domain name, connection type, area code, weather, MCC, MNC, mobile brand name, elevation and usage type that any IP ad
Installs: 129
Dependents: 0
Suggesters: 0
Security: 0
Stars: 32
Watchers: 11
Forks: 18
Open Issues: 0
Type:plugin
Requires
- php: >=7.4
- dev-master
- dev-5.x-dev
- 5.3.1
- 5.2.6
- 5.2.5
- 5.2.4
- 5.2.3
- 5.2.2
- 5.2.1
- 5.2.0
- 5.1.0
- 4.1.2
- 4.1.1
- 4.1.0
- 4.0.9
- 4.0.8
- 4.0.7
- 4.0.6
- 4.0.5
- 4.0.4
- 4.0.3
- 4.0.2
- 4.0.1
- 4.0.0
- 3.1.22
- 3.1.21
- 3.1.20
- 3.1.19
- 3.1.18
- 3.1.16
- 3.1.15
- 3.1.14
- 3.1.13
- 3.1.12
- 3.1.11
- 3.1.10
- 3.1.9
- 3.1.8
- 3.1.7
- 3.1.6
- 3.1.5
- 3.1.4
- 3.1.3
- 3.1.2
- 3.1.1
- dev-4.x-dev
This package is auto-updated.
Last update: 2024-11-09 23:03:17 UTC
README
Description
This IP2Location plugin enables more accurate location lookup in your Matomo 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.
Installation / Update
- Login into your Matomo administrator page.
- Go to System → Plugins.
- Click on the Install New Plugins button at the bottom of the page.
- Search for IP2Location from the plugin page.
- Install and activate the plugin.
- Upload a IP2Location BIN database to misc folder.
- Navigate to System → IP2Location page to make sure the BIN database is detected by the plugin.
- Go to System → Geolocation.
- Select IP2Location as provider and save.
Configure settings
You can visit IP2Location Settings by selecting the menu on the left pane (under System). This plugin support geolocation lookup using IP2Location BIN file and web service.
To use BIN file, please download it from the below links
To use ip2location.io Geolocation API service, please sign up for the free account at
How to import the IP2Location BIN file for usage
You should copy the BIN file into /var/www/html/misc folder (for default installation). If you customize the installation path, it should be the misc folder inside your root folder.
If you are using Matomo docker image, then you can use below command to copy the BIN into Matomo container.
sudo docker cp {YOUR_LOCAL_BIN_FILE_LOCATION} {YOUR_MATOMO_CONTAINER_NAME}:/var/www/html/misc
FAQ
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.io Geolocation API service?
Yes, please create an account from https://www.ip2location.io/ and insert your API key in the settings page.
IPv4 BIN vs IPv6 BIN
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.
License
GPL v3 / fair use
Support
Website: https://www.ip2location.com Email: support@ip2location.com