Google Analytics stopped tracking?

0 replies
Very strange. I haven't made any change to the code, index.html, or whatever. Google Analytics tracked normally for a while, and then quite abruptly it stopped. No, my google tracking code isn't wrong, it's inserted correctly into the <head> section and was copy-pasted, unaltered, from google. Here's what the code looks like, with Google's code bolded:

Code:
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<meta name="keywords" content="chiangmai hotels,best accommodation in chiangmai,thailand holidays,chiangmai accommodation">
<meta name="description" content="Empress Hotels Group: Luxury accommodation in Chiang Mai offering best value and cheapest rates in four-star range within walking distance of the Night Bazaar.">
<meta name="google-site-verification" content="h8EUmFsDYx4XZ2qwoQZ1p9Haa4NnZrqaY00lWnUM4TE" />

<style type="text/css">
<!--
.style1 {
	font-size: small;
	font-weight: bold;

}

-->
</style>

<style type="text/css">

<!--
body {
	background-color: #999;
	margin-left: 0px;
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 0px;
}
-->
</style>
<link href="css/empresslayout.css" rel="stylesheet" type="text/css" />
<style type="text/css">
<!--
#apDiv1 {
	position:absolute;
	top:107px;
	width:100px;
	height:41px;
	z-index:1;
	left: 751px;
}

-->

</style>

<script type="text/javascript">
  var _gaq = _gaq || [];
  _gaq.push(['_setAccount', 'UA-16478208-4']);
  _gaq.push(['_trackPageview']);
  (function() {
    var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
    ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
    var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);

  })();
</script>
</head>
If you'd like, you can do a view page source of the page since I may have missed something. Status of the analytics profile is "Receiving data," which is normal. Just as weirdly, Google Webmaster Tools has stopped reporting data as well even though the verification meta tag is very much in place, as you can see. Maybe it's time to switch to AWStats?
#analytics #google #stopped #tracking

Trending Topics