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