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

Reset Session and IDs #417

Open
t-unit opened this issue Aug 25, 2022 · 1 comment
Open

Reset Session and IDs #417

t-unit opened this issue Aug 25, 2022 · 1 comment

Comments

@t-unit
Copy link

t-unit commented Aug 25, 2022

Currently there seems to be no way to reset session information (sessionsCount, firstVisit, ...) as well as the visitor id. I would propose some functionality that enables deleting all stored data in the user defaults for a given MatomoTracker instance that keeps the instance usable and in correct state afterwards.

One use case for this is binding the session information to a user and not to the device. E.g. calling reset after user-logout and not keeping the session count etc.

Happy to supply PR with the proposed feature.

@SW-Vincent
Copy link

Hi, just a question about this topic : what is the default behaviour of a session then ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants