django 是否有用户访问分析中间件或模块?

发布于 2025-01-08 09:54:04 字数 207 浏览 1 评论 0原文

我找到了其他解决方案,例如这个,但是这个例子收集原始数据,我需要一些更多的处理,我需要以用户为中心的分析。这些统计数据用于广告目的。我想回忆尽可能多的信息。

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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

沫离伤花 2025-01-15 09:54:04

该方法可能会增加每个页面加载的大量开销,特别是如果您有一个繁忙的站点/数据库服务器。我建议在每个页面的模板上使用谷歌分析。至少在用户页面加载后处理分析数据。

如果您需要从分析中获取信息并将其显示在您的网站上,我相信谷歌有一个 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.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文