Skip to main content
Share Your Experience: Take the 2024 Developer Survey

All Questions

Filter by
Sorted by
Tagged with
0 votes
0 answers
14 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
20 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
142 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
0 answers
88 views

Send event to Google Analytics 4 via API with attribution data

I need to know the correct way to send events to GA4 via API, so that GA4 can receive source, medium and campaign for these events. Here's the context: a user submits a contact form on a website, and ...
Gabriel Bonfim's user avatar
-1 votes
1 answer
405 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
351 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
317 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
  • 27k
0 votes
0 answers
48 views

Discrepancies in universal analytics and GA4 analytics data

My project is a chrome extension which is currently sending data to universal analytics dashboard using analytics.js library in event_category, action, label value format While migrating to Google ...
Shrads's user avatar
  • 61
1 vote
0 answers
173 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
105 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
1k 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
443 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
  • 778
0 votes
0 answers
456 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
96 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
1 vote
0 answers
1k views

Email Tracking using Google Analytics 4?

So before GA4 came into effect I would use what this documentation page describes in order to add a 1x1 beacon to the end of emails in order to track email opening using Google Analytics. This would ...
witchysofia's user avatar

15 30 50 per page
1
2 3 4 5
21