Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/romain/matomo-ip-to-company
A plugin for Matomo which gives you the name of the company that visited your website, based on its IP.
https://github.com/romain/matomo-ip-to-company
analytics analytics-tracking ipinfo matomo traffic-analysis
Last synced: 22 days ago
JSON representation
A plugin for Matomo which gives you the name of the company that visited your website, based on its IP.
- Host: GitHub
- URL: https://github.com/romain/matomo-ip-to-company
- Owner: Romain
- License: gpl-3.0
- Created: 2019-12-20T10:49:41.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2024-07-11T18:40:53.000Z (4 months ago)
- Last Synced: 2024-10-14T16:31:07.154Z (about 1 month ago)
- Topics: analytics, analytics-tracking, ipinfo, matomo, traffic-analysis
- Language: PHP
- Homepage:
- Size: 1.22 MB
- Stars: 15
- Watchers: 2
- Forks: 11
- Open Issues: 14
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG-v0.md
- Funding: .github/FUNDING.yml
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
# Matomo IPtoCompany Plugin
> New in version 0.3.0
> - Daily email report containing the list of companies that visited your website## Description
This plugin is meant to be installed on Matomo. It provides you with the name of the company which holds the IP that visited your website.
You can also use [IPInfo.io](https://ipinfo.io/) to get a more reliable result if you have an account. You will just have to set your access token in the General Parameters of Matomo.
This plugin has first been developed for the needs of the company I've been working for, [Wipsim](https://www.wipsim.fr/?pk_campaign=MatomoPlugin-Link&pk_source=matomoplugin&pk_medium=matomo)
## License
GPL v3 or later
## Requirements
Your Matomo version should be between 3.9.0 and below 4.0.0.
## Installation
Install it via Matomo Marketplace.
## Where to find the report once the plugin is activated?
Once you've activated your plugin, you'll see in the `Visitors` tab of each website a new `Companies` subcategory. This is were your new report lies.
You can also add this report as a widget to your dashboards.
## How reliable is this data?
The collected company names are based on the PHP function `gethostbyaddr`. This function returns the name of the company provided by the proxy used by the user.
Most of the big companies have their own proxy set up with a real name configured. But SMBs may not and in this case, you could see the name of their ISP appear.
Therefore, this information is not 100% reliable but this is still an interesting information to check from time to time.
If you have an access token set up for [IPInfo.io](https://ipinfo.io/), this plugin will use this data in the first place, before falling back to `gethostbyaddr`;
## Can I receive this report by email?
Yes! As of version 0.3.0, you can receive this report by email. You just have to go to Settings > Personal Settings and check the checkbox located in the IPtoCompany section which asks you if you want to subscribe to this report.
This report will then be sent to you once a day, for each site that you have access to, with the list of companies that visited your website the day before.
![How to activate the email report](https://github.com/Romain/Matomo-IP-to-Company/blob/master/screenshots/user-setting-subscribe-to-email-report.png)
## Can I define the lifetime of the cache?
As of version 0.4.0, yes, you can. In the general settings section, you can set the number of weeks during which the results should be kept in cache. By default, we keep them 2 weeks, and the minimum is 1 week.