Search code examples
firebasegoogle-bigquerygoogle-analytics-firebase

Firebase user_pseudo_id vs installation id


I'm using firebase together with bigquery integration. In the table exported by firebase, I got user_pseudo_id. But if I want to use Imported Segments, it asks for instance_id.

This doc says user_pseudo_id can be installation id, together with other possibilities. But it is pretty vague and doesn't say what other possibilities are.

So in short, are user_pseudo_id and instance_id the same? Or rather, can the user_pseudo_id exported by firebase be used as instance_id when we using Import Segments function?


Solution

  • The user_pseudo_id field is not initialized by Firebase/Analytics by default, and is whatever you set it to.

    If the user signs into your app, it is common to set user_pseudo_id to the user ID of the sign-in provider (for example, to the UID of Firebase Authentication). If the users don't sign in to the app, using the instance ID is a common alternative.