I have integrated the HubSpot chat function in our website using GTM. It works all fine.
The issue here is that I want the chat to be hidden on our checkout page(due to some reason).
Here's how I have it configured now:
A custom pageview event occurs on all pages except the checkout page. This event is used to create a trigger CustEv-pageview. This trigger is used to activate the Hubspot chat tag.
Now, since the trigger doesn't fire on checkout page, the tag isn't activated and the Hubspot code should not be included in the section but it is.
And the chat widget is visible.
However, if I refresh the page the Hubspot code and the chat widget both disappear.
We use Nuxt.JS for our front-end.
Here are some screenshots.