title: google analytics experiments "No Google Analytics tracking code found."?
body: <p>hopefully someone can help me out. </p>
  
  <p>So l have a google analytics experiment running. However when l set it up and click the "validate code" button l get this error: 
  No Google Analytics tracking code found.</p>
  
  <p>For both the original, and the variation page. </p>
  
  <p>The thing is, l <em>DO</em> have the google analytics code on the pages. </p>
  
  <p>One thing to note is that my google analytics tracking code looks a little different than most. </p>
  
  <p>It looks like this:</p>
  
  <pre><code>&lt;script&gt;
    (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
    (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
    m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
    })(window,document,'script','//www.google-analytics.com/analytics.js','ga');
  
    ga('create', 'UA-xxxxxxx-1', 'mysite.com');
    ga('send', 'pageview');
    ga('require', 'ecommerce', 'ecommerce.js');
  
  &lt;/script&gt;
  </code></pre>
  
  <p>Also it's important to note that the site is tracking visits properly in google analytics.
  Can anyone help me out? </p>