Google Analytics 显示“未安装跟踪"但我看到它起作用了吗? [英] Google Analytics says "Tracking Not Installed" but I see it working?

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

问题描述

我的网站 www.katievb.com 是由 blogspot.com 托管的博客.我已经创建了一个 Google Analytics 帐户并注册了一个Universal Analytics"属性.它提供了一个唯一的 UA ID 和一些代码来嵌入 HTML,看起来类似于:

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>

我大概是在大约 24 小时前这样做的.GA 管理页面一直显示状态:跟踪未安装".但是,GA Real-Time 实际上会跟踪我的访问.(我可以在 Mac 上使用 Firefox 并在分析屏幕上实时查看,然后我可以转到装有 Chrome 的 Windows 计算机并访问 katievb.com 并在实时屏幕上查看.)

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.)

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

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).

此外,我随后在一对完全独立的 blogspot/GA 帐户中复制了这一点.

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

为什么显示Tracking Not Installed"?它似乎在跟踪,我不确定我应该如何更改安装方式.

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.

我已经多次阅读说明,并尝试了不同版本的代码并将其放置在不同的位置,例如在 </head></body> 之前;.

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天全站免登陆