Optimizing Chat and Web Widget (Classic) performance

Return to top

8 Comments

  • Daniele Gabellini

    Hi Support

    If I use Web Widget only for "Contact forms" and NOT for "Chat", can I still enable the:

    connectOnPageLoad: false

    in order to improve performance site?

    Thanks

    0
  • DJ Buenavista Jr.
    Zendesk Customer Care

    Hi Daniele,

    Thank you for reaching out to Zendesk Support.

    In regards to your concern, the following performance benefits of using this code are mainly used in the Chat dashboard. This will help where agents are handling a large number of incoming chat requests and those who are interacting with the Web Widget.

    I don't see any issues using the following code since you will not be using chat or engaging with end-users from the web widget.

    Please don't hesitate to reach out if you have any other questions or concerns. Thank you and have a wonderful day ahead!

    Kind regards,

    DJ Buenavista Jr. |
    Customer Advocacy Specialist | Support@Zendesk.com

    0
  • Berto Alvaro

    We've implemented the suggestion but it loads intermittently or hangs with loading animation. Any idea what is wrong? This is our script:

    <!-- Start of tatcha Zendesk Widget script -->
    <script id=“ze-snippet” src=“https://static.zdassets.com/ekr/snippet.js?key=${KEY_VALUE}” defer> </script>
    <!-- End of tatcha Zendesk Widget script -->
    <script type=“text/javascript”>
    window.zESettings = {
    webWidget: {
    chat: {
    connectOnPageLoad: false
    }
    }
    };
    </script>
    0
  • Miranda Burford
    Zendesk Product Manager

    Hi @...,

    Thanks for your message.  Apologies for the short delay in my reply.

    The script looks OK, as is.  Would you mind sending over your website URL so we can see this in action and investigate further? 

    Thanks,

    - Miranda.

    0
  • Marcel

    Ive also implemented the suggestion with the following script, but the chat button does not display at all when connectOnPageLoad is set to false. It only displays when set it to true.
    Id like to have the chat button displaying, but only actually connecting once user clicks the chat button.

     

    <script type="text/javascript">
    window.zESettings = {
    webWidget: {
    chat: {
    connectOnPageLoad: false
    }
    }
    };
    </script>
    0
  • Miranda Burford
    Zendesk Product Manager

    Hi @...,

    Thanks for your message. 

    Would you mind sending over your website URL so we can see this in action and investigate further? 

    Thanks,

    - Miranda.

    0
  • Marcel

    Hi Miranda,

    Thanks for replying,

    Is there an email I can send to you?

    Thanks

    0
  • Miranda Burford
    Zendesk Product Manager

    Hi @...,

    Sure.  I just contacted you via email.  Please respond there and we can continue the conversation.

    Thanks,

    - Miranda.

    0

Please sign in to leave a comment.

Powered by Zendesk