Google Product Forums

Re: Event Tracking

oil4lessllc Jan 8, 2011 1:12 PM
Posted in group: Google Analytics

Categories: The Google Analytics Coffee Shop :

NOT ANSWERED!
NOT solved!
  Absolutely ZERO events captured, and no links indicated from Nov 29, with the exception of something that does NOT exist on my site, begins with "search/srpcache?ei-UTF" and is insanely long (242 characters).
  As recommended, my code has had the following since Dec1:
** At top:
<script type="text/javascript">
  var _gaq = _gaq || [];
  _gaq.push(['_setAccount', 'UA-19002128-2']);
  _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>
** Sample in body
 <a href="http://www.oil4lessllc.com/Kelvin.pdf" onClick="that=this;_gaq.push(['_trackEvent,'pdf','download','Kelvin',that.href]);setTimeout(function() { location.href=that.href }, 200);return false;">Kelvin connector system</a><br>
 <font face="Arial" size=3>
  <a href="http://www.oil4lessllc.com/IndustLinks.html" onClick="that=this;_gaq.push(['_trackEvent,'page','view','Links',that.href]);setTimeout(function() { location.href=that.href }, 200);return false;">Industrial Links</a><br></font>
** end
  ALSO, i _still_ get stuff recorded to the "plain" site oil4lessllc.com (NO www) despite the 301 re-direct!