https://discord.gg/botpress logo
How to add tags to the users
# 🤝help
b
Hey guys, Im trying to embed the chat bot to my front end and adjusted the widget code to pass user.name for each unique user from the website, but I can not find any mentions, documentation articles, which explain how I can also assign tags to the username, when a chat session is initialized. Does anyone know? https://cdn.discordapp.com/attachments/1362199680359993455/1362199680725028884/IMG_2754.jpg?ex=680186d0&is=68003550&hm=04982219049d2ecc37164ad5c2fbe7f5bd6864b8b622f64d3bb8cf8165ddd528&
o
^^ plese check that thread. I've answered a similar question / issue over there. Thanks Zannax!
b
@orange-egg-72655 I know there is a way to pass the user name through the react widget/embed (instead of making bot asking user), and Ive successfully implemented it, but I can’t figure out the way to do the same with the tags. For the name Ive adjusted code by adding user.name in window.botpress.init and bot successfully records the name after. Is there any way to do the same with the tags? I want tags to be assigned to the user before the conversation started
@orange-egg-72655 google even indexing old documentation page, which doesn’t exist anymore it look likes, clicking on the link just redirects to the documentation main page https://cdn.discordapp.com/attachments/1362199680359993455/1362452615224623245/IMG_2756.png?ex=68027260&is=680120e0&hm=5794292f53209254a86ef7ae9087dee6d1e8f9bf6deb499e213b1620f275c69e&
w
@billowy-hamburger-97029 please read the post, there @orange-egg-72655 update variable name but also tags.name
3 Views