title: Google Universal Analytics Real-time not working
body: <p>I am trying to integrate Google Universal Analytics into my website. I have started to see basic reporting (page views, uniques, etc.) under <strong>Behavior > Overview</strong></p>
  
  <p>But still see nothing for real-time reporting under
  <strong>Realtime > Overview</strong></p>
  
  <p>And I cannot seem to get any events to fire.</p>
  
  <p>I have this code snippet at the very end of :</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false">
  <div class="snippet-code">
  <pre class="snippet-code-js lang-js prettyprint-override"><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-41505208-2', 'auto');
    ga('send', 'pageview');
    //ga(‘set’, ‘&amp;uid’, {{USER_ID}}); // Set the user ID using signed-in user_id.
  
    $(".sub-menu li a").click(function(){
      //window.analytics.trackEvent('nav', 'tap', 'filter');
      //ga('nav', 'tap', 'filter');
      //ga('send', 'event', { eventCategory: 'nav', eventAction: 'tap', eventLabel: 'filter'});
      ga('send', 'event', 'nav', 'tap', 'filter');
    });
  &lt;/script&gt;</code></pre>
  </div>
  </div>
  </p>
  
  <p>I have tried to move my sample event to other places with no luck ... also not sure which of the event lines is the one you're supposed to use with Universal, so have tried each one with no luck.</p>
  
  <p>So frustrating. The old Google Analytics always worked so easily.</p>
  
  <p>I have this site located at a directory under another site, does that matter?</p>
  
  <ul>
  <li>Analytics code is on: <a href="http://dmlapps.com/dogpeople/index.html" rel="nofollow">http://dmlapps.com/dogpeople/index.html</a></li>
  <li>Google Analytics is setup at: <a href="http://dmlapps.com/dogpeople" rel="nofollow">http://dmlapps.com/dogpeople</a></li>
  <li>Website is at: <a href="http://dmlapps.com/dogpeople" rel="nofollow">http://dmlapps.com/dogpeople</a></li>
  </ul>