We installed a custom code snippet that is supposed to load content on a couple of pages, and it does if you open the link directly or if you find the page via a google search. However, if you open a page from the site menu, the widget disappears and won’t show up unless you refresh the page. The issue persists even when turning off Caching (setting it to manual for 1 page).
The code:
<script
id="gb_widget_script"
type="module"
src="https://team.pinparrot.com/gb-widget.js"
data-container-id="gb-widget"
data-widget-token="2cd000312f7fb849e9695123762df1cf">
</script>
We also tried using “defer” in the code
data-widget-token=“2cd000312f7fb849e9695123762df1cf” defer>
and the issue persisted.
page example: https://www.gracepaintingcontractors.com/commercial
Is this happening because it isn’t a dynamic page or is something else blocking the loading of the widget?