matomo-org / matomo

Empowering People Ethically with the leading open source alternative to Google Analytics that gives you full control over your data. Matomo lets you easily collect data from websites & apps and visualise this data and extract insights. Privacy is built-in. Liberating Web Analytics. Star us on Github? +1. And we love Pull Requests!
https://matomo.org/
GNU General Public License v3.0
19.95k stars 2.66k forks source link

[Feature Request] Segment filtering using standard subnet masks #19072

Open Jieiku opened 2 years ago

Jieiku commented 2 years ago

Summary

Would like to be able to exclude IPs in segments using standard subnets for example:

Additionally I am using Matomo Log Analytics, which rules out any plugin that requires cookies or javascript.

2022-04-08_17-13-56

Your Environment

peterhashair commented 2 years ago

@Jieiku If I am correct, you can set it up with at most and at least for the range of IPs . FAQ https://matomo.org/faq/how-to/faq_21018/. Let me know if require help for this.

Jieiku commented 2 years ago

I seen those options, they do not seem like a very efficient or even straight forward way of doing it when dealing with multiple IP ranges.

Would still like to be able to do it using standard subnet masks, as most other tools in the industry do.

Also the page you linked even says:

Note: you can only define one IP range at a time using this technique.

If subnet masks were supported you would not need two separate filters like you do with at most and at least and you would be able to exclude multiple ranges