Remove personal data from messages

Created on 17 February 2018, over 7 years ago
Updated 30 December 2024, 5 months ago

Hi,

This is a very minor issue, but could be related to GDPR so I decided to report.
The problem is that Google Analytics saves messages from Drupal and shows them in the Analytics data. That's ok, but I noticed that in some messages a user name or his/her email (when username is an email address) will be saved to analytics data. So I can see now in my Google Analytics -events reports some of my users email addresses in the messages "You are now logged in as a user: "user@mail.com"

How to repeat:
1. Enable Google analytics module and all check all "track messages type" checkboxes.
2. Create a user and put username email address.
3. Log in with that user
4. Go to Google Analytics and see from the events reports, email address appears in the events at least in the messages "You are now logged in as ..."

To prevent this I can uncheck the "Track messages" from the module but then I loose all the messages from Analytics.

Is there a way to remove only the user data from the messages when sending them to Analytics? So the event in the Analytics data would look like "You are now logged in as: (removed)"

💬 Support request
Status

Fixed

Version

2.0

Component

Code

Created by

🇫🇮Finland jukka792

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024