Skip to main content
Ask questions and share your thoughts on the future of Stack Overflow. Join our first live community AMA this Wednesday, February 26th, at 3 PM ET. Learn more

All Questions

0 votes
0 answers
46 views

Missing the events sent to GA4 from the measurement protocol API

I sent some events via the Measurement Protocol using the same code. For the same app_instance_id, and the same event such as value_limit_1_10, there's the situation where I sent 10 events but only 6 ...
Xinyu Song's user avatar
0 votes
1 answer
206 views

GA4 - Sessions source with credit card, paypal, gpay, and applepay

We started sending purcahse event through the measurement protocol to our GA4 property and we disabled the GA4 native purchase event code on the thankyou page. This was the initial event payload for ...
Mehrose's user avatar
  • 87
1 vote
2 answers
559 views

GA4 measurement protocol event attribution, not working with event one week later?

I have GA4 running on my site, and in my backend I store the user's client_id and session_id. With measurement protocol on our backend, I send a custom trial started event when a user starts their ...
Max's user avatar
  • 629
0 votes
0 answers
99 views

Parameter 'debug_mode' disappeared when sending custom event to Google Analytics through Measurement Protocol

I'm trying to send custom event to Google Analytics from backend Python code, I don't know if this is the correct way but it did work. Here is the Python code I used: import requests import json ...
Weibin Ren's user avatar
0 votes
0 answers
221 views

Realtime events are not appearing using Google analytics Measurement Protocol

They are sent by Measurement Protocol via https://www.google-analytics.com/mp/collect POST request. Receiving 204 OK, no error, however events are not appearing in GA4. Have also tried https://ga-dev-...
Nandini Panchani's user avatar
1 vote
0 answers
296 views

Events transmitted through the Measurement Protocol with the user_id are not received in GA4

On February 23, 2024, problems with events began. My issue is that the purchase and login events are not appearing in** GA4**, even though the tag fires in GTM for these events. I've identified the ...
Pomeshan's user avatar
0 votes
1 answer
872 views

Struggled with Measurement protocol to send purchase event through GTM

I'm completly lost !I started to use Google Ads for my B2C Saas and I need to send conversion event to it. I use stripe as payment provider. So I use webhook on my backend to handle payment.success ...
Adrien Kouyate's user avatar
1 vote
1 answer
606 views

How to send ad revenue to GA4 using a measurement protocol event?

I'm trying to get the ad revenue from a external source into the GA4 "Monetisation" -> "Publisher Ads" report by sending an event using the measurement protocol from php. ...
EyeSeeT's user avatar
  • 11
1 vote
1 answer
561 views

Google Measurement Protocol for GA4 stopped recording or partially excludes data randomly

I have reason to believe Google Analytics updated their algorithm to partially or entirely filter out events received via the measurement protocol on high traffic'd Properties. I can send the same ...
Trip's user avatar
  • 27.1k
1 vote
0 answers
271 views

Google Analytics 4 and client id (IoT devices, older specialized and incompatible browsers, etc.)

There are devices where you cannot use Kotlin/Java or the Swift/Objective-C library for GA4, as well as gtag.js (https://developers.google.com/analytics/devguides/collection). This could be IoT ...
STeN's user avatar
  • 61
1 vote
0 answers
132 views

Measurement protocol to GA4 through chrome extension does not show engaged sessions count

I am using measurement protocol to send data to my GA4 property from my chrome extension as there is no support for chrome extension in gtag.js yet. The problem I am facing is though I am sending ...
Shraddha Jog's user avatar
1 vote
2 answers
2k views

How to set device information when passing an event to GA4 via Measurement Protocol?

I'm using the Measurement Protocol to push e-commerce events to GA4 and it works well. However, some time ago, I noticed that all transactions are marked as desktop (even those that were actually ...
Vlad's user avatar
  • 55
0 votes
1 answer
881 views

How to parse GA4 Measurement Protocol (collect?v=2) POST request URLs?

Objective I am developing a Chrome DevTools extension to display data sent to GA4. Example output: https://github.com/temelm/tealman/blob/357c3a5472cc6737781268499f49802530d833cc/store-listing/...
temelm's user avatar
  • 788
0 votes
0 answers
555 views

Calculate Average engagement time in GA4 (Google Analytics 4) using measurement protocol

I am creating chrome extension and trying to pass the data to GA4(Google Analytics 4) using measurement protocol.How I can send session start and session end time to GA4 using measurement protocol so ...
Sukrut Deo's user avatar
1 vote
0 answers
136 views

(GA4) cannot find the custom param value of event and user properties in exploration report

I have send data to GA by a simple POST method https://www.google-analytics.com/mp/collect?measurement_id=<measurement_id>&api_secret=<api_secret> payload: { "client_id"...
Anson Tsang's user avatar

15 30 50 per page
1
2 3 4 5
22