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
I changed the line $tracker->setCustomVariable($userEmailCustomVar, 'User email', $userEmail); to
$tracker->setUserId($userEmail);
And now Piwik records the email account as the user ID and displays the user account on the main Piwik dashboard view.
I don't know if this is any better in the long run from how you programmed it but I am passing along this tidbit in case you feel it is an even better solution and want to change it in a future release.
Thanks!
The text was updated successfully, but these errors were encountered:
I misread your comment at first. Your suggestion looks like it may be a better solution than stuffing it into a custom variable. Let me experiment with it to see the differences in Piwik's reporting.
Much better implementation of associating user data than using custom
variable originally implemented in #2 since a user may access
Roundcube multiple times across different devices or browsers and this
will aggregate all data under a single profile.
I've made the changes to use user ID instead and released version 2.0.0. This is much better than was implemented in #2 since it creates a profile in Piwik.
In regards to e781ec2
I changed the line
$tracker->setCustomVariable($userEmailCustomVar, 'User email', $userEmail);
to$tracker->setUserId($userEmail);
And now Piwik records the email account as the user ID and displays the user account on the main Piwik dashboard view.
I don't know if this is any better in the long run from how you programmed it but I am passing along this tidbit in case you feel it is an even better solution and want to change it in a future release.
Thanks!
The text was updated successfully, but these errors were encountered: