Installation

Just paste it right before the </body> tag on the pages where you'd like to receive messages from users.

<!-- Quickley.Chat -->
    <script>
        
        (function(d, w, q) {
            w.QCHAT_ID = 'QCHAT_ID';
            w[q] = w[q] || function() {
                (w[q].q = w[q].q || []).push(arguments);
            };
            var l = function () {
                var s = d.createElement('script');
                s.type = 'text/javascript';
                s.async = true;
                s.src = 'https://quickley.chat/chat.js';
                var x = d.getElementsByTagName('script')[0];
                x.parentNode.insertBefore(s, x);
            };
            if (w.attachEvent) {
                w.attachEvent('onload', l);
            } else {
                w.addEventListener('load', l, false);
            }
        })(document, window, 'Quickley');
    
    </script>
<!-- /Quickley.Chat -->

Don't forget to replace QCHAT_ID with id of your chat. It can be found into configuration page.

Last updated