Embed bots in iFrame
With Cataleya, you now have the ability to trigger the bot in the new tab or window based on your preference, ensuring that currently content on the web page is not hidden behind chat screen
How do I display the chatbot in iFrame?
It is pretty simple and requires minor changes in the code that you will need to make in-order to have the bot trigger in different window or tab. You can follow the following steps;
Go to 'Channel Configuration -> Web -> Configuration'
Enter the URL of your website in 'Website URL' where you would like the bot to be deployed
Copy the 'Code Snippet'
Replace the following script source;
With the following script;
You can change the height and the width of the chatbot or chatbot screen based on your preference by making changes in the above code, under "Height" & "Width" option by using either pixels (px) or percent (%)
Copy & paste the code snippet post making changes in the code on those pages of your website where you would like to display the bot
Cataleya recommends having the code copied before the <Body> tag in-order to ensure that the bot triggers as soon as the web page loads
Last updated