diff options
author | diosmosis <benaka@piwik.pro> | 2015-07-08 07:50:00 +0300 |
---|---|---|
committer | diosmosis <benaka@piwik.pro> | 2015-08-06 17:37:58 +0300 |
commit | 2ba74fba6bcb83a55963309d05cdc31c9d977103 (patch) | |
tree | 9106e6ed69f4eec27bc8cf608ba8a700171c0f30 /plugins/Goals/Tracker/GoalsRequestProcessor.php | |
parent | aeb17d5958be81b4588a535c7a7a7a0c97724644 (diff) |
Add new RequestProcessor to Actions plugin for action detection + new RequestProcessor for ping request handling. Ping request handling is performed in new Heartbeat plugin. Also added a new method to Plugin, isTrackerPlugin for plugins to override if they are tracker plugins, but don't have a dimension or implement a tracker method.
Diffstat (limited to 'plugins/Goals/Tracker/GoalsRequestProcessor.php')
-rw-r--r-- | plugins/Goals/Tracker/GoalsRequestProcessor.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/plugins/Goals/Tracker/GoalsRequestProcessor.php b/plugins/Goals/Tracker/GoalsRequestProcessor.php index ac475e5733..0cadff1a21 100644 --- a/plugins/Goals/Tracker/GoalsRequestProcessor.php +++ b/plugins/Goals/Tracker/GoalsRequestProcessor.php @@ -32,6 +32,8 @@ class GoalsRequestProcessor extends RequestProcessor $visitProperties->setRequestMetadata('Goals', 'someGoalsConverted', $someGoalsConverted); $visitProperties->setRequestMetadata('Goals', 'visitIsConverted', $someGoalsConverted); + $visitProperties->setRequestMetadata('Actions', 'action', null); // don't track actions when doing manual goal conversions + // if we find a idgoal in the URL, but then the goal is not valid, this is most likely a fake request if (!$someGoalsConverted) { Common::printDebug('Invalid goal tracking request for goal id = ' . $goalManager->idGoal); |