User ID¶
Set the website's unique user ID. By setting user ID, session information uploaded from different devices can be aggregated to the same user even when the user is using multiple devices.
You should set the string that can identify the user as follows.
Member ID used in the service
Warning
Please do not set strings that may collide such as the user's name. In such case, multiple devices can be mistakenly aggregated to the same user.
Warning
You should not set the email address or the phone number and use the constant unique identifier as user ID. Once user Id is changed, Behavior history and user profiles of the original user will not be carried over.
Warning
Please do not set user ID before user has logged in. The behavior history tracked and the user profiles set while the user ID was not set will be inherited even after setting the user ID. If you explicitly specify the user ID before logging in, the behavior history and user profiles before login and after login will be aggregated as different users.
Warning
Please set the User ID after the snippet and before calling reproio("setup", "YOUR_REPRO_SDK_TOKEN").
Set User ID¶
Set the user ID described above. Maximum value length is 191 characters.
reproio("setUserID", "xxxxxxxxxxxx");