title: Google Analytics Data API online users
body: <p>I am migrating from <a href="https://developers.google.com/analytics/devguides/reporting/realtime/v3" rel="nofollow noreferrer">Google analytics Realtime api</a> for Universal analytics to the <a href="https://developers.google.com/analytics/devguides/reporting/data/v1/rest/v1beta/properties/runRealtimeReport" rel="nofollow noreferrer">Google analytics data api Realtime report method.</a> for google analytics GA4.</p>
  <p>Is there any way how to get amount of online users? With <a href="https://developers.google.com/analytics/devguides/reporting/data/v1/realtime-basics" rel="nofollow noreferrer">Realtime report</a> I am able to get number of active users by last 30 minutes, but not the absolute number at this time.</p>