Firebase-如果用户的“用户"属性已更改,则该用户将从“受众群体"中删除 [英] Firebase - is user deleted from Audience if his User property is changed

查看:113
本文介绍了Firebase-如果用户的“用户"属性已更改,则该用户将从“受众群体"中删除的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

基于用户属性,我们有两个受众群体,值分别为truefalse.

We have two Audiences based on the User Property which value is either true or false.

我们会向这两个受众发送不同的推送通知.

And we send different Push Notifications to these 2 Audiences.

在某一时刻可以更改用户的属性值,因此我希望将其从一个受众群体中删除,并在另一个受众群体中出现,如下所述

At one point user's property value can be changed so I expect him to be deleted from one Audience and appear in another like it is described official docs:

在Analytics(分析)受众群体中使用远程配置存在一些局限性 目标对象并非基于用户属性.具体来说,用户成为 分配给受众群体的永久成员之后.和 用户属性,您可以定义它们,以便它们只是暂时的 true:属性为true时,会将用户分配给受众群体, 然后在属性不再存在时从受众群体中删除 是的.

Using Remote Config with Analytics audiences has some limitations when audiences are not based on user properties. Specifically, users become permanent members of an audience after they are assigned to it. With user properties, you can define them so that they are only temporarily true: users are assigned to an audience when the properties are true, and then removed from the audience when the properties are no longer true.

但是实际上,用户会同时留在两个受众群体中,并且我会在同一设备上收到这两个推送通知(专用于不同的受众群体).

But in reality user stays in both Audiences and I receive both push notifications(dedicated to different Audiences) on the same device.

其他人也遇到相同的问题:根据动态用户属性创建受众

And same issue is experienced by others: Create audience based on dynamic user property

是错误还是我想念/误解某些东西?

Is it a bug or am I missing/misunderstanding something?

推荐答案

将用户添加到分析受众群体后,他们将永远成为该受众群体的一部分.

Once a user is added to an analytics audience, they will forever be a part of that audience.

您引用的文档提供了指向使用文档的链接具有Analytics(分析)的Firebase远程配置.具体来说:

The documentation you quote from provides a link to the documentation for using Firebase Remote Config with Analytics. Specifically:

现在,远程配置"使您可以使用Google Analytics(分析)用户属性来创建条件,从而可以针对您定义的用户群细分进行自定义应用,比以前更精确.

Remote Config now lets you use Analytics user properties to create conditions, allowing you to customize your app for segments of your user base that you defined much more precisely than was previously possible.

因此,通过使用Remote Config中来自Analytics(分析)的用户属性,可以使他们暂时符合Remote Config中的特定条件.一旦属性更改为不匹配的值,用户将不再匹配远程配置"条件.

So by using user properties from Analytics in Remote Config, you can have them temporarily meet a specific condition in Remote Config. Once the property changes to a non-matching value, the user will no longer match the Remote Config condition.

这仅在远程配置"中有效.该用户仍将是他们可能已经加入的任何Google Analytics(分析)受众群体的一部分.因此,您基于Google Analytics(分析)受众群体进行的任何定位仍将以用户为目标.

This only works within Remote Config. The user will still be part of any Analytics audience they may have become part of earlier. Hence, any targeting that you do based on the Analytics audience will still target the user.

这篇关于Firebase-如果用户的“用户"属性已更改,则该用户将从“受众群体"中删除的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆