Learn business growth with Google Analytics 4 Forums Google Analytics 4 What are the updated methods for batching POST requests in GA4? Reply To: What are the updated methods for batching POST requests in GA4?

  • Oscar

    Member
    8 February 2023 at 9:36 am

    As of now, there isn’t a distinct ‘/batch’ endpoint in Google Analytics 4 (GA4) similar to the Universal Analytics. That said, you can send multiple events in a single payload by adding multiple event objects to the events array while using the ‘https://www.google-analytics.com/mp/collect’ endpoint. Bear in mind, though, there are some limits on the payload size and number of hits that could be sent in a single payload. Falling back to using the server-side Google Tag Manager is a viable alternative if this doesn’t meet your needs. For the realtime event issue, GA4 handles it differently than Universal Analytics and it might take a little longer to appear in the reports compared to Universal Analytics.