我们可以编写一个程序来测量任何网站的流量,就像 Alexa 一样吗?

发布于 2024-07-22 13:48:26 字数 114 浏览 10 评论 0原文

我们可以编写一个程序来测量任何网站的流量,就像 Alexa 或 ComScore 那样吗? 我们是否需要处于互联网主干网的中间或能够访问此类流量数据? 我们可以编写任何程序来仅使用消费者级互联网连接来测量它吗?

Can we write a program to measure how much traffic any website has like Alexa or ComScore does? Do we need to be in the middle of an internet backbone or have access to such traffic data? can we write any program to measure it just using a consumer-level internet connection?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(6

-残月青衣踏尘吟 2024-07-29 13:48:26

如果您想测量流量,您需要一种方法来计算最终用户使用特定网站的次数。

基本上有 5 个地方可以进行测量:

  1. 修改网站以检索“额外的东西”并对其进行计数(即omnature 等的工作方式)。
  2. 更改浏览器中的某些内容(例如 Alexa 使用的插件)。
  3. 窃听网络(在 ISP 级别)
  4. 窃听网络(在应用程序托管提供商级别)
  5. 更改服务器应用程序并让它自行记录使用情况。

除了最后两个选项之外,您根本不进行测量。 您所测量的事物假设与实际发生的情况存在某种关系。 因此,实际上,您报告的更多是您的假设,而不是您的测量结果。

  • Omniture 假设它计算所有访问者...除了那些拥有“addblock plus”的访问者,或者对于 javascript 来说有点太旧的浏览器,或者是 google 机器人,或者故意尝试使网站超载...等等.
  • Alexa 假设其插件的用户代表“整个”互联网。 当然......

进行网站统计的唯一可靠方法是在托管这些网站的实际位置进行技术更改。 我确信 Alexa 不会让你这么做。

那么“你能写”这样一个程序吗? 你当然可以。
“唯一”的问题是将其部署在可以获得有用数据的地方。

If you want to measure traffic you need a way of counting the number of times a specific website is used by end users.

There are basically 5 places to do make measurements:

  1. Modify the website to retrieve 'something extra' and count that (i.e. the way omniture and the likes work).
  2. Change something in the browser (like the plugin Alexa uses).
  3. Wiretap the network (at ISP level)
  4. Wiretap the network (at application hosting provider level)
  5. Change the server application and let it log the usage itself.

In all but the last two options you're not measuring at all. You're measuring something for which you assume some kind of relation ship with what really happens. So in reality you're reporting more on your assumptions then on your measurements.

  • Omniture assumes that it counts all visitors... Except the ones who have "addblock plus", or a browser that is a bit too old for the javascript, or are google bots, or are deliberately trying to overload a site ... etc.
  • Alexa assumes that the users of their plugin are representative for the 'whole' internet. Sure ....

The only reliable way of doing website statistics is by making technical changes at the actual location where those websites are hosted. And I'm convinced Alexa won't let you do that.

So "Can you write" such a program? Sure you can.
The 'only' issue is getting it deployed in a place where you can get useful numbers.

挖鼻大婶 2024-07-29 13:48:26

你不能那样做,不。 Alexa 通过赠送人们安装到浏览器中的工具栏来实现这一点,该工具栏向 Alexa 报告他们访问了哪些网站。

即使“位于互联网主干网的中间”也没有多大帮助,因为人们会从各种不同的路线访问该网站。 您需要控制提供网站服务的服务器。

You can't do that, no. Alexa does it by giving away a toolbar that people install into their browsers, that reports back to Alexa which websites they visit.

Even being "in the middle of an internet backbone" wouldn't help much, because people will visit the site from all kinds of different routes. You'd need control over the servers from which the website is served.

我的痛♀有谁懂 2024-07-29 13:48:26

从技术上来说,GoogleAnalytics 使用的方式可能是最简单的:
每个站点上都有一个脚本,该脚本将向您报告页面访问情况。

这样做的缺点是:您需要网站的参与 - 网站本身必须嵌入您的跟踪代码(即 urchin.js 脚本等)。

The way GoogleAnalytics uses is probably the easiest to do, technically:
have a script on each site that will report back to you on page access.

The downside to this: you need the sites' participation - the site itself has to embed your tracking code (that's the urchin.js script et al).

初雪 2024-07-29 13:48:26

可以采用多种方法,其中一些方法比其他方法更好。 如前所述,Alexa 有一个工具栏,供互联网用户社区的一部分使用。 这具有与之相关的内在偏见——了解 Alexa 并使用工具栏的人。

其他公司(例如 Quantcast)会查看用户的 cookie,并与网站建立协作程序,为网站提供基本的评级#。

There are a a number of methods employed, some are better than others. As mentioned Alexa has a toolbar that is used by a subset of the internet user community. This has intrinsic bias associated with it - people who know about alexa and use the toolbar.

Other firms like Quantcast look at users cookies and have collaborative programs with sites to provide essentially ratings #s for the sites.

葬﹪忆之殇 2024-07-29 13:48:26

如果你有一个优秀的程序员团队,你可能可以编写一个程序,因为 Alexa 和 ComScore 做到了。

您无法计算任何您喜欢的网站的流量,无论是在主干网还是在家里。 您需要坐在您想要统计的每个网站前面,或者该网站的每个访问者前面。

If you have a team of good programmers, you probably can write a program, because Alexa and ComScore did it.

You can't count traffic for any site you like, not sitting in the middle of backbone, nor from home. You need to sit in front of every site you like to count, or in front of every visitor of that site.

妞丶爷亲个 2024-07-29 13:48:26

我想,您的问题是:如何根据 Alexa 数据估算网络流量
如果这是正确的,您会发现此服务很有用:

http://www.alexarank2traffic.com/

I guess, that your question is: how to estimate webtraffic based on alexa data?
It this is correct, you will find this service useful:

http://www.alexarank2traffic.com/

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文