This plugin links the IP of the visitor with a database of IP ranges to be able to recognize special visitors. This database can be imported from a json file. For more infos check the docs and the FAQ. The minimum required PHP version is 7.4, but it should work with 7.3 too. Recommended is 8.0+.


View and download this plugin for a specific Matomo version:

Quick start

  1. Install the plugin
  2. Create your Json file
    1. If you don't have one, you can use the one I created with Austrian Government Agencies
  3. Import it ./console vipdetector:import-data /path/to/file.json

Json File Structure

[
 {
  "name": "Example Org 1",
  "ranges": [
   "192.0.2.0/24",
   "198.51.100.0/24"
  ]
 },
 {
  "name": "Example Org 2",
  "ranges": [
   "203.0.113.0/24",
   "2001:db8::/32"
  ]
 }
]

Why

I am a let's say "known person" in the Austrian government, mostly because I was one of five people suing them in a civil rights case. And I've a blog. Said blog get's visited by government agencies regulary, and I wanted to have an overview of this.

Limitations

The subnets you want to match on can't be smaller than what you set as the anonymisation factor for the IP adresses. For example if you set the masking for 2 bytes as recommended, the smallest subnet you can match is a /16, if you mask the last byte it is /24.

  • access from vip

View and download this plugin for a specific Matomo version:


Please share