Skip to content

Loading…

PiwikTracker should load the visitor ID from the first party cookie if available #4217

Closed
mattab opened this Issue · 2 comments

1 participant

@mattab
Piwik Open Source Analytics member

Suggested in pull request: #114 (comment)



PiwikTracker (pre-pull) did not use the Visitor ID from the cookie by default. The constructor creates a new, random cookie using setNewVisitorID(). A user had to run setVisitorID(getVisitorID()) to load the cookie. 

@mattab
Piwik Open Source Analytics member

In def6da2: Fixes #4217 Load Visitor ID from first party cookie if available

@mattab
Piwik Open Source Analytics member

In fbe7b19: refs #4217 Clearer with explicit init

@mattab mattab added this to the 2.0 - Piwik 2.0 milestone
@mattab mattab self-assigned this
@sabl0r sabl0r pushed a commit to sabl0r/piwik that referenced this issue
@mattab mattab Fixes #4217 Load Visitor ID from first party cookie if available def6da2
@sabl0r sabl0r pushed a commit to sabl0r/piwik that referenced this issue
@mattab mattab refs #4217 Clearer with explicit init fbe7b19
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.