Add WebChat button to website

On this page, you will learn how to add the button directly into your website.

Embedding in website - General

You can find the Javascript code for inserting the Mluvii button in the administration interface. Sign in with your email and password on the page https://app.mluvii.com as an administrator. In the section “Settings - WebChat” you will see HTML code for inserting a script on pages, which can be easily copied.

You can also immediately check the widget settings on the Test page or in the Preview directly in the administration.

Example of code for insertion:

<script type="text/javascript">
  (function () {
    var scr = document.createElement('script'); scr.type = 'text/javascript'; scr.async = true; scr.charset = 'UTF-8';
    scr.src = '//app.mluvii.com/widget/OOWidget.js';
    scr.$owidgetOnLoad = function (owidget) {
      if (!owidget.isSupported) { return; }
      owidget.init('295b1064-cf5b-4a5d-9e05-e7a74f86ae5e', '5652Mluvii1654');
      owidget.connectToServer();
    };
    var ffs = document.getElementsByTagName('script')[0]; ffs.parentNode.insertBefore(scr, ffs);
  })();
</script>

Last updated

Was this helpful?