Bug P4
Status Update
Comments
ke...@google.com <ke...@google.com> #2
Hi,
Thank you for your suggestion. I'll raise a feature request for the session id dimension so our team can check its feasibility. For future updates, please join and monitor the
Regards,
Kevin Soriano, Analytics API Team
Description
I'm attempting to leverage the Google Analytics 4 Data API (v1beta) to pull data for 50+ dimensions and metrics.
The GA4 Data API restricts queries to 9 dimensions and 10 metrics per query. I thought to workaround that limitation by creating a series of queries for different subsets of those 50+ dimensions and metrics and merging them programmatically.
runReport
I soon realized this approach was invalid as the queries return different row counts making it difficult to merge the queries as there is no universal column or key that is common to all the queries. The only thing I could think of that could serve as that universal key would be the session id, but it is not currently supported as a dimension.
Please add google analytics session id as a dimension that can be queried from the Google Analytics 4 Date API.