CTA with chatbot widget icon
# 👀feature-requests
e
Call to action increases the rate of bot opening. Another question Is it possible to open the bot after 10 or 15 seconds of the website visit automatically?
m
How do you get the text above
m
great point!
q
yes, test this window.botpressWebChat.onEvent( function (ev) { window.botpressWebChat.sendEvent({ type: "loadConversation", }); }, ["LIFECYCLE.LOADED"] ); window.addEventListener("message", function (event) { // console.log(event.data.type); if (event.data.type == "LIFECYCLE.READY") { setTimeout(() =>window.botpressWebChat.sendEvent({ type: "show"}), 15000); } });
and you need trigger node
m
Save this thread please
b
where do you paste teh code into
q
in body of your website, first embed code than this code below. Thats how I got it.
m
How do you get the text above the widget
m
I think he did it as an example of what botpress should do
It's a great suggestion!
q
I will check it I think next week, when I get it working will msg you
m
That would be amazing thanks
c
Thanks for sharing the idea with us @early-tent-72819 ! I like this a lot 🙂
m
Could you add it so that text can pop up without any coding
c
I'm not the one making changes to the product... but I'm happy to transfer the info to the team!
Go upvote the feature. You know the drill, the more people want a feature... 🙂 the more attention it gets... meaning the product team will likely implement it!
c
@crooked-van-25152 , so it isn't possible yet? Only the new message notification?
@early-tent-72819 Would you share how did you do it?
m
Up vote the feature
j
does not work for me can you give me an example pelase?
m
Me too
c
I believe you have posted somewhere else about this and were trying to code it, right?
m
I want the code too
c
@crooked-van-25152 You are right. I've posted here: https://discord.com/channels/1108396290624213082/1150055906051104798 But instead of telling me directly that the only way to achieve this is by hard coding it, people were trying to explain me how to do it
c
I see Bassam in the thread; he'll be able to help you. This is beyond my capabilities. @chilly-church-46005