title: Script error occured while using marketo "munchkin" api script
body: <p>I want to implement Marketo tracking visitor in my website. For that I have logged in into Marketo. I got some code, and I pasted it on the footer.php. But I am getting script error on the console.</p>
  
  <blockquote>
    <p>TypeError: a is undefined</p>
  </blockquote>
  
  <p>This is my code </p>
  
  <pre><code> &lt;script type="text/javascript"&gt;
  
  document.write(unescape("%3Cscript src='" + document.location.protocol +
  
    "//munchkin.marketo.net/munchkin.js' type='text/javascript'%3E%3C/script%3E"));
  
  &lt;/script&gt;
  
  &lt;script&gt;Munchkin.init('My Id');&lt;/script&gt;
  </code></pre>
  
  <p>What is the issue?</p>