Getting the web widget to open at the 'contact channels' page

1 Comments

  • Simon Blouner
    Comment actions Permalink

    Hey Dawn Anderson,

    I think you can do this with some JS settings.

    If you need this to only happen on a specific article or similar, do a check around the following, checking for that URL. What you gotta do is suppress the HC functionality in the widget when on this specific page and clicking on your button, like this example:

    $( document ).ready(function() {
    $("ADD YOUR OWN BUTTON ID OR CLASS HERE").click(function(){
    zE('webWidget', 'updateSettings', {
    webWidget: {
    helpCenter: {
    suppress: true
    }
    }
    });
    zE('webWidget', 'open');
    });
    });

    Let me know if this solves your challenge. :-)

    #helpsome regards,
    Simon Blouner
    Zendesk Consultant @ helphouse.io

    1

Please sign in to leave a comment.

Powered by Zendesk