piwik.js: If cookies are disabled, no visitorId should be created / set #7780
Labels
Task
Indicates an issue is neither a feature nor a bug and it's purely a "technical" change.
Milestone
This means it will fallback to use
configId
. Otherwise we create a new visit on each tracker request (even when calling tracker methods multiple times within one pageview).Background: If a
idvisitor
is given, we will always look foridvisitor
but not forconfig_id
eg https://github.com/piwik/piwik/blob/2.13.0-rc2/core/Tracker/Model.php#L337-L339 .It goes into this code block for example if
trust_visitors_cookies
is enabled see https://github.com/piwik/piwik/blob/2.13.0-rc2/core/Tracker/Visitor.php#L141-L169 .By not setting a
idVisitor
if cookies are disabled, it would actually look for theconfigId
and not generate many visitsrefs #7752
The text was updated successfully, but these errors were encountered: