• I have been looking for a solution to the problem of where the “Chat” button pops up and a few seconds the seconds later, the “Start Chat” window opens.

    This is quite annoying and frustrating because it can deter visitors from staying on your website.

    I asked A.I. about this issue and it came back with an additional line of code (if you’re using the HTML code and not the plug) that has now cured the issue for me.

    I’m not saying it will work for everyone, but if you’re stuck like I was, then try it!

    So where it says // Add the following line, insert it into your existing HTML (I have made it bold so you can see which line)

    Good luck

    Steve

    <script>
      var chatbox = document.getElementById('fb-customer-chat');
      chatbox.setAttribute("page_id", "106554949017771");
      chatbox.setAttribute("attribution", "biz_inbox");
    
      // Add the following line to prevent automatic opening
      chatbox.setAttribute("greeting_dialog_display", "hide");
    </script>

The topic ‘Not so much a question but a solution’ is closed to new replies.