根据动态用户属性创建受众 [英] Create audience based on dynamic user property

查看:61
本文介绍了根据动态用户属性创建受众的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个应用程序,用户可以在其中拥有付费"或免费"状态.如果用户停止支付订阅费用,则可以从免费"切换为付费"(如果他在应用内购买),也可以从付费"切换为免费".

I have an app in which a user can have a "paid" or "free" status. A user can switch from "free" to "paid" (if he does an in app purchase) or from "paid" to "free" if he stops to pay its subscription.

我可以使用动态用户属性来跟踪Firebase中的信息吗?

Can I use a dynamic user property to track the information in Firebase ?

在文档中,尚不清楚是否允许其具有可以随时间变化的动态用户属性值(

In the doc it is not clear if it is allowed to have a dynamic user property value that can change over time (https://support.google.com/firebase/answer/6317519?hl=en)

如果这不是一个好习惯,那么怎么做呢?

If it is not a good practice, how is it possible to do such a thing ?

谢谢

推荐答案

如前所述,用户永久位于某个受众群体中,并且当属性发生更改时,假设存在所有受众群体,则该用户将成为基于同一属性的多个受众群体的一部分属性值.

As mentioned, user is permanently in an audience and when property changes it will be part of multiple audiences based on the same property, assuming there is an audience for all property values.

我发现解决此问题的一种方法是创建受众的副本并不时删除原始副本.如果Firebase允许重置受众内容,那就更好了.

I have found that one way to work around this is to create a copy of an audience and delete the original one every once in a while. It would be even better if Firebase allowed resetting the audience content.

如果用户活跃并且可以迅速重新聚集观众,则此方法有效.如果您需要受众群体来吸引不活跃的老用户,该方法将无法正常工作.

This works if the users are active and the audience will be re-gathered quickly. It will not work if you need the audience for reaching old inactive users.

这篇关于根据动态用户属性创建受众的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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