Recent searches
No recent searches
Uncaught ReferenceError: zE is not defined
Posted Oct 20, 2022
My console shows the following error:
"Uncaught ReferenceError: zE is not defined"
I'm adding in zE('webWidget', 'hide');
in a script for one particular page where the entire web widget must be hidden for compliance reasons.
We are injecting the web widget script in the header.
To hide the widget, I'm following the step outlined with an example here: https://developer.zendesk.com/api-reference/widget/api/#zehide
0
3
3 comments
Greg Katechis
hide
function before or after the widget script?0
Beatrice Schembri
Hi Greg Katechis, maybe you can help me out.
We bought the developer license for a custom theme in our Help Center, and now we would like to add authentication for the widget if the user is logged in. I tried following code snippets but now getting the error above. I have been adding code to document_head.hbs
0
Beatrice Schembri
Re-created the ticket in the Developer section as advised by other support agents, this can be closed.
0