diff options
author | diosmosis <benaka@piwik.pro> | 2015-07-23 02:38:22 +0300 |
---|---|---|
committer | diosmosis <benaka@piwik.pro> | 2015-08-06 17:38:00 +0300 |
commit | ce95796113417924ac47eda75bba2c20317dbcf5 (patch) | |
tree | 168e8599a522dd13b4b000390c470f0fcbbbd4f5 /plugins/Heartbeat | |
parent | 27cc53695f62f60d8dfb6aec68b39637c406d9f5 (diff) |
Re-add Request parameter to RequestProcessor::recordLogs(), make GoalManager stateless and store in DI, move logic in GoalManager that determined info about a tracking request to request metadata, change someGoalsConverted request metadata to goalsConverted metadata so we can see exactly which goals were converted.
Diffstat (limited to 'plugins/Heartbeat')
-rw-r--r-- | plugins/Heartbeat/Tracker/PingRequestProcessor.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/Heartbeat/Tracker/PingRequestProcessor.php b/plugins/Heartbeat/Tracker/PingRequestProcessor.php index 80e9759df8..99c22bfc77 100644 --- a/plugins/Heartbeat/Tracker/PingRequestProcessor.php +++ b/plugins/Heartbeat/Tracker/PingRequestProcessor.php @@ -25,7 +25,7 @@ class PingRequestProcessor extends RequestProcessor // on a ping request that is received before the standard visit length, we just update the visit time w/o adding a new action Common::printDebug("-> ping=1 request: we do not track a new action nor a new visit nor any goal."); $visitProperties->setRequestMetadata('Actions', 'action', null); - $visitProperties->setRequestMetadata('Goals', 'someGoalsConverted', false); + $visitProperties->setRequestMetadata('Goals', 'goalsConverted', array()); $visitProperties->setRequestMetadata('Goals', 'visitIsConverted', false); // When a ping request is received more than 30 min after the last request/ping, |