Google Analytics(分析)显示“未安装跟踪”但我看到它的工作? [英] Google Analytics says "Tracking Not Installed" but I see it working?

查看:94
本文介绍了Google Analytics(分析)显示“未安装跟踪”但我看到它的工作?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的网站www.katievb.com是由blogspot.com主办的博客。我创建了Google Analytics帐户并注册了Universal Analytics媒体资源。它提供了一个唯一的UA ID和一些嵌入到HTML中的代码,看起来类似于此:

 < 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-XXXXXXXX-X','katievb.com');
ga('send','pageview');

< / script>

我大概在24小时前就做过了。 GA管理员页面一直表示状态:跟踪未安装。但是,GA实时确实会跟踪我的访问。 (我可以在Mac上使用Firefox,并实时在分析屏幕上查看该文件,然后使用Chrome浏览器访问Windows计算机,并访问katievb.com并在实时屏幕上查看。)



在blogspot的设置中,我故意没有填充设置>其他> Google Analytics网络媒体资源ID,因为在我看来,这可能会导致我使用旧式Google分析(ga.js),而不是这种新类型(analytics.js)。

另外,我在完全独立的一对blogspot / GA帐户中复制了这一点。 / p>

为什么说跟踪未安装?这似乎是跟踪,我不知道我应该如何改变我如何安装它。

我多次阅读说明并尝试过不同版本的代码,并将其放置在不同的位置,例如< / head> < / body> 最终它开始工作。我认为需要一天或两天才能准确反映跟踪已正确安装。这很奇怪...因为实时工作,所以我会猜测Google的状态代码也能够实时更新。


My site www.katievb.com is a blog hosted by blogspot.com. I've created a Google Analytics account and registered a "Universal Analytics" property. It provided a unique UA ID and some code to embed in the HTML that looks similar to this:

<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-XXXXXXXX-X', 'katievb.com');
  ga('send', 'pageview');

</script>

I did this probably about 24 hours ago. The GA admin page has said "Status: Tracking Not Installed" this whole time. However, GA Real-Time actually does track my visits. (I can use Firefox on a Mac and in real-time see that on the Analytics screen, and then I can go over to a Windows computer with Chrome and visit katievb.com and see that on the real-time screen too.)

In blogspot's settings, I intentionally did NOT populate the Settings > Other > Analytics Web Property ID because it appeared to me that that would expect that I was using the old-style Google Analytics (ga.js) and not this new kind (analytics.js).

Also, I then replicated this in a completely independent pair of blogspot/GA accounts.

Why does it say "Tracking Not Installed"? It seems to be tracking, and I'm not sure what I'm supposed to change about how I installed it.

I've read the instructions many times and have tried different versions of their code and placing it in different locations, such as prior to </head> or </body>.

解决方案

Eventually it started working. I think it took a day or 2 for the status to accurately reflect that tracking had been properly installed. It's bizarre... because Real-time was working, so I would have guessed that Google's status code would have been able to be updated real-time too.

这篇关于Google Analytics(分析)显示“未安装跟踪”但我看到它的工作?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆