Reputation: 2202
I have several Audiences defined in Firebase, however in some of them I haven't registered a single user still, while in others I have thousands registered.
My only guess is that it happens because I have an event condition defined with count = 0
.
For example, I have these two Audiences:
For that, I have two events defined: login_succeed and login_failed.
The first Audience is defined as follows:
The second Audience is defined as follows:
The issue: There are no users registered for the second condition, and we know that there are many users that can't login in the app.
I have other Audiences that define count = 0
as well and all of them are empty.
Is this a Firebase issue? That count = 0
in an event is not supported when defining Audiences?
Thanks for your help!
Upvotes: 3
Views: 1786
Reputation: 9017
If your goal is for Notifications
You need to check opposite, create the audience with the =1 OR >1 and select the "Does not include all of". Please check the attached screenshot for better understanding.
Upvotes: 1
Reputation: 1088
An audience filter is only evaluated when there is an event or user property that appears somewhere in that filter.
See if this work-around works for you: define your audience with a single filter: myEvent event count = 0 OR first open time < (some really early date)
So create a filter that has the event count = 0, but use the OR button to add another condition to the same filter that checks the user property "first open time" to be less than some long-ago date that's earlier than your app was released. Maybe January 1st, 2010 or something. First open time is a user property that's set when your app is first opened and appears in every event bundle after that so it should always trigger your audience to be evaluated.
Make sure you are checking the user property "first open time", not the event "first open". :)
Upvotes: 1
Reputation: 2079
Currently, an audience is only counted when there is an event that satisfies the audience filter. If there is no event login_successful logged yet, there will be no audience. The number of users will be correct once there is audience count > 0 so currently, there is only positive case.
Upvotes: 1