diff options
author | john357smith <john357smith@gmail.com> | 2020-04-08 11:15:43 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-08 11:15:43 +0300 |
commit | bb4cad6d756e119f92f397a8dd4574d0d1bf539c (patch) | |
tree | f4f8864aa31ed43ffcc3f9a6d896976c06d8229a /config | |
parent | 71678ffb0acbaac470be94b85015a0a22c615205 (diff) |
Adds option to disable referrer spam blacklist (#15744)
* Update VisitExcluded.php
Added option to disable referrer spam blacklist.
* Update VisitExcluded.php
Config parameter changed to enable_spam_filter.
* Update global.ini.php
Added option to disable spam blacklist.
* Update core/Tracker/VisitExcluded.php
Co-Authored-By: Stefan Giehl <stefan@matomo.org>
* Update core/Tracker/VisitExcluded.php
Co-Authored-By: Stefan Giehl <stefan@matomo.org>
* Update Tasks.php
Added check if spam filter is enabled.
Co-authored-by: Stefan Giehl <stefan@matomo.org>
Diffstat (limited to 'config')
-rwxr-xr-x | config/global.ini.php | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/config/global.ini.php b/config/global.ini.php index 04485db61a..b38e688281 100755 --- a/config/global.ini.php +++ b/config/global.ini.php @@ -895,6 +895,9 @@ tracking_requests_require_authentication_when_custom_timestamp_newer_than = 8640 ; NOTE: you must also set "[Tracker] debug = 1" to enable the profiler. enable_sql_profiler = 0 +; Enables using referrer spam blacklist. +enable_spam_filter = 1 + [Segments] ; Reports with segmentation in API requests are processed in real time. ; On high traffic websites it is recommended to pre-process the data |