记录每个页面的访问是否有意义?
我正在构建一个面向客户的网站,需要我构建 1) 为客户提供一些分析,2) 维护一些内部分析以进一步改进网站。这些需要不同类型的信息。
对于客户
我现在正在不同模型中使用 Visit_count 和 event_count 等字段捕获与客户相关的访问和事件。但是,该系统不允许我向客户显示一段时间内的访问者数量、他们的位置等。我的想法是建立一个名为 Analytic.rb 的特定模型,用于存储相关信息,例如:
- visitor_id(该用户的访问者 ID)访问客户区域)
- IP 地址(该访问者的)
- 日期
- referencing_page
- customer_id(已访问过/与之交互的客户的)
- 代码(例如:“vmain”表示访问客户的主页,“vsignup”表示访问客户的主页)注册页面和“演示”用于决定查看客户的演示)。
对于网站管理员
我们的目的是 1. 更好地了解浏览习惯,2. 了解使用统计数据,3. 通过我们的用户体验映射流行路径。使用 Visit.rb 模型单独记录我们网站上的每个内部页面访问是否有意义?我想这会占用大量空间?
- user_id
- ip_address
- 日期
- referencing_pagevisited_pa
- ge
- state/notes/miscellaneous
您对此设置有何看法?
你会怎么做?
我是否获得了所需的信息,或者是否太过分了?
谢谢。
I am building a customer-facing website that requires me to build 1) some analytics for customers, and 2) to maintain some internal analytics for improving the site further. These require different kinds of information.
For customers
I am now capturing visits and events relevant to customers with fields such as visit_count and event_count in different models. But, this system doesn't allow me to show my customers the number of visitors over time, their location, etc. My idea is to have a specific model called Analytic.rb that stores relevant info such as:
- visitor_id (of the user that visits a customer's area)
- ip_address (of that visitor)
- date
- referring_page
- customer_id (of the customer who has been visited/interacted with)
- code (for example: "vmain" for a visit to customer's main page, "vsignup" for a visit to customer's signup page, and "demo" for a decision to view the customer's demo).
For the webmaster
Our purposes are 1. understanding browsing habits better, 2. understanding usage statistics, and 3. mapping popular paths through our UX. Does it make sense to have a Visit.rb model that separately records every single internal page visit on our site? I imagine this would take up a colossal amount of space?
- user_id
- ip_address
- date
- referring_page
- visited_page
- state/notes/miscellaneous
What are your opinions of this set up?
How would you do it?
Am I getting the information I need or am I going overboard?
Thank you.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
如果它们满足您的需求,请尝试使用 Piwik(但是,它是用 PHP 编写的),或 Google Analytics。您可以非常轻松地导出其中的任何数据以向您的客户展示。
If they are fit your needs, try using Piwik, for instance (however, it's written on PHP), or Google Analytics. You can export any data from them very easily to show it to your clients.