Collectchat gives you developer options to customize your chatbots based on the conversation and interactions between user and chatbot. By default, these options are only available when the chatbot is used as Widget.
To enable these developer options for the chatbot when the Chatbot type is Embed, you need to add the following snippet code along with your chatbot Embed code.
<script type="text/javascript" src="https://collectcdn.com/embed.js"></script>First go to your Settings > General > Chatbot type and choose Embed as Chatbot type
Then go to Share and copy the iframe code.

Then wherever you place the embed code, you have to add the above mentioned snippet code. So it will look like:
Note
Following JavaScript methods are not available for Embed chatbots.
collectchat.config()
collectchat.open()
collectchat.close()
collectchat.toggle()
collectchat.load()
collectchat.unload()
collectchat.onThankyou()
You can use rest of the functions mentioned in developers.collect.chat
Still need help?
Contact us