I need to identify users, so if one user comes 6 times in one month is he going to have the same event.userId??
r
rich-battery-69172
03/27/2024, 2:53 PM
@modern-honey-58818 on which messaging channel, webchat ?
m
modern-honey-58818
03/27/2024, 2:57 PM
Yes
r
rich-battery-69172
03/27/2024, 3:26 PM
you cannot guarantee the userId will be the same, as it is based on local storage and cookies, but you can use the userData property on the webchat config to pass the identity of the user and make sure your chatbot recognizes them.
https://botpress.com/docs/cloud/channels/webchat/