Analytics dashboard shows "No Tracking Code" but real-time data appears to work

I have a website hosted on Blogger and I set up Google Analytics with Universal Analytics about a day ago. The dashboard keeps showing “No Tracking Code” status but when I check the real-time reports, I can actually see visitors being tracked correctly.

I added the tracking code to my site template that looks like this:

<script>
  (function(d,w,u,t,c,h,e){d['AnalyticsTracker']=c;d[c]=d[c]||function(){
  (d[c].data=d[c].data||[]).push(arguments)},d[c].time=1*new Date();h=w.createElement(u),
  e=w.getElementsByTagName(u)[0];h.async=1;h.src=t;e.parentNode.insertBefore(h,e)
  })(window,document,'script','//www.google-analytics.com/analytics.js','tracker');

  tracker('create', 'UA-XXXXXXXX-X', 'myblog.com');
  tracker('send', 'pageview');
</script>

I can test this by opening different browsers and watching the real-time reports update when I visit pages. The tracking definitely works but the main dashboard still says no code is installed.

I did not fill in the Analytics ID in Blogger’s built-in settings because that seemed to be for the older version of Analytics. I have tried moving the code to different spots in my template and even tested with a second blog to make sure it was not just my setup.

Why does the status still show as not installed when the tracking appears to be functioning properly?

This happens all the time with Universal Analytics. Google’s verification system can’t find your tracking code because you’re using ‘AnalyticsTracker’ and ‘tracker’ as function names instead of the standard ‘ga’ calls. The automated detection looks for ga(‘create’, …) and ga(‘send’, …) - it doesn’t recognize custom variable names even though your tracking works perfectly. I ran into this exact issue when I customized my tracking code. Everything worked fine for months while the dashboard kept showing “no code” warnings. I eventually switched back to standard ga function names just to kill the warning, but it didn’t change data collection at all.