Previewing your Tag Manager changes is best practise to avoid errors on your live site, but in cases where this isn't working and your changes and potential errors aren't likely to have serious consequences, you can always publish your changes to your live site. If you do have issues you can then rollback to your previous version of your Tag Manager container https://support.google.com/tagmanager/answer/6107163?hl=en#
Matthew Shepherd
Freelance HubSpot Consultant CRM Consultant | SEO Specialist
There are potentially a few different things going on here:
First, the 'Tag Assistant could not connect to a tag...' error, I found this Google support thread that suggests this could be to do with the new debugging functionality in Google Tag Manager:
'This issue is caused by Chrome putting background tabs to sleep. We have a fix that will roll out soon. In the meantime, a workaround is to open the two tabs in two different browser windows, e.g. put them side by side.'
Another user suggested 'Just tried removing tag assistant plugin from browser, its now working for me
The page will open in new window but you can see the timeout issue will be no more'
Thank you for your deep solution research. I tried the first 3 tips, I don't have a tag assistant plugin on my browser and I also tried to remove cookiebot from Google Tag Manager and inserting it directly on my header. Nothing changed. Is this Preview so important or can I get over it?
For the ReferenceError I'm investigating with my theme provider.
Previewing your Tag Manager changes is best practise to avoid errors on your live site, but in cases where this isn't working and your changes and potential errors aren't likely to have serious consequences, you can always publish your changes to your live site. If you do have issues you can then rollback to your previous version of your Tag Manager container https://support.google.com/tagmanager/answer/6107163?hl=en#
Matthew Shepherd
Freelance HubSpot Consultant CRM Consultant | SEO Specialist