There are a few things that need to be in place before your chatbot will be fully functional on your website:
- We set up an account for you in Automabots which creates a unique code for your chatbot (see below for instructions on generating your code)
- For security, we whitelist your website address in our system
- You or your webmaster inserts your chatbot code into your website
- Chatbot is ready to go!
Most of the time, it's as easy as that.
However, as with any software component, our code has to play well with a whole host of other products. Sometimes it's just a matter of where our code is inserted in the host website. Occasionally there are conflicts between our code and the code on the host website.
NOTE: We're including some technical details in the sections below as a resource to you or your webmaster.
Code Placement
Please ensure that the most recent version of the chatbot code snippet is added to your website code near the end of the header, body or footer of the page.
Your chatbot requires the insertion of a small snippet of code into your website. If you view your webpage source (view-source:yourwebsite.com) and search for 'automabots' you should see the automabots JavaScript code. If you can't find 'automabots' in the webpage source, then it either hasn't been added or isn't being inserted onto the page by the web application.
Here is an example of the chatbot code:
You can get the latest version of your chatbot code by logging into the Automabots Dashboard and navigating to Settings > Deployment. Here you will see a 'Generate JavaScript' button. Click the button and copy the code that is displayed in the window.
Whitelist Issue
If you have verified that the automabots code is properly added to your website and you still don't see the chatbot, here's another test. Open the developer's console of your web browser and reload your webpage. If you see an Unauthorized... 401 error associated with the automabots code, it is likely that your URL is not properly whitelisted on our end. This can happen when we set up an account for you with a different domain name or there has been a change to your website address.
This is real easy to fix. Just let us know at support@brivity.com and we'll get your site whitelisted ASAP.
Code Conflict
Every once in awhile our code conflicts with the website code and we see strange results. Open the developer's console of your web browser and reload your webpage. If you see some strange error like this
please open a support ticket at support@brivity.com and we will do our best to get it resolved with your website provider.
Comments
0 comments
Article is closed for comments.