1,447 questions
Best practices
0
votes
1
replies
22
views
How to track custom conversion events in GA4 using Google Tag Manager?
I am trying to track a custom form submission event in GA4 using Google Tag Manager. The form does not redirect to a thank-you page and instead shows a success message dynamically.
What is the best ...
0
votes
1
answer
27
views
Measurement Protocol: client_id has invalid format. It should be in <number>.<number> format
GA4 and Measurement Protocol deep dive people!
Have you seen this error regarding client_id before when using MP?
validationMessages:
- fieldPath: client_id
description: client_id [...
1
vote
2
answers
102
views
How to create multiple dashboard widgets for different sets of Event Actions in Matomo?
I am planning to use Matomo for my internal web project and currently setting it up.
I am tracking events using the JavaScript tracker like below:
_paq.push([‘trackEvent’, ‘Plan A’, ‘Plan A Landing ...
1
vote
0
answers
91
views
GA4 BigQuery Daily Export Missing Data After Specific Date
I have a GA4 property linked to BigQuery for daily export (both iOS and Web data streams selected, “export all events” enabled, no filters).
Everything was working fine until 2025-11-23, when the ...
2
votes
0
answers
83
views
Parameter transmission problems with purchase events in GA4 measurement protocol
Our server sends a s2s_purchase_all event to GA4 using the Firebase data stream. After sending, we noticed that while Firebase displays the correct total event count and value, in the Google Ads back-...
1
vote
1
answer
61
views
Custom Statistics are only returning 0
I have some code in python that does run and retireves some information from GA4 via google python libraries.
However I've been stuck for a few days as the request to GA4 runs, but the stats (custom ...
0
votes
0
answers
40
views
Google Analytics Data API on Heroku — “Could not load the default credentials” even with environment variables set in Config Vars
I’m deploying a Node.js app to Heroku that fetches GA4 analytics using the @google-analytics/data and google-auth-library packages.
Everything works locally, but on Heroku the build or runtime fails ...
1
vote
0
answers
36
views
403 Permission error when creating BigQuery link with GA4 via Admin API (v1alpha)
I’m trying to use the Google Analytics Admin API (v1alpha) to link a GA4 property to BigQuery via the properties.bigQueryLinks.create method.
Here is my code using : https://developers.google.com/...
0
votes
1
answer
100
views
Detecting In App WebViews in GTM: Filtering Android/iOS WebViews from Browser List
We are trying to accurately detect whether a user is viewing our customers site through an in-app WebView (like Android WebView or Safari in-app) versus a normal browser. The goal is to filter in-app ...
1
vote
0
answers
148
views
GA4 (gtag.js) SPA – custom events overwrite virtual page params with homepage unless I pass page_*. How to persist page context?
I have a single-page app. I send virtual pageviews on route change via gtag.js. On each client-side route change I do (for example):
document.querySelector('.button-news').addEventListener('click', ...
0
votes
1
answer
95
views
How to see events and reports in GA4 only from the one app source
My Firebase project contains multiple apps, each one is different, and each one has GA4/Google Analytics added. But I would like to see events and reports in the Analytica console for each app ...
1
vote
1
answer
116
views
How do I use multiple filters in the Google Analytics 4 API from Python?
I am using the Google Analytics 4 Data API with the Python client library to run reports. I'm able to run a report with a single FilterExpression to filter traffic where the country equals "...
1
vote
1
answer
261
views
How can I get raw parameter values for a Firebase Analytics event (last 30 days) without using BigQuery?
I log a custom event from my Flutter app whenever a doctor expands the auto-interpretations. The event contains multiple identifying parameters (doctor id/name, organization id/name, test id, ...
1
vote
1
answer
179
views
How to Handle Missing events parameter values in DataLayer Without Triggering (not set) in GA4
I’m currently working on pushing ecommerce and non-ecommerce dataLayer events to GTM + GA4 setup.
My goal is to ensure that when event parameter values are unavailable, they appear as empty cells in ...
1
vote
0
answers
136
views
How to Send GA4 Events Without gtag/Tag Manager or Exposing Secret Key?
We are working on an Open Source Chrome extension: Digital Assistant Client
I'm trying to send event and page view data to Google Analytics 4 (GA4) without using the gtag.js script or Google Tag ...