diff --git a/Configuration/Services/Tracking.yaml b/Configuration/Services/Tracking.yaml index 2559ce9..bacc641 100644 --- a/Configuration/Services/Tracking.yaml +++ b/Configuration/Services/Tracking.yaml @@ -133,6 +133,7 @@ services: arguments: $rule: > not (context.getAspect("backend.user").isLoggedIn()) + and not (context.getAspect("frontend.preview").isPreview()) and not (request.getHeader("User-Agent")[0] matches "/^TYPO3|TYPO3 linkvalidator/") and not (request.getHeader("User-Agent")[0] matches "/^Codeception Testing/") and not (request.getHeader("User-Agent")[0] matches "/Wget|curl|Go-http-client/") @@ -147,6 +148,7 @@ services: matches: > request.getQueryParams()["topic_id"] > 0 and not (context.getAspect("backend.user").isLoggedIn()) + and not (context.getAspect("frontend.preview").isPreview()) and not (request.getHeader("User-Agent")[0] matches "/^TYPO3|TYPO3 linkvalidator/") and not (request.getHeader("User-Agent")[0] matches "/^Codeception Testing/") and not (request.getHeader("User-Agent")[0] matches "/Wget|curl|Go-http-client/")