django 是否有用户访问分析中间件或模块?
我找到了其他解决方案,例如这个,但是这个例子收集原始数据,我需要一些更多的处理,我需要以用户为中心的分析。这些统计数据用于广告目的。我想回忆尽可能多的信息。
I have found other solutions like this but this example collects raw data, I need something a little bit more processed, I need an user-centric analytics. Those statistics are for advertising purposes. I want to recollect as much information as possible.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
该方法可能会增加每个页面加载的大量开销,特别是如果您有一个繁忙的站点/数据库服务器。我建议在每个页面的模板上使用谷歌分析。至少在用户页面加载后处理分析数据。
如果您需要从分析中获取信息并将其显示在您的网站上,我相信谷歌有一个 API。
That method might add a lot of overhead to each page load especially if you have a busy site / database server. I would recommend using google analytics on the template of each page instead. At least the analytics data is handled after the users page load.
I believe google has an api if you need to take the information from analytics and display it on your site.