matomo-org / plugin-TrackingSpamPrevention

GNU General Public License v3.0
12 stars 7 forks source link

Configuration or activation for individual websites #33

Open utrautmann opened 2 years ago

utrautmann commented 2 years ago

Hello, thanks for the great plugin. It helps a lot. If I recognize it correctly, it is active for the entire Matomo installation after activation and configuration. I cannot configure or disable it for individual websites. Right? The background to this is that in large installations with many websites, the configuration settings could be different, e.g. for headless browsers or the maximum actions.

Is it planned that in the future it will be possible to configure or activate the plugin for individual websites in one installation?

tsteur commented 2 years ago

Hi @utrautmann it's currently not on our roadmap. We might be adding it when more people ask for it so feel free to comment it here.

These's actually a small chance though that we might be needing this feature soon as well and then we might work on it.

Generally what might help you though is to configure tracking spam,

then allow certain IPs to be always tracked using config.ini.php setting like this:

[TrackingSpamPrevention]
iprange_allowlist[] =  "10.10.10.0/32"

If you require to allow certain headless browsers though there's no workaround just yet.