Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
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

[Bug] Visitor showing as "returning" but visitor profile only contains 1 visit #22403

Open
4 tasks done
peterbo opened this issue Jul 17, 2024 · 6 comments
Open
4 tasks done
Labels
Potential Bug Something that might be a bug, but needs validation and confirmation it can be reproduced. To Triage An issue awaiting triage by a Matomo core team member

Comments

@peterbo
Copy link
Contributor

peterbo commented Jul 17, 2024

What happened?

Visitor showing as "returning" but visitor profile only contains 1 visit. Happens multiple times (not only a glitch with 1 session)

returning-but-only-one-visit

What should happen?

For visitors marked as "returning", at least 2 visits should be in the visitor profile

How can this be reproduced?

I can't open the visitor log on demo. Will try to reproduce elsewhere

Matomo version

5.1

PHP version

8.3

Server operating system

Debian 11

What browsers are you seeing the problem on?

Not applicable (e.g. an API call etc.)

Computer operating system

No response

Relevant log output

No response

Validations

@peterbo peterbo added Potential Bug Something that might be a bug, but needs validation and confirmation it can be reproduced. To Triage An issue awaiting triage by a Matomo core team member labels Jul 17, 2024
@michalkleiner
Copy link
Contributor

This can happen if the previous visit is removed e.g. using the GDPR tools or some other way. The visit marked as returning will stay marked as returning even when the original first visit is removed (for whatever reason).

@peterbo
Copy link
Contributor Author

peterbo commented Jul 23, 2024

Raw data deletion is set to > 1000 days and no GDPR tools deletion is used. Can there be any other case? We're using "fingerprint lookback window (14000 seconds) > session active window (1800 seconds)" recognition. A lot of fresh sessions are showing the "returning" symbol but only consist of one visit.

@sgiehl
Copy link
Member

sgiehl commented Jul 26, 2024

Hey @peterbo. When you hover the returning visitor icon, there should be a tooltip showing how many visits the visitor had. Does that one also show 1 visit?

@peterbo
Copy link
Contributor Author

peterbo commented Jul 26, 2024

Hi @sgiehl the icon tooltip shows 2 visits

@sgiehl
Copy link
Member

sgiehl commented Jul 26, 2024

Ok. But that means it at least found a previous visit when creating that visit 🤔
Are you able to find two visits for the same visitor id in the database?
Wondering if there might be some weird reason for the visitorid to be changed, even though it should reuse the same from the previous visit...

@peterbo
Copy link
Contributor Author

peterbo commented Jul 26, 2024

Hi @sgiehl
I can find other visits for the (potentially) same visitor:

returning-visit1

returning-visit3

config_id & IP is the same, but the visitor_id has changed. Both visitor profiles only show 1 visit.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Potential Bug Something that might be a bug, but needs validation and confirmation it can be reproduced. To Triage An issue awaiting triage by a Matomo core team member
Projects
None yet
Development

No branches or pull requests

3 participants