You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
the configUserId.length call will fail because configUserId is null. We resolved this issue locally by just setting the user id to an empty string, but it was hard work finding what failed in the minified source code.
How should one unset the configUserId correctly if the user logs out?
In my opinion, the application should be robust enough to handle wrong values or fail when they are passed. I am not sure which way piwik is going here, but it would be nice if the current behavior would be replaced.
The text was updated successfully, but these errors were encountered:
We track our users with the users userId and are using the
API call to track them. This works great, although we found a small problem. When a User logs out, we unset this property, by calling:
This leads to problems when calling
Because in this line in piwik.js:2919
the configUserId.length call will fail because configUserId is null. We resolved this issue locally by just setting the user id to an empty string, but it was hard work finding what failed in the minified source code.
The text was updated successfully, but these errors were encountered: