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

Pass logged in user to custom variable #2

Closed
GitPuffy opened this issue Nov 11, 2016 · 2 comments
Closed

Pass logged in user to custom variable #2

GitPuffy opened this issue Nov 11, 2016 · 2 comments
Assignees

Comments

@GitPuffy
Copy link

It would be great if your plugin could pass the logged in user (user@domain.com) to Piwik in the custom variable field. For example have the user information passed as custom variable name userName

@tetsuo13
Copy link
Owner

I've added a new configuration variable to assign a custom variable slot ID to record the user's email address, $rcmail_config['piwik_tracking_api_user_email_custom_var']

Set this to a number from 1 to 5 to use.

This was a really good addition and I couldn't believe it wasn't already there. Thanks for the suggestion!

@GitPuffy
Copy link
Author

The enhancement works well. Thank you!

tetsuo13 added a commit that referenced this issue Dec 7, 2016
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.
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