Links

Bot Installation FAQs

This section contains the FAQs related to the installation of various type of bot
How to install website bot using java script.
​
Copy the Javascript code from the BotPenguin app & Go to y
  1. 1.
    our website's HTML code
  2. 2.
    Paste the script in the head or body tag of your HTML code
Please Note
  1. 1.
    Ensure that you paste the script before the tag is closed, i.e., paste the script before </head> or </body>.
  2. 2.
    Make sure BotPenguin should be the last script to execute, as some scripts may override the BotPenguin script.
How to install a bot on a WordPress website?
After you have logged into your BotPenguin account, Go to the Bots Tab, select the desired Bot, and navigate to the Install section.
  1. 1.
    Move to the WordPress section and copy the API key available there.
  2. 2.
    Open your website's wp-admin, adding "/wp-admin" at the end of your Domain URL. E.g., If your website URL is "www.expample.com," then you can open WP-Admin using the Link "www.example.com/wp-admin"
  3. 3.
    Go to Plugins > Add new > Search Botpenguin > Install now > Activate plugin"
  4. 4.
    Install the "BotPenguin" Plugin and then activate the same.
  5. 5.
    Upon activating the Plugin, you will be redirected to the plugins page with the confirmation message "Plugin Activated."
  6. 6.
    Once your Plugin is activated, paste the Bot Penguin API key in the Box named "BotPenguin Snippet" that you Copied from your BotPenguin account.
  7. 7.
    Save the Settings, and you are all set. BotPenguin has been integrated into your website.
Bot is not showing up upon activation of wp-rocket plugin.
If you have both wp-rocket and BotPenguin Plugin/Script added to your WordPress site, You may face the issue of the BotPenguin not showing up on the website.
In case you are facing such issues, try the below steps, and it will solve the problem.
  1. 1.
    Login to your wp-admin panel and open the wp-rocket settings.
  2. 2.
    Go to the File Optimization → JavaScript Files -> Load JavaScript deferred
  3. 3.
    Add the BotPenguin bot script here under Exclude Java Script Files option, and done!
For more details, Check out the following documentation by wp-rocket
What is the minimum browser version requirement for the BotPenguin website bot?
BotPenguin is a JS-based software. Hence your browser must support the Java Script. The minimum requirement for some renowned browsers are as follows:
  • Google Chrome: Version 51 or above
  • Edge: Version 14 or above
  • Safari: Version 10 or above
  • Firefox: Version 52 or above

I face latency issues on my website when I have a chatbot installed. I tried adding a trigger delay, but the problem still exists; what should I do?

We understand the criticality of website speed and responsiveness. Adding a trigger delay only delays the chatbot from opening, but the script of the chatbot is loaded at the same time as the page, which can delay the overall page loading and create latency issues. This happens because of the vast processes that allow chatbots to run smoothly. However, this problem can be solved.
What needs to be done is-
In the document ready function, create a timeout function of 3sec. In that timeout function, create a script element with the details of the script shared while installing the chatbot.
As soon as you have included the script after a timeout, it will not affect the performance.
We understand that this process sounds typical. Please find the timeout function that you can add to your index HTML file to enable the timeout and resolve latency issues. This will work for websites running on angular.
// <script>
const scriptEle = document.createElement("script");
scriptEle.src = ('src', 'https://cdn.botpenguin.com/botpenguin.js');
scriptEle.setAttribute('id', 'BotPenguin-messenger-widget');
scriptEle.innerHTML = '<add from installation';
​
document.onreadystatechange = function () {
if (document.readyState == "complete") {
setTimeout(() => {
document.body.appendChild(scriptEle);
}, 3000);
}
}
</script>