chr1d
May 7, 2020, 9:50am
1
Hallo,
wie man auf dem Bild sehen kann, werden Aufrufe zur exakt selben Zeit vom selben Benutzer nicht gruppiert.
Reproduzierbar mit Chrome: Man öffnet dieselbe Seite in zwei Tabs und schließt Chrome. Nach Neustart des Browser werden beide Tabs automatisch geladen und zur selben Zeit werden die beiden Besuche getrackt.
Die beiden Besuche sollten ja eigl. gruppiert werden.
Lukas
(Lukas Winkler)
May 7, 2020, 10:42am
2
Hallo,
Darüber, ob das so richtig ist oder nicht gibt es hier eine längere Diskussion. Ich bin diesbezüglich aber auch nicht auf dem neuesten Stand:
opened 10:20AM - 19 Feb 20 UTC
closed 08:03PM - 21 Jul 20 UTC
duplicate
Regression
I'm setting a User-ID, when a user visits a given Site. On a certain action, I'm… triggering a goal serverside with his User-ID as a parameter (and a token). Effect after the Update from 3.12 to 3.13.2 is that the serverside triggered action is not only stored in another visit (which would be ok), but also fails to recognize the web-visitor with the same User-ID. For reference, the before/after screenshots:
Before (Visitor recognized -> new visit but returning visitor):
![userid-before1](https://user-images.githubusercontent.com/1018973/74825044-82a6c500-5309-11ea-8c28-bc30cf131904.jpg)
After (Visitor is not recognized -> Visit is not returning -> new visit and new visitor):
![userid1](https://user-images.githubusercontent.com/1018973/74825088-9a7e4900-5309-11ea-83f9-dbbce2c70ea4.jpg)
Serverside call:
https://example.com/piwik.php?token_auth=XXX&cdt=2019-08-07 18:56:10&idgoal=3&revenue=1234&idsite=X&rec=1&r=13454&uid=1234567890
In config, trust_visitor_cookie is disabled.
The reason for that is this change: https://github.com/matomo-org/matomo/commit/ea5a14bdf8aa9608cdc2ab7d5c8236a5ff1eb3e2#diff-6700aaf1ce500fe51e284b9ec6f01b01
The change works in the right direction, but now, a User-ID is only assigned to the same visitor, when also the config_id matches. This doesn't make sense, because the main use case is for example a user who logs into a website with different devices (GDPR aside, but the User-ID is for example the customer ID). This user should be recognized as the same visitor (not necessarily the same visit, but at least the same visitor). @MichaelHeerklotz
Refs https://github.com/matomo-org/matomo/pull/14360