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">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>
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;
}
</style>
<script>
(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-12345678-1', 'mysite.com');
ga('send', 'pageview');
</script>
</head>
<body>
<span class="headerText">
http://www.mysite.com </span>
<br/>
<span class="bodyText">
is coming soon </span>
</body>
</html>