Learn business growth with Google Analytics 4 › Forums › Google Analytics 4 › How to obtain user_pseudo_id using GA4 API? › Reply To: How to obtain user_pseudo_id using GA4 API?
-
Unfortunately, as of now, there’s no way to fetch the ‘user_pseudo_id’ through the GA4 API. While it’s true that the clientId for Universal Analytics (UA) wasn’t listed in the API documentation yet it was retrievable as a dimension, this isn’t the case for the ‘user_pseudo_id’ in GA4. If you have your GA4 data flowing into Google BigQuery, the ‘user_pseudo_id’ would normally be present there. However, you mentioned that you need to import GA4 data into BigQuery, but the missing dimensions are not available in the API which creates a troublesome situation. Unfortunately, this is a limitation set on GA4 API directly by Google.