Learn business growth with Google Analytics 4 › Forums › Google Analytics 4 › Accessing Audience Data and User IDs in Google Analytics 4: Is There an API Available? › Reply To: Accessing Audience Data and User IDs in Google Analytics 4: Is There an API Available?
-
Regrettably, audience data including
user_id
oruser_pseudo_id
is not directly available in GA4 reports or via API at this time. GA4 doesn’t have the capability to export audience memberships byuser_pseudo_id
to BigQuery. This differs from Universal Analytics, where you could send custom dimensions to capture audience data. However, you may be able to approximate it by setting up custom events or user properties that align with the way your audiences are defined. Ensure to keep your site’s privacy policy and data compliance in mind when doing this. Google occasionally updates and adds to their features, so it may be possible to get this information in the future.