This doesn’t work: https://support.freshchat.com/support/solutions/articles/238297-how-do-i-hide-the-freshchat-widget-on-certain-pages-of-my-website-
I get the following console error: Uncaught TypeError: Cannot read property 'init' of undefined
This doesn’t work: https://support.freshchat.com/support/solutions/articles/238297-how-do-i-hide-the-freshchat-widget-on-certain-pages-of-my-website-
I get the following console error: Uncaught TypeError: Cannot read property 'init' of undefined
Best answer by srikanthkarunakaran
Hi
Can you please try the below script which will ensure to hide the chat in the desired page?
<script>
window.fcWidgetMessengerConfig = {
config: {
headerProperty:{
hideChatButton: true,
}
}
}
</script>
<script src='//fw-cdn.com/1*****7/2*****4.js' chat='true'></script>
For more customization, please use this link: https://developers.freshchat.com/web-sdk/v2/
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.