diff options
Diffstat (limited to 'plugins/Heartbeat/Tracker/PingRequestProcessor.php')
-rw-r--r-- | plugins/Heartbeat/Tracker/PingRequestProcessor.php | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/plugins/Heartbeat/Tracker/PingRequestProcessor.php b/plugins/Heartbeat/Tracker/PingRequestProcessor.php index 44224ce0ab..d513e3f223 100644 --- a/plugins/Heartbeat/Tracker/PingRequestProcessor.php +++ b/plugins/Heartbeat/Tracker/PingRequestProcessor.php @@ -24,7 +24,12 @@ class PingRequestProcessor extends RequestProcessor Common::printDebug("-> ping=1 request: we do not track a new action nor a new visit nor any goal."); $visitProperties->setRequestMetadata('Actions', 'action', null); + } + } + public function manipulateVisitProperties(VisitProperties $visitProperties, Request $request) + { + if ($this->isPingRequest($request)) { $visitProperties->setRequestMetadata('Goals', 'someGoalsConverted', false); $visitProperties->setRequestMetadata('Goals', 'visitIsConverted', false); } |