分析 - 跟踪每个用户的操作

发布于 2024-08-20 09:33:17 字数 1536 浏览 6 评论 0原文

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

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

发布评论

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

评论(5

一袭白衣梦中忆 2024-08-27 09:33:17

不是 100% 确定,但我怀疑您可以使用自定义变量 GA 的功能并创建非常细粒度的变量来跟踪。虽然我认为您可能可以按照下面的方式实现一些代码(根据谷歌示例进行修改),但我不确定我是否会推荐它作为一个好主意。

pageTracker._setCustomVar( 
      1,                // This custom var is set to slot #1 
      "MemberID",       // The name of the custom variable 
      "12345678",       // The member id value, could read from a query param  
      1                 // Sets the scope to visitor-level 
 ); 
pageTracker._trackPageview(); 

正如我所说,一定要考虑以这种粒度跟踪个人是否有价值——考虑到隐私和实际报告的考虑。

Not 100% sure, but I suspect you could use the Custom Variables feature of GA and create very granular variables to track on. Whilst I think you could probably implement some code as per below (modified from the google examples), I'm not sure I'd recommend it as a good idea.

pageTracker._setCustomVar( 
      1,                // This custom var is set to slot #1 
      "MemberID",       // The name of the custom variable 
      "12345678",       // The member id value, could read from a query param  
      1                 // Sets the scope to visitor-level 
 ); 
pageTracker._trackPageview(); 

As I said though, definitely consider whether it is valuable tracking individuals in such granularity - considering privacy and practical reporting considerations.

相权↑美人 2024-08-27 09:33:17

来自 Google Analytics(分析)服务条款

您不会(也不会允许任何第三方)使用该服务
跟踪、收集或上传任何可识别个人身份的数据
个人(例如姓名、电子邮件地址或账单信息),或
可以通过以下方式合理链接到此类信息的其他数据
谷歌。您将拥有并遵守适当的隐私政策和
将遵守与此相关的所有适用法律和法规
从访客那里收集信息。您必须发布隐私
政策和隐私政策必须提供有关您使用
用于收集流量数据的 cookie,并且您不得
规避任何隐私功能(例如,选择退出)
服务。


因此,不要在 Analytics 中跟踪用户帐户。

From the Google Analytics Terms of Service:

You will not (and will not allow any third party to) use the Service
to track, collect or upload any data that personally identifies an
individual
(such as a name, email address or billing information), or
other data which can be reasonably linked to such information by
Google. You will have and abide by an appropriate Privacy Policy and
will comply with all applicable laws and regulations relating to the
collection of information from Visitors. You must post a Privacy
Policy and that Privacy Policy must provide notice of Your use of
cookies that are used to collect traffic data, and You must not
circumvent any privacy features (e.g., an opt-out) that are part of
the Service.

So, don't track user accounts in Analytics.

拒绝两难 2024-08-27 09:33:17

您可以使用 Piwki 并创建一个插件来跟踪用户。应该没那么难。

You could use Piwki and create a plugin to track users. It shouldn't be that difficult.

简单气质女生网名 2024-08-27 09:33:17

如果您尝试捕获用户 ID,即数字 ID,而不是实际的用户名,那么这不会破坏 Google TOC,因为用户 ID 不能为您的组织私有。

If you are trying to capture the userid i.e a numerical id and not the actual usernames then this does not break the Google TOC's as the userid cannot is private to your organisation.

寒尘 2024-08-27 09:33:17

尽管自定义变量很有帮助,但它们只能提供网站中特定用户对所有页面的访问次数。如果您确实想要良好的分析,例如每个人每页的浏览量,请尝试老式的活动方式。

示例:

_trackEvent("Page View", "<YOUR_USER_NAME>", opt_label, opt_value, opt_noninteraction)

转到所有网站数据 ->内容->活动->页面 ->选择任意页面->人员视图可查看和验证每个人的分析。

您还可以在 opt_label 和 opt_value 字段中添加其他数据。

Although custom variables would be helpful, they cannot provide anything more than the number of visits to ALL pages , by a particular user in the site. If you really want good analytics, like each person view per page, TRY THE OLD FASHIONED way of EVENTS.

Example :

_trackEvent("Page View", "<YOUR_USER_NAME>", opt_label, opt_value, opt_noninteraction)

Go to All Website Data -> Content -> Events -> Pages -> Select any page -> Person View to view and verfiy analytics for each person.

Also you can add additional data in the opt_label and opt_value coulmns.

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