Skip to content
Extraits de code Groupes Projets
Valider a85608da rédigé par Matthieu Aubry's avatar Matthieu Aubry
Parcourir les fichiers

Merge pull request #25 from ccagle8/goalHook

Added Tracker.recordStandardGoals Hook  	
Added Tracker.recordEcommerceGoal Hook 
parents ebd00950 2feb5995
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
...@@ -426,6 +426,8 @@ class Piwik_Tracker_GoalManager ...@@ -426,6 +426,8 @@ class Piwik_Tracker_GoalManager
{ {
$this->recordEcommerceItems($goal, $items); $this->recordEcommerceItems($goal, $items);
} }
Piwik_PostEvent('Tracker.recordEcommerceGoal', $goal);
} }
/** /**
...@@ -803,6 +805,8 @@ class Piwik_Tracker_GoalManager ...@@ -803,6 +805,8 @@ class Piwik_Tracker_GoalManager
: $visitorInformation['visit_last_action_time']; : $visitorInformation['visit_last_action_time'];
$this->recordGoal($newGoal); $this->recordGoal($newGoal);
Piwik_PostEvent('Tracker.recordStandardGoals', $newGoal);
} }
} }
/** /**
......
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Veuillez vous inscrire ou vous pour commenter