-
Retrieving GA4 Google Analytics data for dimensions with missing or unset values
So, I noticed a little something with GA4. It seems to toss out any rows where any of my dimensions, including the custom ones, are null. I can’t really afford to lose that data.
I whipped up a bit of code to illustrate this.request = RunReportRequest( property=f"properties/{self.property_id}", dimensions=dimension_list, metrics=metrics_list, limit=row_limit, return_property_quota=quota_usage, date_ranges=[DateRange(start_date="2022-09-27", end_date="2022-10-06")], dimension_filter=FilterExpression( filter=Filter( field_name="customEvent:order_id", string_filter=Filter.StringFilter(value="8723903"), ) ), keep_empty_rows = True, ignore_unknown_fields = True )
Log in to reply.