Hiding live chat widget when in Bricks editor?

Hi everyone,

This may not be specifically a Bricks topic, but we’re discovering on websites where we’ve enabled a Live Chat service for a website, that the widget displays within Bricks (twice!), obscuring sections you’d like to access. Is anyone aware of a way that this could be prevented from displaying when you’re using the Editor? If it matters, the LiveChat snippet is being deployed here through GTM, but we also occasionally deploy it through a LiveChat LLC plugin, or through adding every-page code through the Bricks settings.

Try to see if the code can be loaded on frontend only.

If it’s like a script or so, a code plugin might be able to set it in frontend only.

If it’s in functions.php you can maybe add some check to it to determine where it gets loaded.

Hi Ferry, thanks for the response. In this case the code is being deployed by Google Tag Manager. The trigger that applies the code based on URL can be modified to exclude specific pages, but I’m not sure if that can exclude based on query parameters - I’ll have to look into that. I do see that whenever the editor is active on a page, it adds the ?bricks=run parameter to the URL, e.g.: /mypage/?bricks=run Perhaps that can somehow prevent GTM from deploying the Live Chat while that parameter is active.