21,285 questions
0
votes
1
answer
50
views
Problem sending event to Goggle Analytics via python
I have this .py code that should send an event to google analytics 4. When i execute the code, i get 204 message which i think means it run successfully. My problem is that when i go to events on ...
-2
votes
1
answer
74
views
Neo4j Web Analytics model
I would like the depict the flow of paths followed by a user using Neo4j. I want to produce an output like a sankey diagram. The project I am doing requires a similar output like Google Analytics. Is ...
-1
votes
1
answer
181
views
unknown urls in my Google Analytics performance dashboard
I have a hobby wordpress website with around 4 pages and 4 posts in total. Google notified me that my website has "malware". The link that I was notified was this:
I checked my Google ...
1
vote
1
answer
434
views
Filtering dev environment events Google Analytics 4
I'm looking for a solution to be able to automatically filter pageviews from localhost. Ideally I'd like to track developer traffic but I'd like to not have to create custom reports manually to filter ...
1
vote
0
answers
574
views
Google Ads Square Logo Not Filling Circle
I'm encountering an issue with Google Ads where the square logo I uploaded doesn't fill the circular space on the platform. Despite uploading a square logo as per the requirements, it appears smaller ...
3
votes
0
answers
659
views
Data set not created for firebase analytics and Bigquery integration,
I recently linked my Firebase project with Google Big Query. My Firebase project has an active Android and iOS app and I can successfully retrieve data.
When I exported Crashlytics, Performance ...
0
votes
1
answer
458
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
206
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
1
answer
156
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
551
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 ...
0
votes
1
answer
163
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
59
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
1
answer
113
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
1
answer
175
views
Finalizing GA4 migration - are Universal Tags going to become inactive?
We are finalizing our migration to Google Analytics 4. Our current client base has a bunch of accounts that are using Universal Analytics tags. Do I need to go through and remove those/replace all ...
1
vote
2
answers
181
views
Tracking traffic across two sites, one a subdomain of the other
Context
As the title mentions, I have two sites, one a subdomain of the other. To be clear:
Landing page (hosted on Webflow) - website.com
Application (hosted on Bubble.io) - app.website.com
Desired ...
0
votes
1
answer
363
views
How to exclude traffic from users who click 'Login' to navigate to a subdomain in Google Analytics reports?
I have a website www.example.com and webapp app.example.com.
(Both are being monitored under the same GA4 property.)
On the website, there's a 'Login' button in the navbar that directs users to our ...
0
votes
1
answer
627
views
Firebase Analytics log custom events from server
I want to send firebase Analytics custom log event from Firebase Functions (with node.js).
I have searched a lot but I couldn't find any tutorial or ducumentation about it.
Is there any way to send ...
1
vote
1
answer
109
views
How to add variable google analytics ids to index.html
I'm trying to add a Google Analytics config value to index.html. This value will differ from staging and production, so it should be configurable, preferrably via an env file. I've seen some answers ...
0
votes
1
answer
275
views
GA4 - Sessions source with credit card, paypal, gpay, and applepay
We started sending purcahse event through the measurement protocol to our GA4 property and we disabled the GA4 native purchase event code on the thankyou page.
This was the initial event payload for ...
-1
votes
1
answer
138
views
google analytics-api, java, how to declare OrderBys call RunReportRequest
String VIEW_ID = "0000000000";
String[] GA_METRICS = {"newUsers","activeUsers","totalUsers","addToCarts","cartToViewRate","checkouts&...
1
vote
0
answers
115
views
"@google-analytics/data": "^4.x.x" add metricAggregations array. Throw error "Cannot serialize object to proto3 JSON since its .$type is unknown."
I'm using "@google-analytics/data": "^4.7.0" to request ga report, in the request array, I add some payloads which can be mocked by GA4 query explorer, payloads are like dateRanges,...
0
votes
1
answer
290
views
GA4: UTM Codes Not Appearing
Programmatic advertiser here.
Many of our clients are experiencing issues where they're not seeing UTM data populate in their GA4 dashboards in either real-time or custom reporting. We are running ads ...
2
votes
2
answers
1k
views
How to Add Google Analytics to Astro Starlight Theme Without Layouts or Components Folder
Question:
I'm trying to add Google Analytics to my website built with the Astro Starlight theme. However, the theme doesn't have a layouts or components folder, which is where most tutorials suggest ...
3
votes
0
answers
597
views
Google Analytics & Google Adsense in NextJS
I want to add Google Analytics and Google Adsense to my website in NextJS. I found this official doc: https://nextjs.org/docs/app/building-your-application/optimizing/third-party-libraries#google-tag-...
1
vote
2
answers
797
views
GA4 measurement protocol event attribution, not working with event one week later?
I have GA4 running on my site, and in my backend I store the user's client_id and session_id. With measurement protocol on our backend, I send a custom trial started event when a user starts their ...
0
votes
2
answers
504
views
How to retrieve Purchase Conversion Rate in Google Analytics 4?
I want to build an API to retrieve the Conversion Rates of Purchases via Google Analytics 4. (I understand after reading blogs these are now called 'Key Events')
I am new to GA4 so learning as I go.
...
0
votes
0
answers
99
views
GA4 changing values to numeric changes the values
Bascially, i have a code that filters the data coming from the API. The data is reasonable, however, the values of the active Users are in string format. Once I changed them (to integers), my max ...
0
votes
0
answers
462
views
How to see Custom Events in GA4 User Activity
I have set up GA4 for my website and used Google Tag Manager to create events and triggers. The tags are all firing and I can see event counts for these custom events in the Google Analytics Dashboard ...
0
votes
0
answers
339
views
How do I grant a service account permissions to the Google Analytics Admin API?
What is this doing? It creates a new project and a service account json key for me? How is it granting the service account access to the API?: https://developers.google.com/analytics/devguides/config/...
-1
votes
1
answer
214
views
See keywords used by Google Ads campaign on Google analytics or Googe Ads dashboard
Is it possible to see the keywords taped by the users that triggered the display of the Google Ads?
I have created some "intelligent" campaigns, that kind of campaign lets Google choose the ...
0
votes
1
answer
92
views
UTM for a regular newsletter to my website
I need a link with a UTM to my website, which needs to go into another company's regular newsletter.
(lets say the other company's name is earthco)
Earthco's newsletter is created every month, and is ...
1
vote
0
answers
446
views
How to setup Google Analytics 4 with Quasar SPA Vuejs app
Having a hard time finding documentation or resources on setup of GA4 tracking for Vuejs 3 Quasar based app using typescript.
Would be nice to figure out how to setup vue-gtag package with it.
If ...
2
votes
0
answers
759
views
How does GA4 deal with page unloads? Batching vs. Beacon API seems to prevent final events event being sent
This has been bothering me for a while, I think the problem is this:
GA4 uses batching, i.e. a 5 second buffer to collect any events before making a network request.
GA4 also uses the Beacon API i.e....
0
votes
1
answer
506
views
Google Tag manager - sending a custom event to multile tags
New to google tag manager, I have just moved my ga4 tags to it and I have the following set up, intentionally under 1 container.
mydomain.com (gtag 1)
site2.mydomain.com (gtag 2)
I am using a lookup ...
0
votes
1
answer
161
views
Sending data to GA4 from the server (return 200 but no data)
I try to send product payment data to google analytics from the server, in response I get a status of 200, but in google analytics itself neither in normal events nor in debug view, I don't see my ...
0
votes
2
answers
159
views
Which schema / table structure should I use to back up Google Analytics (UA) data to BigQuery?
We've written a JAVA application that pulls data from the Google Analytics API and pushes all client data into this BigQuery table (see current schema). We are then using Materialized views in our ...
1
vote
1
answer
204
views
angular Google Analytics gtag config fires only at the first page
In an Angular app, I have an event router subscription to track page changes but the "collect" network call is only fired on the first time the gtag is triggered.
in my Index.html:
<!-- ...
1
vote
0
answers
109
views
How to solve grpc error in fetching data from GA4 API (google-analytics-data api) by python
I am using this code snippet to get data from GA4:
credentials = service_account.Credentials.from_service_account_info(self.credential_info)
client = BetaAnalyticsDataAsyncClient(credentials=...
0
votes
1
answer
219
views
How to enable Google Analytics DebugView when adding GoogleAnalytics configuration in Next.js 14
I use GoogleAnalytics imported from @next/third-parties/google to include a GA4 property in my Next.js 14.2 webapp.
Unfortunately <GoogleAnalytics gaId="G-MY-ID" /> does not accept a ...
0
votes
1
answer
282
views
Custom predefined date range Google Looker studio
At the moment I'm building a dashboard in Looker studio to analyse the efficiency of a process which mainly involves website interactions. This process happens 6 times a year in date ranges of two ...
0
votes
1
answer
258
views
I am facing an issue with Google Analytics; it seems to be showing fake traffic
Hi I have wordpress website
I am facing an issue with Google Analytics; it seems to be showing fake traffic. I checked on the search console as well, but it is showing me different traffic numbers, ...
0
votes
1
answer
399
views
Track events happening within a external website iframe embedded into my website
The website which hosts the iframe is mysite.com. The iframe source is othersite.com. I have code/admin access to both websites.
This is how the iframe added to mysite.com
<iframe src="https://...
0
votes
1
answer
169
views
Will GTM get messed up if users push data to the data layer at the same time?
When using Google Tag Manager with a data layer variable ('payment_type'), if multiple users on different devices push data to the data layer simultaneously with different values, could this lead to ...
1
vote
0
answers
270
views
BigQuery user_pseudo_id strange format
I know that user_pseudo_id format in BigQuery is usually 123456.654321. However, I found user_pseudo_ids like this one: zzlrlIWWmuO2pGInTOt8ayOT3Gq7LXiyD7jU4ayH+4M=.1835253951.
I am testing server-...
1
vote
1
answer
579
views
Handling Google Analytics Data Exceeding 10,000 Rows per Day: Pagination and Dimension Filtering Challenges with google.analytics.data_v1beta API"
I'm using the google.analytics.data_v1beta API to access Google Analytics data. I'm facing an issue with the 10,000-row limit per query, whereas I need to handle more than 10,000 rows per day.
...
0
votes
1
answer
220
views
Can the 'view_item' Event in GA4 Generate Revenue?
I have a view_item event on my page, and I am wondering if this event will generate a revenue amount. Based on the structure of the data layer, it includes currency and a value, but inside the GA4 ...
0
votes
1
answer
417
views
Google Analytics 4 API sampling level parameter?
Google Analytics UA v3 and v4 APIs had the samplingLevel parameter https://developers.google.com/analytics/devguides/reporting/core/v4/rest/v4/reports/batchGet#sampling
I cannot locate the same for ...
1
vote
0
answers
69
views
INFORMATION_SCHEMA.PARTITIONS query very slow
I am using BigQuery to access Google Analytics 4 data. I need to have a list of all days available and I need the number of records for each day.
I know that PARTITIONS query is still preview but I ...
0
votes
1
answer
215
views
How to collect user ID's?
I am trying to collect user ID's for google analytics tracking, but am confused on discrepancy between articles I found.
This article (https://www.analyticsmania.com/post/google-analytics-4-user-id/) ...
0
votes
2
answers
101
views
Google analytics exporting numbers
I am exporting a report from Google analytics. The numbers for example for users
is shown as 10,907,302 in the report and when I do an export to a csv file it is shown
as "10,907,302". I did ...