I set up a website, and below is my main page. As you see I have added the tracking code, but when I login to google analytics, I see Google Analytics Status: Tracking Not installed. If you think there are no mistakes in below codes, how can I debug to find the problem ?

 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
            mysite is coming soon        </title>
        <style type="text/css">

            .headerText {
                width: 550px;
                margin-top: 10%;
                margin-right: auto;
                margin-left: auto;
                font-size: 28px;
                font-weight: normal;
                display: block;
                text-align: center;

            .bodyText {
                width: 550px;
                margin-top: 15px;
                margin-right: auto;
                margin-left: auto;
                font-size: 14px;
                font-weight: normal;
                display: block;
                text-align: center;

            body {
                margin-left: 0px;
                margin-top: 0px;
                margin-right: 0px;
                margin-bottom: 0px;
                background-color: #222222;
                color: #FFF;
                font-family: Arial, Helvetica, sans-serif;
  (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),

  ga('create', 'UA-12345678-1', 'mysite.com');
  ga('send', 'pageview');

        <span class="headerText">
            http://www.mysite.com        </span>
        <span class="bodyText">
            is coming soon        </span>
  • 1
    I assume that "12345678-1" and "mysite.com" are placeholders for this post, and not what you actually have installed on your site? Commented Dec 6, 2013 at 15:31
  • @StephenOstermiller Yes, those are the only two things that I modified in the code.
    – HOY
    Commented Dec 6, 2013 at 17:01

1 Answer 1


You sent me the URL of your site via email. I visited the site and used Chrome's developer tools to verify that requests are actually being sent to the Google Analytics data collection URL. There doesn't appear to be anything wrong with your site or your tracking setup.

Here is a helpful post about this in Google Product Forums:

The tracking status messages have been 'buggy' for as long as I can remember.

The tracking status check is a separate check done by the system. It doesn't update automatically the moment you install the tracking code It can take a few hours up to 36 hours (and some platforms it can even take up to 72 hours). Sometimes it doesn't update at all even when the code is obviously installed and working and data has begun to appear in your account.

You can do a quick self check of the code (providing you aren't using some method to block your own visits.) Log into analytics and go to the real time overview in standard reports. Open up your site in another browser tab or window and have a bit of a meander around your site. If your tracking is installed correctly, after 30-60 seconds you should be able to see your own site activity within the real time overview.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.