@mattab opened this Issue on January 23rd 2020 Member

Reproduce:

  • Go to Visitors>User IDs,
  • click the segmented visits log icon on a given User ID
  • the Visitor profile modal opens
  • Got: it shows the visits for a specific visitor ID. The URL looks like this for example. we clicked on the User ID momofdivers yet the URL includes visitorId$3Dd6ed99710191f9f5 instead of userId$3Dmomofdivers
  • Expected instead: it shows the visits where User ID is momofdivers

This has become a bigger issue after https://github.com/matomo-org/matomo/pull/14360 now that many User Ids visits can share the same visitor id.

Note: bug reported by on-premise customer.

It is important and expected to be able to see all visits for a given User ID directly using that icon.

Note: a workaround in the meantime is to create a Segment for each user ID and apply the segment to the Visits log.

@tsteur commented on January 23rd 2020 Member

This is not a bug. Visitor log always shows visitor log. What you are after would be a User profile basically.

@mattab commented on January 23rd 2020 Member

1) then we would need to remove the "User ID" from the visitor profile?

currently it shows the user ID: Screenshot from 2020-01-23 15-01-05

2) also the "Open Visitor Profile" next to the User ID row, make people expect that they will see all visits for that visitor/user id. All other reports do this, when you click on the segmented visits log icon, it will segment with this dimension applied. But User ID is different. Maybe it's fine to leave it this way, but it's not quite clear.

@tsteur commented on January 23rd 2020 Member

Saying always Visitor Profile sounds good.

All other reports do this, when you click on the segmented visits log icon, it will segment with this dimension applied

In this case we are not showing the segmented visitor log, but the visitor profile. That's why it is expected to not be applied. Could also just show the segmented visitor log instead of the profile.

@mattab commented on January 23rd 2020 Member

Saying always Visitor Profile sounds good.

:+1:

Could also just show the segmented visitor log instead of the profile.

That would work better imho :+1:

@KarthikRaja1388 commented on February 20th 2020

same issue is raised again, viewing the segmented profile from "Visitors > user ID" is showing visits for one visitor id and ignoring the others

@mattab commented on February 27th 2020 Member

On a call now with a user, and he mentions how this is important.

There are 2 things to improve:

  • User ID report -> icon should open a User Profile showing all visits from this user id on all devices
  • Visits Log -> icon "View visitor profile" ideally be renamed to "View User USER_ID_HERE" for visits with a user id, and then when clicked it opens the User Profile showing all visits from this user id on all devices
@tsteur commented on February 27th 2020 Member

@mattab what I'm reading here is to restore the old behaviour of user feature which refs https://github.com/matomo-org/matomo/issues/15593 . They could also simply like it was suggested for @peterbo try to set visitorId to same value as userId or generate it based on userId it might work.

From our side, if https://github.com/matomo-org/matomo/issues/15593 is not restored to the original behaviour, we will most likely show the segmented visitor log here

@mattab commented on March 5th 2020 Member

Let's wait for https://github.com/matomo-org/matomo/issues/15593 resolution. If we set Visitor id as a hash of User ID, then it would "solve" this issue as well.

@mattab commented on September 24th 2020 Member

Parts of the feature were re-added in https://github.com/matomo-org/matomo/pull/16226/files
but currently set to 0: enable_userid_overwrites_visitorid = 0
(the ini has no description and not documented yet in the website?)

-> would we consider set this to 1 by default in the future or in Matomo 4?

@tsteur commented on September 24th 2020 Member

It is 1 in Matomo 4 already

@mattab commented on September 24th 2020 Member

Ok so this issue is likely already solved :+1:
I'll test it as soon as I get 4.x-dev working (currently getting the Unknown column 'log_link_visit_action.time_network' in 'field list' )

@mattab commented on September 24th 2020 Member

Great news, it's now fixed in Matomo 4 :tada:

This Issue was closed on September 24th 2020
Powered by GitHub Issue Mirror