nakata
nakata

Reputation: 49

Google Analytics 4 (GA4) measurement protocol (debug view) not working

I am trying to send an event to Google Analytics 4 with measurement protocol, via Insomnia.

I would like it to show up in GA4 debug view, so I've added the debug_mode parameter and changed the POST endpoint to /debug/mp/collect instead of /mp/collect. But it doesn't show up in debug view.

I have read similar questions about GA4 measurement protocol here on stackoverflow but can't find out why GA4 isn't receiving these POST requests. Do any of you know why it isn't working? See the images of my json body and header below.

Really need some help with this, thank you in advance.

Image of header

Image of payload/object

Upvotes: 4

Views: 2007

Answers (1)

Littlemyx
Littlemyx

Reputation: 75

As it is said in the official documentation of Measurement protocol: "Events sent to the Validation Server will not show up in reports".

Thus, you need to change the endpoint of your call back to /mp/collect to be able to observe your events in the debug view.

Upvotes: 3

Related Questions