title: Google Tag Manager isn't loading javascript, error message "anonymous function"
body: <p>I have installed Google Tag Manager on my website, and am using it to load some Javascript onto my site. However, GTM is no longer loading, my Javascript isn't loading, and the error code is not very helpful.</p>
  
  <p>Here is the GTM code on my website:</p>
  
  <pre><code>&lt;!-- Google Tag Manager --&gt;
  &lt;noscript&gt;&lt;iframe src="//www.googletagmanager.com/ns.html?id=GTM-MFQ99J"
  height="0" width="0" style="display:none;visibility:hidden"&gt;&lt;/iframe&gt;&lt;/noscript&gt;
  &lt;script&gt;(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
  new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
  j=d.createElement(s),dl=l!='dataLayer'?'&amp;l='+l:'';j.async=true;j.src=
  '//www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
  })(window,document,'script','dataLayer','GTM-MFQ99J');&lt;/script&gt;
  &lt;!-- End Google Tag Manager --&gt;
  </code></pre>
  
  <p>This is the code I am including in the GTM Tag:</p>
  
  <pre><code>&lt;!-- Qualaroo for your website --&gt;
  &lt;!-- Paste this code right after the &lt;body&gt; tag on every page of your site. --&gt;
  &lt;script type="text/javascript"&gt;
    var _kiq = _kiq || [];
    (function(){
      setTimeout(function(){
      var d = document, f = d.getElementsByTagName('script')[0], s = d.createElement('script'); s.type = 'text/javascript';
      s.async = true; s.src = '//s3.amazonaws.com/ki.js/50553/aS-.js';f.parentNode.insertBefore(s, f);
      }, 1);
    })();
  &lt;/script&gt;
  </code></pre>
  
  <p>When I look at the Chrome Javascript Console, I get the message:</p>
  
  <pre><code>(x) Failed to load resource     http://www.googletagmanager.com/ns.html?id=GTM-MFQ99J
  </code></pre>
  
  <p>And when I reload the page, I see:</p>
  
  <pre><code>(x) GET http://www.googletagmanager.com/ns.html?id=GTM-MFQ99J    index.html:45
          anonymous function                                       index.html:45
          anonymous function                                       index.html:46
  </code></pre>
  
  <p>Going to these lines gets me these lines from my GTM code:</p>
  
  <pre><code>'//www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
  })(window,document,'script','dataLayer','GTM-MFQ99J');&lt;/script&gt;
  </code></pre>
  
  <p>I've been googling like crazy to try to figure this out, but I'm out of my depth for a lot of this. The error message "anonymous function" seems to be especially hard to search for, even within GTM and other Google support documentation.</p>