Search
Clear search
Close search
Google apps
Main menu

User properties

In this article:

Summary table

This table lists the custom user properties that you create and register in the Firebase interface. For example, if you want to keep track of a user’s favorite sports team, set that as a user property.

Capture user properties so you can segment your user base. Apply the properties as report filters so you can understand how each segment interacts with your app.

When you create custom properties, be sure to never include personally identifiable information such as names, social security numbers, or email addresses, even in hashed form.

Create and register a user property

Each Firebase app can have up to 25 uniquely named user properties (case-sensitive). You should use properties for static or slow-changing attributes, such as "spender=true", "profession=engineer", or "favorite_team=Real Madrid". Properties are effectively sticky event parameters that are automatically logged with every subsequent call to logEvent. After you set a user property value, it will be associated with every event logged afterwards, so that you gain the ability to filter all of your analytics reports by this user property. This allows you to, for example, see how the game play habits of spenders differ from those of non-spenders. To learn how to call setUserProperty (Android) or setUserPropertyString (iOS) in your code, refer to the developer documentation.

In order to use a user property as a report filter, you need to explicitly register it. Filtering is possible on data received from the day of registration onwards. To register a new user property:

  1. In Google Analytics or Firebase, navigate to your app.
  2. Google Analytics: Click User Properties in the report navigation.
    Firebase: In Analytics, click User Properties.
  3. Click NEW USER PROPERTY.
  4. Enter a name and description for the user property, then click Create.
Was this article helpful?
How can we improve it?