diff options
Diffstat (limited to 'core/Tracker')
-rw-r--r-- | core/Tracker/RequestProcessor.php | 2 | ||||
-rw-r--r-- | core/Tracker/Visit.php | 12 |
2 files changed, 2 insertions, 12 deletions
diff --git a/core/Tracker/RequestProcessor.php b/core/Tracker/RequestProcessor.php index 0c8f2b02b0..3380dbe80d 100644 --- a/core/Tracker/RequestProcessor.php +++ b/core/Tracker/RequestProcessor.php @@ -52,7 +52,7 @@ abstract class RequestProcessor /** * TODO */ - public function processRequest(VisitProperties $visitProperties) + public function processRequest(Visitor $visitor, VisitProperties $visitProperties) { // empty } diff --git a/core/Tracker/Visit.php b/core/Tracker/Visit.php index 0a5a2f0425..fb3c4ee4c7 100644 --- a/core/Tracker/Visit.php +++ b/core/Tracker/Visit.php @@ -185,17 +185,7 @@ class Visit implements VisitInterface $this->request->setThirdPartyCookie($this->visitProperties->visitorInfo['idvisitor']); foreach ($this->requestProcessors as $processor) { - $processor->processRequest($this->visitProperties); - } - - // record the goals if applicable - if ($this->visitProperties->getRequestMetadata('Goals', 'someGoalsConverted')) { - $goalManager->recordGoals( - $visitor, - $this->visitProperties->visitorInfo, - $this->visitProperties->getRequestMetadata('CustomVariables', 'visitCustomVariables'), - $action - ); + $processor->processRequest($visitor, $this->visitProperties); } unset($action); |