title: Why does Google Tag Manager not include tags on certain pages?
body: <p>I have an issue that on certain pages of my website no tags are included in the GTM container. The debugger shows: "There are no tags in the container." I'm trying now for weeks to find the solution but no chance. I would really appreciate any ideas!</p>
  
  <p>I have included for example the Google Universal code on all pages:
  <strong>url matches RegEx .*</strong></p>
  
  <p>Usually on the start page and some other pages no tags are included:
  <strong><a href="http://www.ailolaquito.com" rel="nofollow noreferrer">http://www.ailolaquito.com</a></strong></p>
  
  <p>On other pages like this the tags usually are included:
  <strong><a href="http://www.ailolaquito.com/en/activities/spanish-and-dancing" rel="nofollow noreferrer">http://www.ailolaquito.com/en/activities/spanish-and-dancing</a></strong></p>
  
  <p>When I use the GTM Preview and Debugger tool it first shows above message and when I open the <em>Data Layer</em> tab and switch back to the <em>Tags</em> tab, suddenly all tags are shown as they should. Maybe there is a conflict (JavaScript?) on some pages.</p>
  
  <p>What I noticed is that on all pages where the tags are not included the HTML code in the source view of Safari looks compressed:
  <img src="https://i.stack.imgur.com/YtGq6.png" alt="Bad Code"></p>
  
  <p>While on pages where the tags are properly shown the html source looks nice:
  <img src="https://i.stack.imgur.com/yOj5D.png" alt="Nice Code"></p>
  
  <p>Probably it's related with this. However I don't understand why the source code is compressed on some pages. They are all based on the same layout templates.</p>
  
  <p>Any ideas or help would be appreciated. I really would like to solve the issue.</p>
  
  <p>Thanks a lot!</p>
  
  <p>Philip</p>
  
  <p>P.S.: Here are some more screenshots:</p>
  
  <p><img src="https://i.stack.imgur.com/MdICL.png" alt="GTM Tags">
  <img src="https://i.stack.imgur.com/meLT8.jpg" alt="GTM Container OK">
  <img src="https://i.stack.imgur.com/fjCoR.jpg" alt="GTM Container not OK"></p>