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

visitor differentiation based on a custom variable #3309

Closed
anonymous-matomo-user opened this issue Aug 8, 2012 · 3 comments
Closed

visitor differentiation based on a custom variable #3309

anonymous-matomo-user opened this issue Aug 8, 2012 · 3 comments
Labels
Enhancement For new feature suggestions that enhance Matomo's capabilities or add a new report, new API etc. wontfix If you can reproduce this issue, please reopen the issue or create a new one describing it.

Comments

@anonymous-matomo-user
Copy link

solution for the issue discussed here: http://forum.piwik.org/read.php?2,87411

problem summary: visits are assigned to the last customer to log in to the site using piwik tracking when two or more customers are using the same computer during the lifetime of a piwik cookie

solution summary: I replaced the uuid based on browser info and timestamp with one based on the same browser info, a session id passed to the Tracker object at instantiation and a date string (to force a new visit if the session id did not expire after date change).

Keywords: visit session cookie

@anonymous-matomo-user
Copy link
Author

Attachment: add custom session id to identify unique visits based on who is logged in the site
custom_sessions.diff

@anonymous-matomo-user
Copy link
Author

please review :)

@mattab
Copy link
Member

mattab commented Aug 11, 2012

Thanks for the patch, nice idea, but probably we won't include this as a feature.

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Enhancement For new feature suggestions that enhance Matomo's capabilities or add a new report, new API etc. wontfix If you can reproduce this issue, please reopen the issue or create a new one describing it.
Projects
None yet
Development

No branches or pull requests

2 participants