从 Android 的 firebase Analytics 中排除年龄、性别和地区

Exclude age, gender and region from firebase Analytics on Android

最近我有一个具体要求,不允许 firebase 分析收集用户的数据,如性别、年龄和地区(由于 GDPR)。我知道,我们可以完全禁用分析。

Firebase 分析说:

Analytics automatically logs some user properties; you don't need to add any code to enable them. If you need to collect additional data, you can set up to 25 different Analytics User Properties per project. Note that user property names are case-sensitive and that setting two user properties whose names differ only in case results in two distinct user properties being logged.

您不能使用 Google 保留的一小部分用户 属性 名称:

我想知道是否有办法只禁用这些自动记录的用户属性??

非常感谢您的努力。

没有选项可以排除任何 automatic properties (except, apparently, on iOS, where you have to do some configuration to enable them). The only configurations are documented here。如果要求您不收集有关最终用户的信息,您唯一的选择是完全禁用 Analytics。

注意数据是完全匿名的。除非您将一些个人身份信息添加到用户记录,例如用户 ID,否则无法将属性追溯到特定的最终用户。