Questions tagged [google-analytics]
Google Analytics is a free web analytics solution that uses JavaScript to send data. Use for questions only about implementing the JavaScript portion. Questions related to Google Analytics data or usage should be submitted to https://webapps.stackexchange.com/
google-analytics
21,571
questions
0
votes
0
answers
21
views
GA Server side tagging custom event not firing even when the event name is correctly matched
Our team is new to GA server-side tagging. We have the purchase event setup on the web container and managed to receive the event on the server-side container; as shown on the screenshots below. The ...
0
votes
0
answers
29
views
Google Analytics API for getting total clicks and impression
I want a total click and impression for the google analytics api for where we can get the total impression and click.
I am using this url to fetch the data from the google but i didn't find any api ...
0
votes
1
answer
56
views
"Selected dimensions and metrics cannot be queried together." - UA API
After attempting to run this piece of code with Universal Analytics version 4, I encountered an error:
code :
def get_ua_report(analytics):
"""Fetches the report data from Google ...
0
votes
0
answers
53
views
User acquisition zeroed when implementing consent mode
I have custom consent mode implementation for google analytics, using gtag.js.
Adding the relevant pieces of code:
<!-- Google tag (gtag.js) -->
<script data-category="analytics"...
0
votes
0
answers
11
views
Tracking Views for Iframe on External Website with Google Analytics
We produce a calendar that is syndicated to other sites with a script (iframe). How can we track this traffic in our Google Analytics account? I need to know the page views for each script.
I can't ...
0
votes
0
answers
26
views
Can I track an event server side on Google Analytics 4 only using user_id (and NOT client_id)?
Let's assume this flow:
User logins to the app
A user-id is set to a unique hash my-unique-user-id on google analytics client SDK.
Then, on server side, I want to track a My Custom Event that applies ...
0
votes
0
answers
40
views
Track Google Analytics for AMP pages when user clicks on anchor text
<div class="base2"><a href="tel:+917411951943" id="Call">CALL NOW</a></div><span>|</span>
For the above code in my AMP page I want to ...
0
votes
0
answers
15
views
Is there any ways for me to build tracking link which includes UTM parameters directly in the Google Play App's link?
I had set up a Google Ads campaign and used Google Play App's link as a final URL. Can i ask that is there any ways for me to build tracking link which includes UTM parameters directly in the Google ...
0
votes
0
answers
14
views
Will asynchronous loading of shopify pages cause inaccurate data in GTM statistics?
I ran into a problem where the code I wrote on the front end of shopify by hardcoding it was not the same as the code I wrote on the web page through the GTM trigger, and the events I ended up ...
0
votes
1
answer
140
views
Android - Firebase events not showing up in some devices
I have an app with both Homolog and Production flavors. In the Homolog flavor, I use the following command to connect to Firebase Debug View:
adb shell setprop debug.firebase.analytics.app com....
0
votes
0
answers
38
views
SQL on BigQuery and Google Analytics - Queries Merging
I'm trying to combine two queries in BigQuery to fetch data from Google Analytics.
Query 1: Give me the number of users on my website per URL & per day.
Query 2: Give me the count of events per ...
0
votes
0
answers
15
views
Google Analytics is detecting multiple versions of my URLs even though pages do not exist
Google Analytics is saying that my CoreDNA site (with .NET as the code behind for all of the functionality/templates) has duplicate content that is interfering with the Analytics data for our site's ...
1
vote
1
answer
211
views
How do I create a custom field in Looker Studio that returns page path level one for GA4 data?
I am attempting to create a custom field in Looker Studio, that returns the page path level one data, for my Google Analytics data. In UA, this dimension was provided by default, but this is not the ...
0
votes
0
answers
78
views
GA4 unassigned traffic
Purchase event fall into unassigned traffic
Recently I found my GA4 purchase data all fall into unassigned, I am using shopify, all GA4 data before is fine. One day I found that all GA4 purchase data ...
2
votes
1
answer
220
views
BigQuery Linking Error: "Internal Error. Please try again later" when submitting Linking Setup
I'm trying to link my Google Analytics 4 (GA4) properties to a BigQuery project. Previously, I've successfully linked one property to the BigQuery project.
Now, I have around 7 more GA4 properties to ...
0
votes
0
answers
53
views
Create a Google Analytics 4 Query Explorer in my appliation
I'm developing an interface similar to Google Analytics Query Explorer( https://ga-dev-tools.google/ga4/query-explorer/ ) for my client's Google Analytics data.
My goal is to load all available ...
-1
votes
1
answer
73
views
Can I set two different Google Analytics in a Firebase Project?
so we have already built our app using Firebase. We use some services like FCM, Crashlytics, App Distribution etc and we also use Firebase Google Analytics. but recently our company have branch office ...
0
votes
0
answers
12
views
How to use _gaq.push in Google Analytics 4
As Google Analytics has now updated to Google Analytics 4, I am wondering how do you configure a _gaq.push(). I am wanting to utilize an anti-adblock (BlockAdBlock.com) but still track it in Google ...
0
votes
0
answers
40
views
GTM tags firing in preview mode but events not getting reflected in Google Analytics
I am getting "No google tag found in this container" when I enter measurement id in order to create a new GA4 tag. Is it causing the issue of my tags firing in preview mode but not showing ...
0
votes
0
answers
39
views
Using gtag dataLayer in Google Tag Manager
Although I started using Google Tag Manager log times ago, I have my legacy tracking (gtag) still available on my website.
So, in my GTM container, I can see all events(gtag and GTM dayaLayer) in the ...
0
votes
1
answer
132
views
Google Tag Manager (GTM) Preview is broken. Cannot read properties of null (reading 'replace')
Preview mode of Google Tag Manager (GTM) doesn't see opened pages.
GTM and Google Analytics stop working for these pages.
The Summary block in https://tagassistant.google.com/ is empty or lists events ...
0
votes
0
answers
35
views
Random spike in Add to Carts data in GA4
At least once a month for the last 6 months, there have been times when the add-to-cart count in the Ecommerce Purchases page (under Monetization) has randomly spiked between 10 million and 10 ...
0
votes
0
answers
103
views
GA4 Google analytics : trouble showing user activity in User Explorer GA4 using custom user ID
Description:
I'm encountering an issue with displaying user activity in User Explorer GA4 when using a custom user ID. Here's the problem scenario:
When I use a custom user ID to identify users, they ...
1
vote
0
answers
14
views
Odd Google Analytics Traffic from Jeffersonville
Reviewing my city traffic for the last quarter I noticed an unusual traffic pattern from Jeffersonville (Note: we are in California):
Here are my observations.
Average engagement time: 0s
Traffic ...
0
votes
1
answer
267
views
How to fix (unattributable) conversion sources?
Starting a few weeks ago, my GA4 conversion report began reporting nearly all conversions to the (unattributable) / (unattributable) traffic source.
My session data seems good - the regular mix of ...
1
vote
0
answers
42
views
Addressing High Volume Google Analytics Data Filtering in Power BI Using Python: Seeking Solutions
I'm encountering an issue in Power BI where I need to filter Google Analytics data by event name before making the request, as the volume of data is extremely high. Therefore, I've decided to use ...
0
votes
1
answer
138
views
GTM Server side tagging preview not logging requests
I am implementing Server Side tagging in GTM. I have created a server GTM container and have gone through all the steps of configuration. Now whenever i try to preview the web and server container i ...
0
votes
1
answer
58
views
Capturing PDF Download URL in Google Tag Manager (GTM) for Google Analytics 4 (GA4): Custom Dimension Not Populating
I'm having issues capturing the URL of PDFs clicked on my website's resource page. PDF links open in new tabs/windows upon clicking. GA4 Enhanced Measurement Form Submits and Link Click events aren't ...
1
vote
0
answers
32
views
Google Analytics 4 custom events are not being sent
I'm implementing GA4 on a site. The code looks like this:
<script async src="https://www.googletagmanager.com/gtag/js?id=G-K..."></script>
<script>
console.log(...
0
votes
2
answers
118
views
Can I add utm URL parameters to third party link tracking to improve the stats in Google Analytics?
I have these links that are built by a third party company, like this:
<a class="button" href="https://thirdparty.com/redirect/&utm_campaign=hosted" target="_blank"...
0
votes
0
answers
22
views
Unable to add Google Analytics to an existing application which doesn't already have AD_ID permission in manifest file
I have an existing app on Play Store, including an internal testing and closed testing track. I want to add Google Analytics, and therefore have added the com.google.android.gms.permission.AD_ID ...
0
votes
0
answers
49
views
Get page views from google analytic 4 in React
I have a react nodejs project and have some products in my site. I setup Google Analytic 4 with package 'react-ga4', Now i simply want to get a number of views for every product. I searched and came ...
-1
votes
1
answer
93
views
Google Tag Manager - user_id variable
What is the best way to keep track of user_id? I need to send Hotjar user_id so I can keep track users and segment based on their behavior. I'd prefer not to contact devs to implement a dataLayer push,...
0
votes
0
answers
32
views
Avoid infinite loop when using a JavaScript for loop to iterate over an array and call gtag events
I am working on tracking user engagement with an ecommerce store. One of the features is adding a shopping list of items to your cart. This event has a datalayer instance which gets overwritten when ...
0
votes
0
answers
93
views
Integrating Firebase Analytics into Playable Ads - Cocos Creator Typescript
I'm trying to use Firebase Analytics in a Playable Ads project with Cocos Creator Typescript 3.8. I looked around but couldn't find how to do it exactly. Has anyone done this before?
I need help with:
...
0
votes
0
answers
23
views
Getting pages with highest drop-off from begin_checkout to purchase
I would like to know the pages that have the highest drop-off between the GA4 events "begin_checkout" and "purchase".
I tried custom path exploration as well as the Events and ...
0
votes
1
answer
59
views
Google Analytics / Google Tag Manager: What are reliable and/or canonical methods of consolidating a partitioned data stream for analysis?
I have about 50 GA4 properties, each belonging to the same GA4 account. Each property has its own data stream with a unique Measurement ID. These properties are measuring various directories of the ...
0
votes
1
answer
58
views
Why is there a drastic difference between new users in firebase vs new users in apple and google app stores?
I am looking at an app in firebase, we're monitoring new users, and historically we've pulled numbers from the play stores but pulling from our firebase analytics is easier via the connectors provided....
0
votes
0
answers
50
views
Discrepancy between Google Analytics API data and analytics website data despite correct API query aggregation
I've been encountering an issue while working with the Google Analytics API. Despite correctly querying the API and aggregating the metrics with the corresponding dimensions provided by the API ...
0
votes
0
answers
43
views
Google Analytics 4 Are the reports per user only?
I'm using a simple Tag in google tag manager as you can see below
The major_button_click is connected with the button in homepage. The tag works fine, the event is firing as intended. The question is,...
-2
votes
2
answers
351
views
Connected GA4 property through Universal analytics after July 2024 [closed]
I wasn't sure from the Email below sent by Google (Shortened a bit) if Universal tracking code in my website will continue to function and send data to GA4. Because I'm still using the old tags and ...
0
votes
1
answer
32
views
does it make a difference to initialize google tag manager with GAU property vs GA4 measurement ID?
We're finishing up the migration from GAU to GA4 for our various accounts. We have had GA4 up on the sites since last year's cutover. I'm now trying to clean things up.
Many of our older customers had ...
1
vote
2
answers
85
views
How can i add a google tag manager script on wordpress edit.php screen?
Here i am trying to add a google tag manager script on wordpress backend edit.php screen but whenever i add a script it gives error in console.
Refused to load the script 'https://www.googletagmanager....
0
votes
0
answers
53
views
Google Analytics doesnt register events when redirected in a second page
I'm using Google Analytics 4 and Google Tag Manager to register my events in my WordPress site.
I have successfully added Google Tag Manager in both Header and Body and added an simple event called ...
0
votes
1
answer
355
views
Remix App - Error: Minified React error #418 / #423 - on Google Analytics gtag script
I have a remix App (SSR). When i add a script for google analytics, it shows an error of hydration in production , especially on line with gtag('js', new Date())
Does anybody know another way to add ...
0
votes
0
answers
39
views
Google Analytics API - requesting all deviceId for particular UTM-marker
is there a way to run API call which lists all users (deviceId of each user) which came through utm_medium=my_utm_medium?
At the moment I see that UTM-markers may only be retrieved through Basic ...
0
votes
0
answers
19
views
Firebase analytics data not accurate
We just deploy our web gaming platform and starts ads in Facebook and Google.
Per day facebook send us 10k users. We use a tool call mouseflow to check user behaviours and we have around 9k users.
But ...
0
votes
1
answer
36
views
GA Preview Says Tags are Working on Ngrok But Not on Production?
I have a react web app. I installed GA tags using the npm package, react-gtm-module. I put the app up on ngrok and tested it in GA on preview mode. Everything worked great. The Google Analytics tag ...
0
votes
0
answers
24
views
more_than_30_sec event in GA4 strange behavior
In GA4 while reviewing Page Paths, I noticed a large amount of (not set) Pages, with 0 Views but a lot of Users - see screenshot.
I am trying to understand how this is possible, but no additional info ...
0
votes
1
answer
30
views
Rest arguments not working for gtag setup
I am trying to make a Google Tag loading script work, using TS.
const GTAG_ID = 'ID';
const script = document.createElement('script');
script.src = `https://www.googletagmanager.com/gtag/js?id=$...