Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Firebase Audience with time events criteria

I would like to define an audience in Firebase based on last time an event was fired. For example, I would like to reengage users who did not open the app (event: app_open) last 30 days.

I've been trying to define an audience based on this criteria with no success.

Any help would be appreciated

like image 642
Daniel Albert Avatar asked Jul 29 '16 10:07

Daniel Albert


2 Answers

There is no way to do that as of now. However if you export to BigQuery you could define the audience here (and end-up with a list of player in that audience). If you wanted to target them with notification it would require you to store somewhere in your server the list of GCM token (for iOS/Android) and then handle the communication with GCM servers to send the push. It's not ideal, but as of today it's the only solution I know about.

like image 51
Sistr Avatar answered Sep 22 '22 15:09

Sistr


Background

Earlier, one of the biggest limitations was that, once a user was placed into an audience, they could never leave. But that has changed with the new dynamic audience features that were announced at the Firebase Summit in October 2018. With dynamic audiences, users will join an audience when they meet the criteria for it, but also leave that audience when they no longer belong to the audience using a feature called 'Membership Duration'.

Feature

Here's how Membership Duration works: Your app will continually evaluating whether or not your users belong to each one of these audiences that you've defined, and is "renewing" your user to audiences that they've qualified for. What this duration field will do is look at a user's last "I've qualified for an audience" time and remove them from the audience if that time was longer than the current membership duration.

Solution

In your case, you just need to add a Membership Duration of 30 days to the audience with app_open event to get the required audience.

FirebaseAnalyticsScreen

Please note that audience populating starts only after a custom audience is created and doesn't use previous data.

like image 40
Mayur Dhurpate Avatar answered Sep 21 '22 15:09

Mayur Dhurpate