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

Matomo : When resetUser() is fired then each futur event is tracked in a distinct visit #449

Open
1 of 3 tasks
GuillaumeWenabi opened this issue May 4, 2022 · 1 comment

Comments

@GuillaumeWenabi
Copy link

GuillaumeWenabi commented May 4, 2022

For support questions, please consider using Gitter - Chat

I'm submitting a ...

  • bug report

  • feature request

  • question about the decisions made in the repository

  • If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem

  • What is the expected behavior?
    After calling resetUser(), there should be an other method to call to avoid each event to be tracked in a distinct visit (when the same user is doing actions)

  • What is the motivation / use case for changing the behavior?
    When resetUser() is called then the property _paq.push(['appendToTrackingUrl', 'new_visit=1']); is set. This implies that each futur event or page tracked will create a new visit for this.

In my case, i use resetUser() when user logs out from my application. If I log back with new credentials there should be a way to reset visit like this _paq.push(['appendToTrackingUrl', '']); and track all events of new user in the same visit.

  • Environment:

please run the following and copy the output

./node_modules/.bin/ng --version
@MikaStark
Copy link

Having same issue

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