title: Google tag manager Invalid or unexpected token
body: <p>i have an issue with my gtm code sudently stopped recording data and i started getting this error.</p>
  
  <p>"Invalid or unexpected token"</p>
  
  <p>according to the dev tools  the error comes from  </p>
  
  <pre><code>&lt;!-- Global site tag (gtag.js) - Google Analytics --&gt;
  &lt;script async src=“https://www.googletagmanager.com/gtag/js?id=UA-149259800-1”&gt;&lt;/script&gt;
  &lt;script&gt;
    window.dataLayer = window.dataLayer || [];
    function gtag(){dataLayer.push(arguments);}
    gtag(‘js’, new Date());&lt;------------------------HERE
    gtag(‘config’, ‘UA-SOMETHING’);
  &lt;/script&gt;
  </code></pre>
  
  <p>But even when i removed that line the error passed to  the next gtag() line
  what could be causing this?.</p>