How to have the chatbot open or closed depending on pages?

There are functions that allow you to manage the Livechat bubble display :

● ideta_bot_action(“load”) : load the bot

ideta_bot_action(“load”, load_open?:boolean) is a function that accepts a second optional parameter, which is a boolean type (true/false) that allows you to load an already opened bot or not.

● ideta_bot_action(“remove”) : remove the bot
● ideta_bot_action(“hide”) : hide the bot (only if it is already loaded)
● ideta_bot_action(“show”) : show the bot (only if it is already loaded and hidden)

NB: We recommend that you use these functions via window“ideta_bot_action” (ex: window“ideta_bot_action” ) to avoid problems with the code editors.