How does event.userId works?
# 🤝help
m
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
@modern-honey-58818 on which messaging channel, webchat ?
m
Yes
r
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/