Chat Settings - API

3 Comments

  • Greg - Community Manager
    Comment actions Permalink

    Hi Thomas Ribera! Before I answer this, I just want to let you know that even simple bits of sample code like this have the potential to make unexpected changes on your page, so please know that this is essentially just a sample that I'm sharing with you and we can not guarantee that it will work. If you do run into any issues with this (which hopefully you won't!), you may need to reach out to a front-end developer to help tweak some things.

    That being, if you're just looking to change the text of the widget bubble, specifically for Chat, then you would follow the sample from this documentation and you would just replace the phrase `Chat Now` with your text. Make sure you keep the quotes there for your text as well. You will want to add this snippet after the portion of your website where you currently have the widget script embedded, likely in the header or footer.

    <script type="text/javascript">
      window.zESettings = {
        webWidget: {
          launcher: {
            chatLabel: {
              '*': 'Chat now'
            }
          }
        }
      };
    </script>
    0
  • Thomas Ribera
    Comment actions Permalink

    Hi Greg - Community Manager, thank you for your kind return !

    My only question is this one : about the code you provided, is it only the code that needs to be embedded on the footer website ?
    I'm currently using the application Zendesk to Shopify, so I didn't embedded anything, but if I can change this text, then I might do it this way !

    Thank you very much.
    Thomas

    0
  • Greg - Community Manager
    Comment actions Permalink

    Hi Thomas! If you follow the instructions in this article, it will show you where you can embed that code!

    0

Please sign in to leave a comment.

Powered by Zendesk