ASP.NET跟踪code&放;唯一访问者 [英] ASP.NET Tracking Code & Unique Visitors

查看:109
本文介绍了ASP.NET跟踪code&放;唯一访问者的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我试图找到一种方法来跟踪和生产为我的网站(出于兴趣)的报告。有谁知道任何文章/项目等,你可以

I am trying to find a way to track and produce reports for my site (out of interest). Does anyone know of any articles/projects etc that you can


  1. 轨道页/独立访客等等

  2. 跟踪1)相对于时间戳等

在asp.net mvc的或只是asp.net?

in asp.net mvc or just asp.net ?

P.S - 我知道,谷歌分析等可用,但希望出于兴趣创造我自己的一些基本统计数据如何网络分析工作

P.S - I know google analytics etc is available but looking to create some basic stats for myself out of interest about how web analytics work ?

推荐答案

有几个很好的方式来试图确定独立访问者,他们都不是确切的(这就是为什么不同的分析将报告不同的号码)。

There are a couple of good ways to try and determine unique visitors, none of them are exact (which is why different analytics will report different numbers).

第一种方法是使用cookie。为用户创建的要跟踪的唯一身份每个时间帧的cookie,所以你可以创建一个在一天到期,另一个在一个月到期。然后,您可以使用这两个来跟踪你有多少独特的每日/每月游客有。当然,这是不完美的,因为人们可以清除或拒绝接受Cookie,但它是pretty准确。

The first is to use a cookie. Create a cookie for the user for each time frame that you want to track uniques, so you could create one that expires in a day and one that expires in a month. You can then use both of those to track how many unique daily/monthly visitors you have. Of course this is not perfect since people can clear or refuse cookies, but it is pretty accurate.

另一种方法是使用IP地址和用户请求的用户代理的组合,这可能是稍微不太准确跟踪的唯一身份,因为如果一家公司有一个良好的IT部门大量内部用户都会有相同的用户代理并且因为它们都来自同一内部网络来可以具有相同的IP地址。

The other way is to track uniques using a combination of the IP address and User Agent of the requesting user, this is probably slightly less accurate since if a company has a good IT group lots of internal users will have the same User Agent and since they are all coming from the same internal network could have the same IP address.

如果您有兴趣阅读更多有关不同的方法有一个关于它的伟大的文章在这里:的 http://www.google.com/support/urchin45/bin/answer.py?answer=28325

If you are interested in reading more about the different methods there is a great article about it here: http://www.google.com/support/urchin45/bin/answer.py?answer=28325

这篇关于ASP.NET跟踪code&放;唯一访问者的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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