Incoming Messages & Events Much Higher than Norma...
# 🤝help
c
Hello, I recently conducted a second test to try to solve an issue I am experiencing when adding the bot to my website. I believe that every time a user enters the site, it passively activates the bot, which consumes some events. I came up with this theory because, in the logs, most conversations are empty. Additionally, the consumption of events is very disproportionate to the AI usage. After the first test, I tried to import the bot into a new environment; however, this did not solve the issue. I am attaching the method by which the bot was added to the site. Do you think the problem lies in this code? https://cdn.discordapp.com/attachments/1247533933365821572/1247534387487182858/D0lMuGfqArvHAAAAAElFTkSuQmCC.png?ex=66606070&is=665f0ef0&hm=3fa53ba8a80c681675df691602aa4ac48a4a4696485cff7f2df817a9a40527b2&
b
out of curiosity, do you have a trigger that begins the conversation?
b
hm - any idea why sessions would've gone back to normal a few days later?
spike to traffic on your site?
c
Actually I removed the bot from the site after a few days because of the big events consumption
b
ah well sure, that would account for the reduction in sessions
how was your bot deployed on the website?
c
I wasn't the one who deployed it to the website, so I don't know all the details, but I was told that they are just calling the bot (code print) and editing via CSS. Is there any specific information you think is relevant to add? That way, I can contact the person who uploaded the bot to the website and get all the details.
b
if they're embedding the bot within a div, and not accessible through the small clickable widget, then the conversation will be 'active' by default
i.e. it's embedded within the website
c
I spoke with the person in charge of placing the bot on the website, and I believe what you mentioned is indeed the problem. Thank you very much! Could you recommend a method for configuring this clickable widget? Can this be configured directly in the bot's code, or is it a function we add in other part when embedding the bot?
b
great!
the solution then is to embed the chatbot on the website using the default embed code, and not placing it directly within a div (they should know what this means)
usually when I see customers embedding the bot within a div, it's because that's a central part of the page - unfortunately, that will always cause this behaviour
the alternative, which is the default embedding method, just creates a little icon at the bottom right of the page, that users click into to "start" the conversation
since most users who visit a site don't click into the widget unless they need to, you should see the number of events stay steady at a normal/expected level
c
Thanks a lot! We will try that today
4 Views