Google Tag Manager Suddenly Stopped Loading the Chat Code

Google Tag Manager Suddenly Stopped Loading the Chat Code

I noticed this morning that Google Tag Manger will no longer load the chat code correctly.  When the code is hard coded into the page it works fine.  But when I use GTM on my Joomla site with the chat code in that container the chat function is broken. Is anyone else seeing this suddenly?  When I went in to repost the code into GTM Google said that I had to allow document.write.  Never had to do this before.  Perhaps it's something that Google changed.