@anonymous-piwik-user opened this Issue on June 25th 2009

It would be ideal to have event hooks to cater for existing users, that we can add additional functionality too.

Index: core/Tracker/Visit.php
===================================================================
--- core/Tracker/Visit.php  (revision 2)
+++ core/Tracker/Visit.php  (working copy)
@@ -148,6 +148,9 @@
                                    $idActionReferer, 
                                    $this->visitorInfo['time_spent_ref_action']
                            );
+
+               Piwik_PostEvent('Tracker.existingVisitorInformation', $this->visitorInfo);
+
            } catch(Piwik_Tracker_Visit_VisitorNotFoundInDatabase $e) {
                printDebug($e->getMessage());
                $this->visitorKnown = false;
@robocoder commented on June 25th 2009 Contributor

Defer to #813 review.

@robocoder commented on June 25th 2009 Contributor

Sorry, wrong ticket. Deferred to #613 review.

@robocoder commented on July 30th 2009 Contributor

see: Tracker.knownVisitorInformation

@robocoder commented on July 30th 2009 Contributor

(In [1344]) fixes #825 - add event hook for known users, Tracker.knownVisitorInformation

@robocoder commented on July 30th 2009 Contributor

updated wiki:Plugins/Hooks

This Issue was closed on July 30th 2009
Powered by GitHub Issue Mirror