It looks like Google Analytics 4 API doesn't offer reporting to the minutes. The closest I can see in the Query Explorer is Date + Hour.
Is there a way to obtain data accurate to the minutes with GA4 reporting API?
Google Analytics 4 Data API added three new dimensions today: dateHourMinute, minute, and nthMinute. This page lists all dimensions and metrics available in the API.
These dimensions are compatible with some but not all other dimensions and metrics. For example, minute is compatible with eventCount and activeUsers, but minute is not compatible with newUsers. We're adding a new API method to show which dimensions and metrics are compatible with other dimensions and metrics.
Thanks, Brett
The Google Analytics Team
One workaround could be to capture the hit timestamp as a custom dimension. Here's an example: https://www.simoahava.com/analytics/improve-data-collection-with-four-custom-dimensions/#4-hit-timestamp
Note that link I shared sets up a custom dimension for Universal Analytics, not GA4. So for GA4 you would need to capture it as an event parameter and then create the custom dimension in the GA4 interface.
Alternatively, you could enable the export to BigQuery and the following field is provided in the schema: event_timestamp
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With