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,383
questions
0
votes
1
answer
22
views
GA4 Measurement via standard HTTP Request
I am using GA4 Event Builder to understand how I can do a vanilla HTTP POST request to record a GA4 event. I used the builder to input what I believe to be the correct "Measurement ID" and &...
0
votes
1
answer
16
views
promote Bigquery table replica to primary
I have a dataset in Bigquery which has a connection to Google Analytics so that the GA-data is loaded into a Bigquery sharded table called events_YYYYMMDD. This happens automatically in the background....
0
votes
0
answers
13
views
BigQuery and GA4 total users cant match
I'm trying to find out how many distinct user records there are for an event between certain dates with BigQuery.
The results of BigQuery query does not match with the Google Analytics and Firebase ...
0
votes
0
answers
27
views
Google Analytics returns 500 when creating new access bindings for service accounts
Google analytics returns status code 500 when trying to add a new service account email.
Content-Type: application/http
Content-ID: <response-batch<id>@googleapis.com>
HTTP/1.1 500 ...
0
votes
0
answers
26
views
Why do I get Minified React error #418 in Next.js 14 deployment but not in development
So I recently added Google Analytics and a cookie banner in my website. In development everything works fine, but in the deployment I get these errors:
Error: Minified React error #418; visit https://...
0
votes
0
answers
16
views
How to stop google analytics from setting _ga cross-site cookie when using resources from site A on Site B
I have a website (A) example.com on which I've placed google analytics tag.
I have a second website (B) property.com on which I am loading resources from subdomain.example.com.
When I visit site A (...
0
votes
1
answer
25
views
Tracking booking event using GA4 analytics without GTM
I am trying to create an event on GA4 Analytics account that detects whenever someone clicks the Confirm Booking button and books an appointment, but I am not sure that set the correct matching ...
0
votes
1
answer
32
views
Firebase Analytics first_open and session_start events not sent when consent granted
In our project we switched to Consent Mode v2 and therefore set the initial consent of analytics_storage, ad_storage, ad_user_data and ad_personalization_signals to false. After this change we were no ...
-1
votes
0
answers
24
views
Adding events along with Params and User params not working
I am trying to create an audience based on exit and entry events i create in GA4.
To achieve this, i want to be able to pass the userproperty and event properties.
Events are getting created without ...
0
votes
1
answer
33
views
Can't get article properties from web page published in Zendesk
When I add the following in script.js in a ZenDesk template, user properties are returned successfully:
var userRole = HelpCenter.user.role;
console.log(userRole)
This works also
var isAdmin = ...
0
votes
1
answer
24
views
Firebase Analytics for website is not sending any data in production (https)
I have a React + React Router + Vite application working in production. Now I'm trying to integrate it with Google Analytics.
This is my code:
import { getAnalytics, logEvent } from 'firebase/...
0
votes
0
answers
23
views
google analytics doesn't assign user id in user explorer
I'm trying to see what each user do in user explorer and I want to get the id of the user, I followed the documentation, but sometimes, when the user logs in, it doesn't get the user id
what did I do:
...
0
votes
0
answers
14
views
Google Analytics UA: How to show the sessions from Google and a specific URL
I'm trying to export historical data from Universal Analytics before its closure. I want to get the sessions that came from Google results and launched 'https://example.com/product/whataver'.
For that,...
0
votes
1
answer
25
views
GA4 tag triggering
My GA4 tag is firing via the "DOM Ready" trigger (the user has not yet accepted or denied consent). Shall I fire it again, when the user makes a choice and the consent value is updated? ...
0
votes
0
answers
17
views
How to export GA3 custom variables with the Google Analytics Spreadsheet Add-on
The Google Analytics Spreadsheet Add-on works fine for exporting page views, sessions, users, events, etc. However I also want to export my custom variables (key01-04 with value01-04). According to ...