diff options
author | Thomas Steur <tsteur@users.noreply.github.com> | 2020-07-09 01:22:20 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-07-09 01:22:20 +0300 |
commit | b0553730a95c5b6cd7408c5834ba8acd029c7375 (patch) | |
tree | c4c1b12eb3bbc079347489c3c3ffb75af7d9aeb9 /config | |
parent | 661c2dfb354892511a90001cea2f95f26baa75b5 (diff) |
By default userId should overwrite the visitorId (#16124)
* By default userId should overwrite the visitorId
* handle new visits
* Update Request.php
* fix some tests
* fix tests
* fix more tests
* add more tests, fix tests
* Update global.ini.php
* add better tests
* update screenshot
* update test file
Co-authored-by: diosmosis <diosmosis@users.noreply.github.com>
Diffstat (limited to 'config')
-rwxr-xr-x | config/global.ini.php | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/config/global.ini.php b/config/global.ini.php index 6fe210525e..374b4a4965 100755 --- a/config/global.ini.php +++ b/config/global.ini.php @@ -744,6 +744,12 @@ enable_tracking_failures_notification = 1 [Tracker] +; When enabled and a userId is set, then the visitorId will be automatically set based on the userId. This allows to +; identify the same user as the same visitor across devices. +; Disabling this feature can be useful for example when using the third party cookie, where all Matomo tracked sites +; use the same "global" visitorId for a device and you want to see when the same user switches between devices. +enable_userid_overwrites_visitorid = 1 + ; Matomo uses "Privacy by default" model. When one of your users visit multiple of your websites tracked in this Matomo, ; Matomo will create for this user a fingerprint that will be different across the multiple websites. ; If you want to track unique users across websites you may set this setting to 1. |