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
Add setting to customize the time-limited seed of config_id hash #19913
Comments
Hi @sandin78, it would be nice to be able to look back further for config_id matches, but it seems like there may be issues with daily archiving accuracy if the config_id doesn't rotate every 24hrs. Disabling the @tsteur, @sgiehl Do you have any insight into why there is a 24hr maximum for the config_id? |
It was restricted to 24 hours for privacy reasons. Usually, cookies or some similar technology can be used to track users over a long period and if they can't or shouldn't be used then we restrict to 24 hours as otherwise you could see the config_id as fingerprinting. An option to change this behaviour could be possible though 👍 |
Yes. I understand the benefit of having this restriction and the selling point for the Matomo user is "i can't change it even if I wanted to". I guess there's a whole bunch of Matomo settings that helps the Matomo admin to comply with various privacy laws, but they can be configured in a non-compliant way. So it's up to the Matomo admin to comply, and I think it would be the same regarding this setting. Default should be 24h. |
Hm, obviously I don't know why this could be, but it would be great to get some insight. If I were to test setting |
Okay I dug a little and found I guess the way the archiving is designed, it runs each day separately. I mean of course there is no limit for how long visits could last, but it would be possible to regenerate day1 if finding actions on day2 belonging to day1. I will test this. It will be interesting to see if the actions of each day add up to the weekly :). But I think that this issue could be closed! There's no need to set a limit for this when the limit can already be removed and timelimited then by another setting. |
Thanks for posting your findings @sandin78, this information might be useful for other people wanting to try the same thing and can help inform any future improvements made to this part of Matomo 👍 |
This issue has been mentioned on Matomo forums. There might be relevant details there: https://forum.matomo.org/t/change-config-id-settings-possible/48338/2 |
Summary
When user_id or cookies are not available Matomo falls back on using config_id to identify, as far as it can be done, unique browsers. When reports are archived, the parameter window_look_back_for_visitor limits how much of the history is searched to determine if the visitor is returning or new, but this setting can be modified to longer time periods.
However, the config_id is not persistent over long time.
From https://matomo.org/faq/general/how-is-the-visitor-config_id-processed/
the config_id is only valid for 24 hours maximum and is then rotated, meaning the same visitor will have a different config_id each day.
If the time period of the rotation could be set in config, or even turned off, the unique visitors would not be limited to daily reports.
This would be specially helpful for tracking returning visitors coming via iframes etc, or where there are technical reasons why cookies are unavailable.
The text was updated successfully, but these errors were encountered: