Advance Widget Options

Advance Widget Options

For geeks only

Hide widget on certain pages

To hide the SwayChat widget on certain pages, you don't need to remove it's code entirely, as you won't be able to track your visitor flow.
Simply add the attribute: data-hidden="true" to the script tag like below:

<!--SwayChat Plugin--> <script type="text/javascript" id="swaychat" data-hidden-"true" data-widget-id="{your_widget_id}" data-org-id="your_org_id"> (function(d, t) { var g = d.createElement(t), s = d.getElementById('swaychat'); = "swaychat-widget";g.src = "//" + ('swaychat' in window && swaychat.cdn ? swaychat.cdn : "cdn") + "";s.parentNode.insertBefore(g, s);}(document, 'script')); </script> <!--SwayChat Plugin-->

Pre-fill the form for logged-in users

If your website has logged-in users, and you don't want them to re-enter their information, simply add the code below anywhere on your page. It doesn't matter if our original widget code is before or after.

window.swaychat_api = function() {
        'name': 'your code to pass the name',
        'email': 'your code to passs the email',
        'phone': 'your code to pass the phone number'

results for ""

    No results matching ""