diff --git a/core/Tracker/GoalManager.php b/core/Tracker/GoalManager.php index b6ea4e38c976779e1c430933e712bf35a1179942..482019219bbf116a9bc5578507192e3ace5b770f 100644 --- a/core/Tracker/GoalManager.php +++ b/core/Tracker/GoalManager.php @@ -426,6 +426,8 @@ class Piwik_Tracker_GoalManager { $this->recordEcommerceItems($goal, $items); } + + Piwik_PostEvent('Tracker.recordEcommerceGoal', $goal); } /** @@ -803,6 +805,8 @@ class Piwik_Tracker_GoalManager : $visitorInformation['visit_last_action_time']; $this->recordGoal($newGoal); + + Piwik_PostEvent('Tracker.recordStandardGoals', $newGoal); } } /**