diff options
author | diosmosis <benaka@piwik.pro> | 2015-07-08 06:50:02 +0300 |
---|---|---|
committer | diosmosis <benaka@piwik.pro> | 2015-08-06 17:37:57 +0300 |
commit | aeb17d5958be81b4588a535c7a7a7a0c97724644 (patch) | |
tree | baf61454f4646ca646d54aa415d45ffdf7a6a242 /core/Tracker | |
parent | c7146884d703e99d7c57822aed0a58a04da37402 (diff) |
Make sure ping behavior is preserved despite last couple changes.
Diffstat (limited to 'core/Tracker')
-rw-r--r-- | core/Tracker/Visit.php | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/core/Tracker/Visit.php b/core/Tracker/Visit.php index a336a2df02..997fd4f805 100644 --- a/core/Tracker/Visit.php +++ b/core/Tracker/Visit.php @@ -122,6 +122,9 @@ class Visit implements VisitInterface // 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."); + $action = null; + $this->visitProperties->setRequestMetadata('Goals', 'someGoalsConverted', false); + $this->visitProperties->setRequestMetadata('Goals', 'visitIsConverted', false); } else { $goalManager = new GoalManager($this->request); |