在不使用外部提供商的情况下跟踪 Intranet 页面上的访问者计数的方法
由于大多数访客计数服务都是基于测量公共站点,因此我无法使用此类服务。
我的目标是衡量每天有多少独立访问者在特定的 Intranet 站点上冲浪。问题是我的技术可能性非常小,因为我获得了一个简单的 IIS Web 空间。这意味着我只能使用 HTML5 和 JS(该网站只能通过 iPad 访问)。也许我缺少一个新的 HTML5 功能?
感谢您的任何提示和提示。
Since most visitor count services are based on measuring public sites I am not able to use such services.
My goal is to measure how many unique visitors are surfing on a specific Intranet site per day. The problem is that I have very litte technical possibilities since I was provided with a simple IIS web space. This means that I can only use HTML5 and JS (This site will only be accessed by iPads). Maybe there is a new HTML5 feature I am missing?
Thanks for any tips and hints.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
必须在后端跟踪唯一访问。您需要能够使用一些服务器端代码来跟踪人员,html 和 JS 不知道它们在客户端运行的唯一访问者,因此从这个意义上来说它基本上是静态的,用户计算机不知道还有谁正在使用该网站。
您必须使用某种类型的后端语言。 (c#、PHP、VB...等等一大堆)
您还必须知道是什么让每个用户都是独一无二的,也许是 IP,但您在内联网上,这对每个人来说可能都是一样的。
您可以简单地使用获取唯一 ID(可能是 IP)的代码,检查文本文件,如果它不在文本文件中,则将其添加到新行,然后只计算行数。
Unique visits have to be tracked on the back end. You'll need to be able to use some server side code to track people, html and JS have no idea of unique visitors they run on the client side, so its basically static in that sense, a users computer has no idea of who else is using the site.
You'll have to use some type of backend language. (c#, PHP, VB, ...etc whole bunch of them)
You will also have to know what makes each user unique, maybe IP, but your on the intranet, that maybe the same for everyone.
You could simply have code that gets the unique id(maybe the IP), checks a text file, if its not in the text file add it to a new line, then just count the lines.