21,285 questions
1
vote
1
answer
123
views
how to determine number of users who exited website from a given page on a Path Exploration
I'm trying to do some digging into users' paths through a website using a Path Exploration in GA4. More specifically, I'd like to know the pages within the flow from which users are exiting and, when ...
0
votes
1
answer
112
views
I cant manage to track Single Page Apps (Angular) with Google Tag Manager
Hi I have setup Google Tag Manager and added the script in the index file following the instructions and I added the AngulariticsModule, Angularitics2GoogleTagManager.
But when I go to Google Tag ...
0
votes
1
answer
710
views
Hashing with sha256 when sending user_data to GA4, Google ads, etc
tl;dr: Should there be a sha256_ prefix to city, regon, postal code, country, and should I hash them or not?
---- details
I am wondering wether google doesn't consider city, region and postal code a ...
0
votes
0
answers
189
views
Chrome Analytics Debugger Does not Work for GA4 hits?
I'm trying to use the Chrome Extension Analytics Debugger to check ga4 hits.
The Analytics Debugger is opened on my developper tab, but i have no hits for GA4, but an instance is found.
I'm seeing e-...
0
votes
0
answers
49
views
Google Analytics API: How to run a report for AlphaAnalyticsDataClient?
The Issue
I cannot figure out how to run a report in the Google Analytics API for AlphaAnalyticsDataClient Alpha.
There is seemingly no equivalent for client.run_report for Alpha. What would be the ...
0
votes
0
answers
71
views
Session Manual Ad Content returns as numbers instead of specified/generated string
We have created URLs with specific UTMs as identifiers, among them are unique Ad Content parameter.
However, some of the Ad content hits we see in GA4 returns as numbers instead of our specifically ...
0
votes
1
answer
3k
views
`?_gl` query parameter is added to my URL links to my subdomain - how to remove it?
I'm using Wordpress and on my site I have link to my subdomain. When I click the link it adds query parameter _gl. I don't want it. I want my link to look clean.
How to turn it off?
When I click link ...
0
votes
0
answers
59
views
How does GA4 work without a local database?
I'm quite new to Google Analytics 4 (GA4) and Google Ads (GAds) and am trying to understand the basics. Because of upcoming strict privacy laws in the European Union, that is important to me.
On https:...
0
votes
1
answer
275
views
Google Analytics and "unsafe-inline" config for Content-Security-Policy
For security concern, we replaced "unsafe-inline" with nonce for script-src in CSP config for the script in index.html.
script-src 'self' 'nonce-xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx'
...
1
vote
0
answers
72
views
Google Ads Tag Not Receiving User ID from GTM Data Layer
I'm currently working on passing the User ID to Google Ads using Google Tag Manager (GTM). I've successfully configured the data layer to pass the User ID, and I can see this working correctly in GTM'...
0
votes
1
answer
279
views
How can i calculate the average of a custom event value on GA4?
i have login time for multiple users and i want to show the average, min and max of the login time. how can i do that on GA4 ? following is my code:
gtag('event', 'login_time', {
event_category: '...
0
votes
1
answer
213
views
Reducing blocking time of GTag script
If you can recognise this:
<script src="https://www.googletagmanager.com/gtag/js?id=G-TOKENIDHERE"></script>
It is a heavy file for the first second and so it matters.
What I ...
0
votes
1
answer
151
views
Firebase Analytics parameters
I have a flutter (ios & android) project. I'm trying to learn how to use Firebase Analytics. Everything is working fine in DebugView and I can see all the data I send.
But I don't understand how ...
0
votes
1
answer
177
views
How to Disable Enhanced Measurement Events in Google Analytics for a Subdomain?
I'm currently integrating Google Analytics tracking into my application, and I have a specific question about handling different domains.
Domain 1: Website (e.g., https://mywebsite.com)
I want to ...
1
vote
1
answer
309
views
Sending custom event to GA4 via GTM without listing all its attributes
I want to track custom events in GA4 via GTM. I have setup a GA4 custom event tags which works fine. See screenshot below for example, it's not 100% correct to be working as described here but it's ...
0
votes
1
answer
226
views
New Dimension in RunReportRequest Reduces Results in Google Analytics (GA4) Python Data API
The behaviour I’m looking to understand (and ideally resolve) has to do with generating custom reports with a new companyId dimension created last week.
I notice that with the code below, when I ...
1
vote
0
answers
77
views
Tracking event from a varient of remote config in google analytics
I have a mobile app, I use remote config to create different paywalls and ABtest them to users. But as I see in the AB test feature in Firebase, all I can track is 7 different metrics. I also figure ...
0
votes
1
answer
267
views
Trying to understanding advanced Google Tag Manager setup with custom tags and variables
I'm a marketing professional who has been doing basic tagging and analytics for clients. I've encountered an account set up by someone with extensive development/analytics knowledge, and I'm ...
0
votes
0
answers
89
views
JavaScript: Firebase Analytics don't log my events in console
I'm newbie to Firebase Analytics Web implementation.
But here's my code:
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta
...
0
votes
1
answer
139
views
Google Analytics from a third party script
I am developing a widget that can be added to a host website via snippet of js code that once rendered will add an iframe to the host website.
Now my customers want to give me their GA tracking id so ...
0
votes
0
answers
107
views
Custom Parameter are read as "(not set)" in Explorer Google Analytics
My product is a web-based video game and use Firebase with Google Analytics for tracking purpose. I don't know which Analytics version it is, becuase the Property ID only contains number. AFAIK, GA4 ...
0
votes
1
answer
83
views
How can I track user engagement with files that are not hosted on a server using Google Analytics 4?
Is there a workaround to disable protocol checking in Google Analytics 4 for tracking user engagement in file-based applications like webOS apps, since GA4 no longer provides an option to disable it?
...
0
votes
0
answers
409
views
BigQuery and Google Analytics 4 channel grouping
I am experiencing a problem with the differences between the data I see in BigQuery and the data GA4 shows. Although sessions and events appear the same, I am having trouble categorizing channels. I ...
0
votes
1
answer
41
views
How to use google analytics to save an individual user's country to the database?
In a flask web application with a PostGres database, I want to get the country of a user when they register and save it to the database. I am trying to do this with google analytics/ GA api on their ...
0
votes
1
answer
44
views
How do you allow customer enter their own google anlytics tracking / measurement id on any domain?
Consider a SAAS provider offering landing pages for user. The pages are hosted under the provider's domain:
https://landingpagesinc.com/myname
Now lets consider the provider wants to allow users add ...
1
vote
0
answers
97
views
Google Analytics with ReactGA4 how to add e-commerce events?
I cannot figure out the data format used with the ReactGA4 package:
https://www.npmjs.com/package/react-ga4
Google suggest to add many important parameters such as currency, items and prices:
https://...
0
votes
1
answer
135
views
Issue with IP Anonymization Using ReactGA
I'm currently using the ReactGA library in a React.js project to implement Google Analytics. My goal is to anonymize IP addresses to comply with GDPR regulations, but I'm having trouble getting it to ...
0
votes
0
answers
70
views
App Crashing while trying to use Firebase analytics
Im developing a C++ Desktop application and trying to use Firebase Analytics using the Firebase C++ SDK from https://firebase.google.com/download/cpp
I tried initializing the analytics module but the ...
0
votes
1
answer
363
views
GA4 passing `value` parameter for an event
I'm building few tracking events which touch payment conversions, let's say this event name is event_123
in the Event Parameters I pass value (default Google parameter recognized with checkmark) and ...
0
votes
1
answer
355
views
Unable to connect Google Analytics data to Power BI
I am unable to connect my Google Analytics data with Power Bi desktop. I pick the connector, add my google login details and I can see the Account and Property but I am unable to see the data tables ...
-1
votes
1
answer
259
views
GA4 events and GTM: parameter values are not sent
I have a problem with GA4 and GTM, which i cant solve already for 3 days :(
I created a GA4 tag and event, called it "login". It has a parameter "method" which default value is &...
1
vote
1
answer
162
views
Can't Add Google Analytics to Chrome extension without api_secret
Can someone please help me add gtag to Chrome extension? My chrome extension includes a newtab.html page that overrides new tab. I found a tutorial here: https://github.com/GoogleChrome/chrome-...
-1
votes
1
answer
58
views
I need to return data as strings inside a list not as lists inside another list
I'm relatively new to programming, I need to pull weekly data from GA4 to a google sheet but I'm failing to get the data appended properly as it being inserted as an object in google sheets, I kind of ...
0
votes
1
answer
70
views
How to assign traffic to a Google Analytics channel based on URL in GA4
I remember I was able to assign the channel groups via the final URL in earlier versions.
Right now, I do not find the option to do so anmyore.
I get traffic from my affiliate publishers, however they ...
-1
votes
1
answer
637
views
Disable cookiebot in google tag manager
I want to replace cmp cookiebot on my company's website with our own code to manage cookies , i paused the cookiebot tags in google tag manager , but i still see the cookiebot code in the code source ...
1
vote
0
answers
340
views
Completing implementation of Google Mobile Ads SDK for Flutter project and allowing Google Analytics
I have developed an Android app which is in review in Google Play Console as of now. I have integrated ads using google_mobile_ads from the method described in its page at https://pub.dev as I use ...
0
votes
1
answer
44
views
Total and Active users spike on iOS in Firebase from last one month. Ex: same userID with 3 different devices and 3 active sessions
Active users duplicated on iOS (not on android) in Firebase from last one month. Ex: For One userID with the report is showing Total users:2 and Active Users: 3 with different device types like
3 ...
0
votes
1
answer
169
views
How to track utm parameters from pardot salesforce forms?
I am new to salesforce and GA. I have created a custom redirect for my contact form. I have a form that has hidden utm fields. It has a layout template and as per my understanding I have to copy the ...
1
vote
0
answers
34
views
Combining Google Analytics Data with Internal Database for Custom Charts
We have Google Analytics set up on our web portal and store certain user-specific IDs (like department, company) in our database due to GDPR considerations.
We want to display custom charts within the ...
0
votes
1
answer
134
views
Not able to store collected_traffic_source values in google analytics
I am working with Firebase Analytics to track custom data in my Android app. Specifically, I want to store source and campaign_id values inside the collected_traffic_source.manual_source and ...
0
votes
0
answers
40
views
Google Analytics in Chrome Extension isn't remembering users with given Client ID
I have a chrome extension and I want to track analytics.
Sending an event is fine, but, remembering users doesn't seem to be working.
Google is showing every user as new; therefore, when I look at ...
0
votes
2
answers
59
views
Capturing a custom attribute in GTM without the dataLayer
I'm trying to capture this button-position value in a GTM variable on a link click, to differentiate different instances of a button being clicked:
button-position value in the HTML
The developer I'm ...
0
votes
1
answer
149
views
Way to find which GTM-s are using my GA property MEASUREMENT ID
I find out that if a GA property MEASUREMENT ID is used in few Google Tag Managers then DebugView of this GA property stops working for all GTM-s. Probably, except the last one where it was configured ...
0
votes
1
answer
88
views
Count filled in form fields in GA4
I'm trying to count form fields that are filled in before a form is abandoned using a custom HTML GTM tag containing the following:
<script>
document.querySelector('.Form').addEventListener('...
0
votes
3
answers
328
views
Test google analytics tracking with cypress
I am trying to write cypress tests for our google analytics tracking.
At first glance it works with a test like this:
describe('Basic GTM Tests', () => {
it('Event ce.pageload gets fired on ...
0
votes
1
answer
16
views
GA pageTracker is undefined
I am trying to download drivers from Dynabook, but there seems to be a GA-related issue.
The console provides the following errors:
pageTracker is undefined
and
pageTracker._trackEvent is not a ...
0
votes
1
answer
105
views
Why is the Google Analytics Admin API API ignoring the "gcloud auth activate-service-account" configuration?
This is the only API I've seen behave like this.
Setting export GOOGLE_APPLICATION_CREDENTIALS=mykey works but doing gcloud auth activate-service-account --key-file=mykey and then executing my code I ...
0
votes
1
answer
199
views
Limited data returned from GA4 add on to Google sheet
When I am using the GA4 report builder add on in google sheet, the data returned is limited to 10000 rows, how can I return the whole data?
I tried to return the whole data for the selected period of ...
0
votes
2
answers
232
views
Huge Discrepancy in Total Users Between BigQuery and GA4
I'm experiencing a significant discrepancy in the total user count between BigQuery and GA4. I'm using Shopify and Elevar for server-side tracking. Over one week, there is a 15% discrepancy, and over ...
0
votes
2
answers
836
views
Google Analytics subdomain tracking (GA4)
I am the new one in Google Analytics 4, so I have some (maybe dumb) questions.
I am developing (React.js) website my-app.com and we have a lot of subdomains like test.my-app.com, hello.my-app.com, etc....