Referer 字段是否存在无效内容?

发布于 2024-10-06 01:10:38 字数 289 浏览 2 评论 0原文

我想知道通过单击本机应用程序中的链接访问我的网站的用户的身份。

我的应用程序可以使用唯一的用户 ID 填充引用字段吗?

Referer 字段必须是有效的 URL 吗?

Google Analytics(分析)是否会处理非 URL 的引用站点?

我可以模拟一个类似 http://www.user.com/656 的 URL,其中 656 是用户 ID 。

有什么注意事项吗?

I'd like to know the identities of users who come to my website by clicking on a link in my native application.

Could my app populate the referer field with a unique user ID?

Does the referer field have to be a valid URL?

Will Google Analytics handle a referer that isn't a URL?

I could mockup a URL like http://www.user.com/656 where 656 is the user ID.

Any caveats?

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

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

发布评论

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

评论(2

白云不回头 2024-10-13 01:10:38

好问题。一方面,我已经重新映射了相当多的 GA 字段(包括推荐),而且我从未遇到过问题。此外,这样做是 GA 的核心功能(见下文);换句话说(我相信你知道)GA 实际上为其用户提供了模板(通过高级过滤器)来将这些字段处理得无法识别。 高级过滤器)

另一方面,我可以想到一种我相信 Google 会反对的情况(实际上只有一种)在这种情况下,替换信息违反了 GA 隐私政策。特别是,通过 GA 显示存储跟踪任何个人身份信息均违反了本政策[斜体是我的,不是来自 GA 隐私的引用政策]。

谷歌的实际定义:

个人信息就是信息
可以识别您的个人身份,例如
作为您的姓名、电子邮件地址或账单
信息或其他可以
与此类合理联系
信息

是唯一的用户ID、个人身份信息吗?用于清楚区分一个用户与另一个用户的数据与用于识别每个用户的数据之间存在差异。这种区别可能取决于安全性,即拥有您的唯一用户 ID 列表的人如何容易地发现其背后的用户身份?

Good question. On one hand, i have remapped quite a few of these GA Fields (including Referral) and i have never had a problem. In addition, doing so is core functionality in GA (see below); in other words (as i am sure you know) GA actually provides its users with the templates (via Advanced Filters) to munge these Fields beyond recognition. Advanced Filters)

On the other hand, i can think of one situation (only one actually) in which i believe Google would object and that's the case where the replacement information violates the GA Privacy Policy. In particular, displaying or storing or tracking via GA any personally identifiable information violates the Policy [italics are mine, not a quote from the GA Privacy Policy].

The actual definition from Google:

Personal information is information
that personally identifies you, such
as your name, email address or billing
information, or other data which can
be reasonably linked to such
information

Is a unique user ID, personally identifiable information? There is a difference between data intended to clearly distinguish one user from another, and data intended to identify each user. The distinction might depend on security--i.e., how easily could someone who had in their possession a list of your unique user IDs, discover the user identifies behind them?

为人所爱 2024-10-13 01:10:38

从技术上讲,Referrer 标头仅指定 URL。如果您想构建“假”URL,请提出一个特定于您的应用程序的 URI 方案。类似userid:656

Technically, the referrer header just specifies a URL. If you want to construct "fake" URLs, come up with a URI scheme specific to your application. Something like userid:656.

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