Help me get rid of stubborn summer guest: the unknown tracker

  • 1
  • Question
  • Updated 8 years ago
  • Answered
Hear me out before throwing pixels, widgets, etc....the 'tracking unknown' triangle icon is S T I L L in my google analytics page. Aaargh. Tried everything...HTML copy/paste, made sure code is correct, re-copy/pasted and still the bermuda triangle. Anyone a magician?
Photo of Mary Allmaras

Mary Allmaras

  • 1 Post
  • 0 Reply Likes

Posted 8 years ago

  • 1
Photo of John McCarthy

John McCarthy

  • 1292 Posts
  • 99 Reply Likes
Hey Mary,
I'm slightly confused about the problem you are having.
Can you post a screen shot showing this Triangle?
I'm sure we can sort this out.

John Mc
Photo of Connor McCarra

Connor McCarra, Champion

  • 944 Posts
  • 47 Reply Likes
Hi Mary,
You have wrongly implemented the Google Analytics code. This is what you have:

<meta name="google-site-verification" content=" var _gaq = _gaq || []; _gaq.push(['_setAccount', 'UA-8436372-5']); _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') + ''; var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s); })();" />


You are mixing up google analytics and google webmaster, and your code doesn't make sense. You have javascript inbetween meta tags. For google analytics this is what your code should be:


<script type="text/javascript">
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
document.write(unescape("%3Cscript src='" + gaJsHost + "' type='text/javascript'%3E%3C/script%3E"));

<script type="text/javascript">
try {
var pageTracker = _gat._getTracker("UA-8436372-5");
} catch(err) {}</script>


Paste that code at the bottom of your website, removing the <!-- and -->.