GA4 server side response returns 204

I noticed just now that all server side responses from GA4 return a 204 status (no content) and an empty response. Is this normal behaviour? Or are we missing something? The same response occurs on all GA4 events.
No description
4 Replies
BadgeMan
BadgeManOP2mo ago
Any help appreciated.
Mackenly
Mackenly2mo ago
Any 2XX codes are successful. Using something other than just 200 means the devs are good and are using meaningful response codes. If there's no content that needs to be sent, 204 is the correct code.
m.muiznieks
m.muiznieks2mo ago
Google returns 204 as default.
BadgeMan
BadgeManOP2mo ago
Cool, thanks!

Did you find this page helpful?