How to build this flow

Answered

10 Comments

  • Thomas Verschoren
    Comment actions Permalink

    Hey,

    You need the contact options, to be copied directly under the default widget code.

    You can see more options here: widget.premiumplus.io

    0
  • Joey
    Comment actions Permalink

    Thanks Thomas!

    0
  • Thomas Verschoren
    Comment actions Permalink

    No problem. 

    0
  • Tugrul
    Comment actions Permalink

    Hi,

    Thanks for the reply. But I have already tried that. It opens live chat or contact form after clicking the "leave us a message" button. Contact options does not seem to appear when help center is enabled.

    0
  • Thomas Verschoren
    Comment actions Permalink

    Do you have a link of your current code in production?

    Or can you copy paste your code below?

    0
  • Tugrul
    Comment actions Permalink

    My code is exactly like the code you shared in the first comment which is:

    window.zESettings = {
    "webWidget": {
    "contactOptions": {
    "enabled": true
    }
    }
    }

     

    0
  • Thomas Verschoren
    Comment actions Permalink

    Hey,

    Did you put this code wrapped in <script> tags immediately after the default Zendesk Widget code?

    Is there any other code in place?

    0
  • Tugrul
    Comment actions Permalink

    Yes. My exact and only code is:

    window.zESettings = {
    webWidget: {
    color: { launcherText:"#ffffff" },
    contactOptions: {
    enabled:true
    }
    }
    };
     
    There is no other zESettings related code. And I'm able to change the launcher text color. So, I'm sure the widget reads this settings object.
    0
  • Thomas Verschoren
    Comment actions Permalink

    Is this available online in production where we can inspect the full context?

    Cause your code seems to be good indeed.

     

    0
  • Bryan - Community Manager
    Comment actions Permalink

    Agreed with Thomas. This should get the desired behavior.

    Do you have Contact form and Ticket forms enabled under Admin > Channels/Widget > Customization?

    In addition, these and other widget settings are cached (for up to 10 minutes), so changing them and even doing a hard refresh of your client web page may not show changes immediately.

    Another idea is to try your widget code in isolation on a site such as JSBin.com to narrow down possible issues:

    0

Please sign in to leave a comment.

Powered by Zendesk