Skip to:

Buddypress, Analytics & GDPR

  • knowitallninja


    So, Buddypress member pages show the username of the user obviously. This therefore will be passed to Google Analytics. The username counts as personally identifiable information, and therefore this is an issue with GDPR.

    This is my understanding. Is there a way to change the member page to use the userid of the member instead? Has anyone come across this problem and done something similar?

Viewing 1 replies (of 1 total)

  • r-a-y


    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:

    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):

    LH Number User Nicename

    Reminder: Always test in a development environment before deploying major changes on a live site.

Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.
Skip to toolbar