Widget inserting

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

Embedding in Pages - 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/Admin as an administrator. In the section “Settings - General Settings - Packagesyou will see HTML code for inserting a button on pages, which can be easily copied. You can also immediately check the package 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>

This code must be pasted into the tag<head>or<body>elements of a website, e.g. between tags<head>and</ head>. The exact location of the code plays no role in the placement of the widget. The script is downloaded asynchronously.

Embedding in pages - CMS

In the case of CMS systems, the situation may be more complicated, but the insertion of code into the body of the website should work smoothly in most cases.

CMS instructions:

results matching ""

    No results matching ""