|Parameter Description||Parameter Value type with example|
|If you track users via a universal customer ID, populate this parameter with that ID. This should be an anonymized string and should not contain the user's email or other personally identifiable information.|
This parameter allows Bloomreach to recognize identified users in a way that is aligned with your system for various personalization features. Please note that the correct implementation of this parameter can vary for different user scenarios. Learn what parameter value you can set for each scenario in the next section.
If you do not track users this way, leave this blank.
If you track users, here’s how you can correctly implement the br_data.user_id parameter for various web user scenarios:
|Web User Scenarios||br_data.user_id Implementation|
|1.||User is a Guest (or Anonymous) user||Do not set |
|2.||Guest user logs in i.e. becomes a Logged-in User|
|3.||User logs out i.e. becomes a Guest user again||After logout, do not set br_data.user_id value, or set it to an empty string |
Note: When the user logs out, then the visit breaks.
Updated about 2 months ago