-
-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Update resolution in subsequent tracking requests if previously unknown #22080
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
Conversation
…racking event of a visit
This pull request has been mentioned on Matomo forums. There might be relevant details there: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Left some comments for smaller tweaks, but in general I think this should be good to merge then.
Co-authored-by: Stefan Giehl <stefan@matomo.org>
Co-authored-by: Stefan Giehl <stefan@matomo.org>
Co-authored-by: Stefan Giehl <stefan@matomo.org>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@seb303 I've just added a simple Integration test, to ensure this behavior doesn't change by accident in the future. Will merge the PR once the tests have passed. Thanks again for your contribution 🎉
Fixes the issue mentioned here:
#22079
Opted for suggestion (2):
If the resolution happens to be "unknown" in the first page impression of a visit, then when a specific value is available from a subsequent page impression, this value will replace the "unknown" value. For backwards compatibility, once a specific value is set, it will not be overridden by a different value from a subsequent page impression.
Review