Reply To: Buddypress, Analytics & GDPR
I’m not an expert on GDPR, but what are other large sites like Twitter doing about this? Twitter’s user handle is approximately the same as BP’s username.
If you want BuddyPress to use something else for the profile URL, you can set the username in the user_nicename DB field and BuddyPress will use that for the user profile URL.
Keep in mind that this might break whatever custom configurations you might have on your install.
If you’d rather not mess with altering the data in the user DB columns, you can also potentially filter 'bp_core_get_user_domain' and 'bp_core_set_uri_globals_member_slug'.
View this ticket for more info:
https://buddypress.trac.wordpress.org/ticket/6694
If you wanted to use a plugin to change the profile URL to use the user ID, you can try using a plugin like this (untested):
Reminder: Always test in a development environment before deploying major changes on a live site.