21,289 questions
0
votes
0
answers
57
views
Google Analytics importing with Unknown failure [closed]
I’ve recently encountered an import failure error in Google Analytics when importing data from Salesforce. The import was scheduled to run every night and used to work fine. The failure message simply ...
0
votes
0
answers
40
views
Can I send any event, analytics data to Firebase projects, android app, with JavaScript for tracking purposes [duplicate]
I have created a Firebase project and connected it with Google Analytics. Project consists of two apps, one is an Android App(android app data stream) other one is WebApp(web data stream).
The web app ...
1
vote
0
answers
89
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
54
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 ...
0
votes
0
answers
45
views
App Id is not captured in Google Tag Manager intermittent in Mobile App
Problem Description: App Id is not captured in Google Tag manager some time on submit button click event in Mobile App.
Problem Background : I am having verify OTP page(OTP grid) and Submit button in ...
1
vote
1
answer
76
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 "...
0
votes
0
answers
53
views
How to universally exclude staging and local env data in GA4?
I'm working on a Next.js project and have a GA4 property set up to track my website's performance. The main issue is that my GA4 dashboard is collecting traffic data from my local development and ...
0
votes
0
answers
85
views
how to setup GA4 (Google Analytics 4) SKAN(SKAdNetwork) marketing ads campaign measurement iOS?
I am trying to understand new approach SKAdNetwork which is supported by Google Analytics.
What i want to do :
I want to check my on Google Analytics 1000$ spent where on ads marketing like ...
1
vote
1
answer
177
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, ...
0
votes
1
answer
69
views
The Google Analytics online environment for "@next/third-parties/google" does not run properly
The nextjs project uses Google Analytics, which works fine on localhost, but fails to execute after Docker deployment. The following is a screenshot of the console network.
export default function ...
1
vote
1
answer
112
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
87
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 ...
1
vote
0
answers
102
views
Google Analytics not sending different pages aside from home page in ReactJS(Vite)
I'm using react-ga4 for my [portfolio[(https://vicentereyes.org). I have a PageViewTracker.jsx which has:
import { useEffect } from 'react';
import { useLocation } from 'react-router-dom';
import { ...
2
votes
1
answer
283
views
How to track screen views in Jetpack Compose using Google Analytics?
In the previous XML-based Android development, it was relatively straightforward to track screen views in Google Analytics by using separate activities for each screen.
Now that I’m using Jetpack ...
0
votes
0
answers
55
views
Cookie consent update - not adding GA cookies back to browser in MVC
I am having the option to update the cookie consent of user when browse my site.
Also, I have implemented the Google Analytics in my site.
These GA cookies are non-essential cookies.
When I accept the ...
0
votes
0
answers
63
views
In GA4 API, how do you get page referral information? All queries are coming up null
What I'm trying to do:
I want to query GA4 to get a matrix of the top 1000 pages that match a specific regex, which is this:
r"^/page/[a-zA-Z]+$"
I have run other queries with this regex, ...
0
votes
1
answer
122
views
Is there a way to check which action triggers event in GA4?
I'm relatively new to GA4 and I made this simple table with 'Page path and screen class' and 'Event name' as rows, 'Event count' as values. There is a bunch of events with mostly clear names, but I ...
0
votes
0
answers
67
views
Drop in GA4 default events when migrating the front-end from Rails to NextJS
We have recently migrated our E-commerce application's front-end from Rails driven views to NextJS. We are using Google Analytics4 to send analytics data.
The issue I am facing is, after migrating to ...
2
votes
1
answer
131
views
The official Chrome documentation recommends exposing api_secret in the client, is this safe?
Looking at the official tutorial on Chrome Developer website for tracking extension usage with Google Analytics, it says that:
The first step is to obtain an api_secret and measurement_id. Follow
the ...
0
votes
0
answers
46
views
Unable to see screen name in User Activity in GA4
I'm trying to analyze user activity in user explorer in GA4.
I'm sending custom events in android via:
bundle.putString(com.google.firebase.analytics.FirebaseAnalytics.Param.SCREEN_NAME, ...
0
votes
1
answer
90
views
django-minify-html breaks Google Analytics injection
I'm running into an issue and would appreciate some pointers. I have a production Django app where I included Google Analytics using a context processor and conditionally render it in my base.html ...
1
vote
2
answers
169
views
GA4 Measurement Protocol purchase event not appearing in DebugView when sent from backend using stored _ga client_id
I'm trying to send a purchase event to Google Analytics 4 using the Measurement Protocol from my Laravel backend. I'm not using gtag.js or Firebase — only server-side requests.
Here’s what I’m doing:
...
0
votes
4
answers
494
views
Enhanced Conversions Missing from GA4 Tag in Tag Manager
I seem to be missing the “Include user-provided data from website” option in my web GTM GA4 event tag. Other past checkboxes have disappeared too. Checking other Google Tag Manager containers, too, ...
0
votes
0
answers
72
views
Discrepancy in GA4 Event Count Between UI and Data API
I'm using the Google Analytics Data API v1beta to pull campaign-wise key events from my GA4 property, specifically tracking a custom event called Phone_Number_Click (configured via Google Tag Manager)....
0
votes
0
answers
27
views
Google Analytics : Why some columns under purchase event is empty?
I'm curious why the completion rate, abandonments, and abandonment rate appear blank in the Purchase section, despite purchase events successfully triggering from the website.
Here is the screenshot ...
0
votes
0
answers
61
views
iOS - Firebase debug view not showing any devices
I have Firebase configured in my app, but I'm having issues getting Debug view working. We're able to see the analytics in GA4, so they're getting through, but when I try to open the Debug view, I don'...
0
votes
0
answers
63
views
Firebase Android analytics data dropped to zero after Flutter and Gradle upgrade
I'm using Flutter with Firebase, and recently made a few upgrades. After the update, all Firebase analytics data from Android dropped to zero, while iOS data remains unaffected.
What I changed:
...
0
votes
1
answer
156
views
Google Analytics 4 DebugView Not Showing Any Events or Debug Devices from React App
I'm building a React app (using react-ga4) and trying to track pageviews/events with Google Analytics 4 (GA4). I want to verify events using the GA4 DebugView, but no events or debug devices ever show ...
0
votes
0
answers
87
views
How to redact sensitive information from URLs in GA4 using Google Tag Manager 360?
I'm working with Google Tag Manager 360 and GA4, and I'm trying to ensure that no sensitive information is sent in the page URL or path when data is sent to Google Analytics. My Application is a ...
0
votes
1
answer
227
views
How to make external scripts work with hash-based CSP without allowlists in Astro?
I'm using a strict CSP without allowlists on my statically generated Astro website. I have no access to nonce-based CSP, only hash-based.
Do I need to add permitted domains to a CSP allowlist if I'm ...
1
vote
1
answer
34
views
Custom dimension event value limited to 9
In GA in reports snapshot for screen_changed event in screen_id params I see 44 different params for 27-28 april.
I created custom dimension on 22 april and In free-form I see only 9 different ...
1
vote
1
answer
147
views
How to get Entrances and Exits metric in GA4 API
In GA4 there are two metrics called Entrances and Exits, that shows the number of times the first event in a session happened on a page or screen.
The problem is that when searching in the API ...
0
votes
0
answers
59
views
Using Express session ID as Client ID for an anonymised event count in Google Analytics
I am setting up Google Analytics for a web application. In addition to the standard client-side implementation, I want to track some events from the server, using the measurement protocol.
This should ...
0
votes
1
answer
44
views
Track summary details expand in Google Analytics G4
Im using the function details summary to show content on click.
<details>
<summary>
<a class="btn class goes here">My text to expand the content</a>
</summary>
...
0
votes
0
answers
65
views
Missing some events in BigQuery from Firebase Analytics integration
For some reason, certain events that are normally visible in Firebase Analytics cannot be found in our BigQuery database. Specifically, this concerns the screen_view and user_engagement events. These ...
0
votes
0
answers
105
views
Impact of missing consent signals
I am missing the ads consent signals as shown in the image - would they affect event tracking in analytics reporting? Because it says above "Demographic & interest insights" would be ...
0
votes
1
answer
92
views
How can I access users GA4 data using service account without adding service email as a user
I have a laravel project, where I try to get user's google analytics data. I created a OAuth2 authentication to get user's credentials. I also set a google cloud project, created a service account and ...
0
votes
1
answer
88
views
Google Tag Manager not working after upgrading TYPO3 from v11 to v12 (code present, no tracking)
we recently upgraded a TYPO3 website from version 11 to version 12, and since the update, Google Tag Manager (GTM) tracking is no longer working properly.
Here’s what we’ve observed:
GTM is ...
0
votes
0
answers
43
views
One Google Tag - Same destination Google Analytics and Google Ads
enter image description here
Seems that Google Tag shares destination with Google Analytics Tag (G-xxx) and Google Ads (AW-xxx). What can't I separate them and what is the issue if I leave them as is? ...
0
votes
1
answer
237
views
How are Android apps supposed to gather Analytics consent status for users in the EEA, any library to do it or do I need to implement custom UI?
So, if I press the "Set up consent mode" button, it just redirects to the Set up consent mode for apps page, which only shows that we can:
Add the following to the manifest:
<meta-data ...
1
vote
1
answer
206
views
How to send nested event_data object from GTM to GA4 without it appearing as [object Object] or being stored as a string?
I'm using Google Tag Manager (GTM) to integrate Google Analytics 4 (GA4) into my web project. My setup involves dynamic event tracking using custom variables like {{event}}, {{custom_trigger}}, and {{...
3
votes
2
answers
231
views
Setting up user id in Google analytics with Google tag (gtag.js)
I have a user set up as follows with Google tag, gtag.js:
<!-- Google tag (gtag.js) -->
<script async src='https://www.googletagmanager.com/gtag/js?id=G-Lxxxxxxx'></script>
<...
1
vote
1
answer
270
views
GoogleTagManager from '@next/third-parties/google' not firing at all
I have this crazy issue with setting up GoogleTagManager in my NextJs project and I can't figure out what the issue is. This is my RootLayout component:
"use client"
import { Amplify } from &...
0
votes
0
answers
48
views
gtag is not sending custom event when redirecting to external page
I want to track when user clicks on the button which redirect to external page.
Implementation:
gtag("event", name, {
event_callback: () => onLinkOpen ? onLinkOpen(link) : window....
0
votes
0
answers
25
views
Google Analytics not showing complete url path
This is where I use my gTag for all server pages
google.ejs
<!DOCTYPE html>
<html lang="en">
<head>
<script
async
src="https://www....
0
votes
0
answers
65
views
How can I track if a user has opened a Firebase Cloud Messaging (FCM) notification on Android and iOS?
I'm using Firebase Cloud Messaging (FCM) to send push notifications to users of my mobile app Drooid, which is available on both Android and iOS.
I want to track whether a user opens a notification ...
0
votes
1
answer
78
views
Unable to Get Send User IDs working in new GA Property
I'm unable to get user id tracking working on a "new" GA4 property but it works on an "old" GA4 property. https://support.google.com/analytics/answer/9213390?hl=en
I have Google ...
0
votes
0
answers
67
views
Google Analytics session id being incorrectly persisted in data
I'm debugging an e-commerce site which isn't seeing any attribution data on checkouts.
I've set up the GA4 BigQuery export and have found that within event_params the session id is sometimes being ...
0
votes
0
answers
42
views
Inconsistent in_app_purchase Logging Firebase Analytics
I have a react native application using the Firebase SDK Analytics. I tried comparing the in_app_purchase event with the Order Management tool in the Play Store console. I noticed some inconsistencies,...
3
votes
0
answers
284
views
Flutter: how to track and attribute mobile app installs
I have a small Flutter app and plan to promote it through both posts and ads on Google, Meta, and TikTok. The customer journey follows one of these paths:
Ad/Post or organic traffic → Website → Click ...