End of support for chat plugin installer

End of support for chat plugin installer

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.


Why are we ending support for Version 1 and the installer?

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.

 

How do i know if i'm using the old method of installing the plugin?

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);


What if I’m still using Version 1?

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. 

 

How to upgrade to Version 2?

It’s easy to switch to the latest version of our chat plugin:

 

  1. Navigate to Settings > Channels in your account for the workspace you wish to update.
  2. Click on Connect under the Chat Plugin section.
  3. Copy the raw code provided, it should look like the example below. 
  4. Replace the existing code on your website with this new code. 
<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. 

 

Need Help?

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.


    • Related Articles

    • Enabling Browser Notifications

      When a conversation is handed over to an agent, a notification is sent to all the agents who are currently logged into the platform. This notification makes them aware of the new conversation to handle so that customers aren't kept waiting. These ...
    • Raising Tickets

      If ever you have a technical problem with the platform, you can raise a ticket by logging into the support portal at https://support.logicdialog.ai. You can use the same login credentials to do so and once logged in you'll be able to raise a ticket. ...