Status Update
Comments
ve...@gmail.com <ve...@gmail.com> #3
samaabunail <buganizer-system@google.com>:
ke...@google.com <ke...@google.com> #4
Hello,
The User Activity API does not have an equivalent yet in GA4. This is what my colleague has raised as a feature request. Regarding your alternative suggestion, I'm afraid that this is not possible since the User ID field is not a valid dimension even in the UI. If you would like to raise a feature request on this as well, I suggest you reach out to our
If you're not a Google Analytics 360 user, please make sure that you are using the email address for your standard Google Analytics account and that the email address has a Google Ads account before reaching out to the product support team, since there is a required field for your customer ID.
Regards,
Kevin Soriano, Google Analytics API team
Description
Google Analytics Data API (GA4) (runReport) does not have a way to filter data by
user_id
similar to the Reporting API v4 (userActivity) without creating a custom dimension. Is this in the roadmap or is creating a custom dimension the expected use of the API?If the recommended way of filtering the article , because it will result in high-cardinality when you have thousands of users?
user_id
is by creating a custom dimension then wouldn't that go against the best practices based on thisIt even suggests avoiding custom dimensions:
Not sure if this is a bug, but when creating a custom dimension, you can't select the
user_id
under the User property to map it (please see attached).