Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Actions prior to setting User ID (setUserId) "forgotten" (new Visitor ID is assigned) #14709

Closed
peachp opened this issue Jul 29, 2019 · 2 comments
Labels
answered For when a question was asked and we referred to forum or answered it.

Comments

@peachp
Copy link

peachp commented Jul 29, 2019

I saw few other similar issues, but I am not sure this is the same one.

Scenario:

  1. Completely new person visits our website
  2. Matomo creates records in the table log_visit and log_link_visit_action with new idvisitor say "0x11111111111"
  3. The person performs actions A, B and C
  4. The person "logs in" as person123
  5. Our website calls _paq.push(['setUserId', 'person123']);
    ...at this stage Matomo creates another record in log_link_visit_action and log_visit, but with new idvisitor, say 0x22222222 and with user_id person123
  6. User person123 / visitor 0x22222222 performs actions D and E.

Issue: the profile for the user person123 in Matomo only shows actions D and E.
Expectation: the profile for the user person123 should show actions A, B, C, D and E.

In other words, I don't see a reason why Matomo starts seeing the same person as new visitor once she "logged in" (= User ID is set via JS tracking API).

@tsteur
Copy link
Member

tsteur commented Jul 29, 2019

Thanks for creating the issue 👍 We will be changing this in #14360

@tsteur tsteur closed this as completed Jul 29, 2019
@tsteur tsteur added the answered For when a question was asked and we referred to forum or answered it. label Jul 29, 2019
@peachp
Copy link
Author

peachp commented Jul 29, 2019

OK, thanks for pointing to it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
answered For when a question was asked and we referred to forum or answered it.
Projects
None yet
Development

No branches or pull requests

2 participants