使用分析工具将浏览器行为与后端事务联系起来
我可以使用 Google Analytics 等分析工具将用户行为与后端 (Java) 事务联系起来吗?我知道我可以使用分析 API 来存储自定义数据,例如帐号或可以与从 Java 类创建的日志/数据库关联的数据,但这是最好的方法吗?
我想要做的是查看有多少用户访问每个页面,而且还能够重新创建用户执行的所有步骤 - 他们转到注册页面并输入特定的用户名,该用户名被提交到 Java 控制器并返回用户 ID X. 我不想在 javascript 端完成这一切 - 似乎我可以存储的自定义事件数量有限,并且我想记录那些没有意义的内容以传递回页面,如数据库响应时间。
使用任何分析工具(不需要是 Google Analytics)是否可行,或者我应该使用这样的工具,然后从 Java 端单独记录数据库响应时间、返回值等?
Can I use an analytics tool like Google Analytics to tie user behavior to back end (Java) transactions? I know I can use the analytics API to store custom data, like an account number or something that I can tie to the log/database created from the Java classes, but is this the best way?
What I want to do is see how many users access each page, but also be able to recreate all steps a user performed - they went to the signup page and entered a particular user name, which was submitted to the Java controller and returned user ID X. I don't want to do it all on the javascript side - it seems like there is a limit of the number of custom events I can store, and I want to log things that don't make sense to pass back to the page, like the database response time.
Is this feasible using any analytics tool (it doesn't need to be Google Analytics), or should I use such a tool, then have separate logging from the Java side for database response times, return values, etc?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论