mirror of
https://github.com/DanielSiepmann/tracking.git
synced 2024-12-04 10:06:08 +01:00
[FEATURE] Ignore UptimeRobot and Pingdom requests for statistics
This commit is contained in:
parent
e1f3613bb2
commit
8b4a7206ee
1 changed files with 1 additions and 0 deletions
|
@ -64,6 +64,7 @@ services:
|
|||
and not (request.getHeader("User-Agent")[0] matches "/Wget|curl|Go-http-client/")
|
||||
and not (request.getHeader("User-Agent")[0] matches "/Googlebot|Bingbot|bingbot|Slurp|DuckDuckBot|Baiduspider|YandexBot|Sogou|Exabot|NextCloud-News|Feedly|XING FeedReader|CCBot|SemrushBot|SEOkicks|Twitterbot|Seekport Crawler|SemanticScholarBot|ia_archiver|PaperLiBot|TrendsmapResolver|AhrefsBot|Nuzzel/")
|
||||
and not (request.getHeader("User-Agent")[0] matches "/mattermost|Slackbot|WhatsApp/")
|
||||
and not (request.getHeader("User-Agent")[0] matches "/UptimeRobot|Pingdom/")
|
||||
|
||||
DanielSiepmann\Tracking\Middleware\Recordview:
|
||||
public: true
|
||||
|
|
Loading…
Reference in a new issue