We have recently removed the sign in requirement from the help centre and have also managed to hide most instances of a non-signed in user to submit a new request. The only problem now is the Zendesk widget in the HC.
We want to hide it only if the user isn't signed in. I know we can use the following to hide the widget in the script.js portion of the guide theme:
But this hides it for everyone. Is there extra JS I can wrap this in so that signed in users will see it but signed out users won't?
Thank you in advance.
Please sign in to leave a comment.