Learn business growth with Google Analytics 4 › Forums › Google Analytics 4 › Retrieving GA4 Google Analytics data for dimensions with missing or unset values › Reply To: Retrieving GA4 Google Analytics data for dimensions with missing or unset values
-
The problem here is that Google Analytics 4 (GA4) is dropping any rows where dimensions, including custom ones, are null. The posted code is an illustration of this problem. The programmer tried to solve it by flagging GA4 to keep rows even when they’re empty (keep_empty_rows = True) and ignore fields it doesn’t recognize (ignore_unknown_fields = True).