As we continuously work to improve our services, we strive to keep our clients informed of important updates. In March 2024, we officially stopped supporting Version 1 of our chat plugin. To ease this transition for clients using the Version 1 code but who want to use Version 2, we provided an installer that ensured it was a settings change to toggle between the two versions. However, moving forward, this installer will no longer be supported as it continues to need maintenance and avoid vulnerabilities. As a result, if you're still using the original method of installing the chat plugin then it's important to update to newer approach as soon as possible.
Please note that the installer will still be live until March 2025, but will no longer be updated or maintained and this can potentially introduce vulnerabilties to your site.
Here’s a breakdown of what this means for you and the steps you should take next.
Version 2 of our chat plugin offers enhanced features, improved performance, and greater stability. To focus on delivering the best possible experience, we’ve decided to direct our efforts toward supporting and improving Version 2.
The old approach to installing the chat plugin looked something like the code below. Note that some of the parameters such as the hostname may be different but the approach will be the same.
var host = 'https://wbb-chat-plugin.logicdialog.ai/';
window.addEventListener('wbb_plugin_loaded', function(event) {
new WBBChatPlugin({
client: "afeltham",
pluginHost : host
});
} )
// Add the WBB styles to the DOM
var $wbbStyles = document.createElement('link');
$wbbStyles.setAttribute('rel', 'stylesheet');
$wbbStyles.setAttribute('href', host + 'wbb-chat-plugin.css');
document.body.appendChild($wbbStyles);
// Add the WBB application logic to the DOM
var $wbbPluginScript = document.createElement('script');
$wbbPluginScript.src = host + 'wbb-chat-plugin.js';
$wbbPluginScript.async = true;
document.body.appendChild($wbbPluginScript);
If you’re still using the original code for installation, the installer redirects it to Version 2 based on your settings. This will continue to operate however as mentioned above, no new fixes or updates will be applied to this installer. Once the installer has loaded Version 2 of the chat plugin, this code is maintained and updated. To avoid potential disruptions, we recommend updating the method of installation to avoid using this 'installer' so that there is no unsupported code used.
It’s easy to switch to the latest version of our chat plugin:
<div id="uniqueIdForWidget"></div>
<script async src= "https://web-plugin.logicdialog.ai/dist/widget.bundle.js" ></script>
<script type="text/javascript">
const logicDialogParamsSettings = {
client: 'afeltham',
language: 'en',
startBlock: null,
}
var logicDialogParams = logicDialogParamsSettings;
</script>
Please pay attention to the 'client' parameter as this will ensure it is loading the correct workspace. if you have multi-lingual websites you may also need to change the 'language' property based on the language set on your website.
If you encounter any issues or have questions about this transition, feel free to reach out to our support team. We’re here to ensure a smooth upgrade process.
Thank you for your understanding and continued support as we work to provide you with the best tools for your business.