How to show/hide the Live Chat widget in specific pages

Do you want to hide the live chat in specific pages? This is how to do it manually

Luca Micheli
Written by Luca MicheliLast update 1 year ago

If you want to hide or show the live chat widget in specific pages you can achieve it by using a short piece of Javascript code in your desired pages.


👉 Remember: by hiding the live chat widget the user's events and the attributes will be updated anyway. 


To hide the live chat widget put this code in your <body></body>.


   <script>customerly.hide();</script>



If your live chat is by default hidden in all your pages, you can show it in specific ones like this:


<script>customerly.show();</script>




Did this answer your question?