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

查看:160
本文介绍了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) b $ b

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

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

这表明IE7



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



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

对于我们的组织来说,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天全站免登陆