Google Analytics 报告大量 Internet Explorer 7 流量 [英] Google Analytics reports a high amount of Internet Explorer 7 traffic

查看:26
本文介绍了Google Analytics 报告大量 Internet Explorer 7 流量的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

对于我们的网站,Google Analytics(分析)报告的 Internet Explorer 7 用户数量过多 (40%).随着我们深入研究数据,我们发现这些 IE7 的点击率大部分来自较新的操作系统,如 Windows 7,其中 IE7 从来都不是默认安装的浏览器.我们实际上有这么多(或任何)用户在 Windows 7 中使用 IE7 访问我们的网站,这似乎不太可能.

为什么我们的 Internet Explorer 7 数字如 Google Analytics 报告的那样夸大?

解决方案

这与在工具->兼容性视图设置中添加站点时浏览器报告的用户代理有关.

用IE11实验,我发现如果我正常访问一个站点,用户代理字符串是:

<块引用>

Mozilla/5.0 (Windows NT 6.1; WOW64; Trident/7.0; rv:11.0) 像 Gecko

这表示IE11

如果我打开浏览器的兼容性视图设置,并将我的域添加到应在兼容性视图中呈现的域的列表中,这是我的 UA 字符串:

<块引用>

Mozilla/4.0(兼容;MSIE 7.0;Windows NT 6.1;WOW64;Trident/7.0;SLCC2;.NET CLR 2.0.50727;.NET CLR 3.5.30729;.NET CLR 3.0.30729;媒体中心 PC 6.0;.NET4.0C;.NET4.0E)

这表示IE7

我使用这个网站对这些 UA 字符串中的数据进行了更清晰的解释:http://user-agent-string.info/

一件有趣的事情是,我仍然可以使用 x-ua-compatible 元标记.因此,如果我的网站强烈使用 x-ua-compatible 强制边缘"模式,则使用 IE11 并将我的域设置为兼容性视图的访问者实际上会在 IE11 模式下按页面呈现,但会将 IE7 报告给 Google Analytics.

对于我们的组织来说,IE7 数字被夸大的原因是因为我们的技术支持团队曾经建议我们的用户将我们的网站添加到他们的兼容性视图设置中,以避免我们的旧网络应用程序出现问题不适用于 IE8.

For our website, Google Analytics reports an excessively high number of Internet Explorer 7 users (40%). As we drilled further into the data, we found that the majority of these IE7 hits were coming from newer operating systems like Windows 7, where IE7 was never a default installed browser. It does not seem plausible that we actually have this many (or any) users visiting our site with IE7 within Windows 7.

Why are our Internet Explorer 7 numbers so inflated as reported by Google Analytics?

解决方案

This has to do with the user agent reported by the browser when the site has been added in Tools->Compatibility View Settings.

Experimenting with IE11, I found that if I visit a site normally, the user agent string is:

Mozilla/5.0 (Windows NT 6.1; WOW64; Trident/7.0; rv:11.0) like Gecko

This indicates IE11

If I open my browser's compatibility view settings, and add my domain to the list of those that should render in Compatibility View, this is my UA string:

Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.1; WOW64; Trident/7.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; .NET4.0C; .NET4.0E)

This indicates IE7

I used this website to give me a cleaner explanation of the data in these UA strings: http://user-agent-string.info/

One interesting thing is that I can still control what mode the page renders in using the x-ua-compatible meta tag. So, if my website makes strong use of x-ua-compatible to force "edge" mode, visitors using IE11 with my domain set to compatibility view will actually render by page in IE11 mode, but will report IE7 to Google Analytics.

For our organization, the reason the IE7 number is inflated is because at one time, it was the practice of our tech support team to advise our users to add our website to their compatibility view settings to avoid issues with our legacy web apps not working in IE8.

这篇关于Google Analytics 报告大量 Internet Explorer 7 流量的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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