How do I hide the widget on certain pages of my website?

Modified on Wed, 8 May, 2024 at 1:39 PM

The web messenger in Freshchat, also known as the conversations widget, is used to deliver a convenient and contextual conversational messaging experience for customers. 


You can hide the widget on certain pages by using the below code under the <BODY> tag.


Sample code:

<script>
window.fcWidgetMessengerConfig = {
config: {
headerProperty:
{
hideChatButton: false,
}
}
}
</script>
<script src='//fw-cdn.com/1*****7/2*****4.js' chat='true'></script>


Note: To find the tracking code that you need to include before the  tag of the web pages you want to integrate, navigate to Admin Settings > Channels > Web Chat > Click Copy

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article