During Firebase Developer Summit 2018 in Prague, Firebase introduced Audiences. With this functionality, you’re able to create groups of users who meet the same requirements and allows you to target them.

For example, if you have an app about recipes, and you measure which recipe categories the user is reading, you can target users by the recipe category and recommend the user more recipes based on his behavior in your app.

Creating an audience

In the Firebase console, it is possible to select Audiences in the menu. From there it is possible to add a new audience. You’re full in control to create audiences you need, based on the data your app sends to Firebase Analytics.

Each event can be a trigger to put a user to an audience in Firebase. The more events you track with Firebase Analytics, the more flexible you are in creating audiences.

Let’s take another example using the recipes app. We may want to target users who likes Asian food. This audience are people who read more than 5 recipes in the category Asian. That can be easily done using Firebase, when there is an event which is tracking the recipe category. To create an audience for this users, it is possible to target them when the category event value is Asian and that event did happen 5 times or more.

The way to create an audience is fully described by Firebase on their help page.

Integrations with Firebase Audiences

There are multiple smart integrations of Audiences in Firebase. The first one is Firebase Analytics. You can view analytics data specific for each audience. In the analytics data, is also possible to track how many users are part of the audience.

Also, Firebase Remote Config has support for Audiences. Using Remote Config, it is possible to set custom parameters in the remove config file, based on the type of audience the user is. This allows you to create a different experience in your app for a specific user group.

Another great integration is Firebase Cloud Messaging, an easy way to send push notifications to your users. You can target an audience group with Cloud Messaging, so in the example above only the Asian food lovers will receive the notification of a new recipe in that category.

In the Curacao Party app, I created an audience for people that watched multiple events for the location ZanziBar. Because I created this audience, I can easily target this user group by sending a push notification about a new event that ZanziBar will host on their location (see screenshot below).

Firebase Audiences in the Firebase Console
Target the audience group that likes events of the location ZanziBar.

Future of audiences

Firebase just started with audiences and the future is looking bright. Because Firebase is offering a lot of helpful tools for mobile, there may come integrations with other Firebase tools like In-App Messaging, Crashlytics or Dynamic Links.

The next Firebase Developer Summit is in September in Madrid, so let’s see what they will announce there!