Learn business growth with Google Analytics 4 › Forums › Google Analytics 4 › Can't get data from GA4 API prior to when an included Custom Definition was created › Reply To: Can't get data from GA4 API prior to when an included Custom Definition was created
-
It sounds like the situation you’re experiencing is likely due to the nature of how custom dimensions and metrics work. When you create a new dimension or metric, it doesn’t retroactively apply to pre-existing data. That’s because, when data is sent to Google Analytics, it includes the dimensions and metrics at that point in time. Any dimension or metric created subsequently wouldn’t apply to this data. That’s likely why you’re seeing data from the 8th onwards, which is when the new dimension was created. It’s a standard behavior rather than an anomaly. As for the identical results in both GA4 Magic Reports and SyncWith addons, they fetch data from Google Analytics using the same principles, so this is also expected. To have insights from a certain period with a custom dimension or metric, you should create and apply this dimension/metric at the start of that period.