Skip to main content

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/

0 votes
0 answers
92 views

Can you route multiple GA4 accounts through one GTM Server Side Container?

I have 2 websites at 2 different domains. Each website has its own client side GTM container and each has its own GA4 account. However, a lot of the other marketing pixels such as Google Ads are the ...
DeduciveR's user avatar
  • 1,641
0 votes
0 answers
49 views

How to add userId info to Track call in Segment.Analytics.CSharp 2.3.3?

In Segment.Analytics.CSharp, the Track api doesn't have userId parameter like Analytics 3.8.1. The userId field shows null. I added Alias() and it shows an extra alias event in segment. What to do if ...
Vincent Wu's user avatar
0 votes
0 answers
36 views

Why is my Google_Service_AnalyticsReporting object not getting recognized?

I have used code from google analytics api official documentation <?php require_once ('google-api-php-client--PHP7.4/vendor/autoload.php'); // $analytics = initializeAnalytics(); $response = ...
rajiv's user avatar
  • 61
1 vote
0 answers
194 views

Firebase React native basis Google analytics not working

I want to use the basic functionality of firebase analytics for my react native app (RN 0.73.4), like seeing the number of active users in the app. I have followed the setup as described here https://...
Developer12's user avatar
0 votes
0 answers
39 views

Is there a way to refresh Google Analytics data in Big Query tables beyond the 72 hours?

We have our Google Analytics 4 set up to export data into Big Query tables. This is done in daily batches and then with intraday streaming. Details here. The issue is, the daily batch tables are only ...
metjush's user avatar
0 votes
0 answers
16 views

Have I missed a lot before GA4? It worked ok a few days ago

My current setup, which worked ok for years, sends events as ga("send", "event", eventCategory: category, eventAction: action, eventLabel: label, ...
aTei's user avatar
  • 1,844
0 votes
1 answer
58 views

How can I implement analytics.js to my page and send the tracking methods to my own backend

Is it possible to handle the analytics.js library to send the events to my own backend instead of going through configured third party plugins? Or is there any way to implement a plugin with my own ...
Vegas's user avatar
  • 19
3 votes
1 answer
267 views

GA4 account that is different then Firebase Analytics setup in React Native

I am trying to record screen_views to another GA4 account that isn't the default Firebase that is linked from the .json file. Is there a way to do this in React Native for iOS and Android?
Mike Flynn's user avatar
  • 24.1k
0 votes
1 answer
133 views

Google Analytics appending code to site whenever a link is clicked

I have a website on which I have integrated the GA code. When the user clicks on the phone number and the email ID in the footer, the following string is added to the body before the </body> tag:...
A4B's user avatar
  • 11
0 votes
0 answers
44 views

How do I organize my event data to display desired metrics in one place?

I built a documentation site using Angular and installed the ngx-google-analytics package. I got everything working however I'm not sure about what I need to do to get the analytics data back in the ...
Optiq's user avatar
  • 3,086
1 vote
0 answers
245 views

Why is gtag-function not sending an event to Google Analytics?

I use the gtag-script for google analytics in a VueJS 3/Quasar application. In the index.html, I initialize gtag with consent mode and denie eveything. The Idea is, to update the consent setting once ...
delete's user avatar
  • 18.9k
1 vote
0 answers
50 views

Ignore store submissions testers data in google analytics

I'm working on a new flutter application which I've just published to the Google play and app store so I don't have a lot of active users. Each time I published a new version to the stores, there are ...
galvan's user avatar
  • 7,458
1 vote
1 answer
292 views

Updating google consents on React Native Application

I recently received an email from google asking to modify some params related to analytics. I am having issues trying to update the value of ad_storage. When i read the documentation, i can not find ...
Adriana Ansoain Hernández's user avatar
0 votes
1 answer
420 views

GA4 new users are significantly higher than total users

we are facing a GA4 issue with our live site. The count of new users is higher than the count of total users. We have thoroughly examined various scenarios, but unfortunately, we have found no ...
Patel Mohip's user avatar
3 votes
1 answer
941 views

Google want to punish third party cookies, but all my 3rd party cookies are from Google

I run a website using google translate, and google analytics. I saw recently that google will block some features to fight against websites using third party cookies, and I have 8 alerts on my website ...
Thomas Rbt's user avatar
  • 1,533
0 votes
0 answers
196 views

How to correctly configure a report for average session duration Google spreadsheets (using the GA add-on)?

I am using the Google Sheets add-on for analystics to save my data in Universal Analytics before it gets deleted in July 2024. My current report config looks like this: In the result table I have ...
Agagaga's user avatar
  • 21
2 votes
0 answers
232 views

Google Consent Mode V2 In the Android Studio logcat, can not find the log message "ad_personalization=denied" or "ad_personalization=granted"

Google Consent Mode V2 In the Android Studio logcat, can not find the log message "ad_personalization=denied" or "ad_personalization=granted" but can find: Setting consent, ... ...
Langgan's user avatar
  • 81
0 votes
0 answers
59 views

Difference between event_params. key = session_engaged event_params.valu.int_value and event_params.value. string_value

I have Bigquery connected to GA4 and I identified that the fields event_params.valu.int_value and event_params.value.string_value are filled in but I couldn't understand the difference because I need ...
Elianderson Lima's user avatar
-1 votes
1 answer
203 views

GA4 data from Jan 2023 - Aug 2023 is gone even if the data retention is set to 14months

Anyone can help me with a problem. I was generating a report in GA4 that would compare January 2024 website visits with January 2023 website visits, but to my surprise, the data is 0. Please take note ...
10k's user avatar
  • 7
-1 votes
1 answer
30 views

Should I use 2 GTM Containers while migrating from UA to GA4?

We are in the process of migrating our UA to GA-. Should I make separate GTM containers for both of these properties. If yes, what would be the impact on pagespeed? How do I make the decision to ...
Aniket Chatterjee's user avatar
0 votes
1 answer
378 views

CASE WHEN NOT CONTAINS_TEXT/REGEXP_MATCH Skewing Data - Looker Studio & GA4

I'm having an issue in Looker Studio, I'm trying to replicate a custom channel grouping and found the data was heavily skewed compared to GA4, so I've stripped it down and found where I believe the ...
Switchfire's user avatar
2 votes
0 answers
43 views

Google Tag Manger Server container not seeing any response in preview tab

I setup my own custom server. I can't see any repose in my preview page. see the screenshot I setup two server. 1) Manually provision a preview server 2) server-side tagging cluster my nginx ...
boyenec's user avatar
  • 1,581
0 votes
1 answer
77 views

Tracking visitors to site where there's no login with google analytics

I built a documentation site for an open source CSS tool I created. I built the site using Angular 16 and used the ngx-google-analytics package to add google analytics to keep track of page views and ...
Optiq's user avatar
  • 3,086
0 votes
0 answers
30 views

Split package issue with Google Analytics Data API

Split package issue with Google Analytics Data API I am getting errors like below: [ ERROR] error: module spring.data.commons reads package com.google.analytics.data.v1beta from both google.analytics....
Ashwin Abraham Thomson's user avatar
0 votes
0 answers
40 views

Facing issue while creating custom event entries inside firebase analytics console

I am able to created total 50 events and after that create button remains disabled, it says stream has reached the limit for created events. However as per google documentation limit is up to 500 ...
Mohd Asim's user avatar
  • 2,211
0 votes
0 answers
15 views

How to add Firebase Cloud Messaging to an existing Analytics Account apps

I've got an existing google analytics account with several properties/apps. I'm wanting to add Firebase Cloud Messaging to all the existing analytic account apps. I've tried: creating a new Firebase ...
Matt Core's user avatar
0 votes
0 answers
37 views

Is there a way with AWS Cognito using Social IdP to signify to the client that the user just signed up?

I have AWS Cognito configured to allow authentication to my app via Google as an identity provider. When a new user is signed up via the Google login the callback URL is the same for users that are ...
Glenn Flannagan's user avatar
3 votes
1 answer
109 views

Fatal error: Uncaught Error: Google\Auth\HttpHandler\HttpHandlerFactory::build()

I have two plugins MyPluginOne and MyPluginTwo. In MyPluginTwo Plugin when I configure my social login as Google (Login as Google), I get following error: Fatal error: Uncaught Error: Google\Auth\...
ahmedwp's user avatar
  • 119
0 votes
0 answers
53 views

GA4 | How can we merge 2 GA4 accounts or Move all the collected events form one to another?

Google Analytics: How can we merge 2 GA4 accounts or Move all the collected events from one to another? Already Tried: Data Import > Offline Event Import: Here, I've created a custom CSV per the ...
Shivnath's user avatar
1 vote
1 answer
498 views

Adding google analytics to angular 16 app with no app.module

I have an Angular 16 app that uses all standalone components and am trying to set up google analytics. I'm guessing this package is the one we need to use so I installed it and added the ...
Optiq's user avatar
  • 3,086
0 votes
0 answers
37 views

GA4 Explore grand total of isn't matching up with the grand total of data being exported from Explore

When I pull my report from the GA4 Explore section, the grand total is different than the grand total of the data I export (see image). (https://i.sstatic.net/fw03g.png) UI Grand Total = 108,395 Grand ...
Tanner Riebel's user avatar
0 votes
1 answer
522 views

Next.js Script with strategy="worker" does not work for GA

I'm using next.js version 13.5.5. I tried to load Google Analytics script with next/script worker strategy. However, it seems to be failed. I followed the instruction in official document https://...
terapoon's user avatar
0 votes
0 answers
30 views

I’m on the lookout for the Google Analytics Audit Log API, User Long API, and User Access API

I've been researching extensively for the Audit Log API, User Access API and User Log API related to Google Analytics, but unfortunately, I haven't been able to locate them. If you have any insights ...
Google Testing's user avatar
0 votes
0 answers
163 views

creating a custom event with custom parameters in GA4 using react js

This Post, which helped me to create a custom event with custom params as well in react. I can able to see those parameters in GA realtime and events reports as well. But I had a question create a ...
Víshnû's user avatar
0 votes
0 answers
23 views

Limiting GTM Code Functionality on Website: Hiding Dimensions and Events from External Agency

I have a website for ordering a product, which involves a four-step process. I've been tasked with integrating a GTM (Google Tag Manager) code from an external agency, and I already have a snippet of ...
Tadex's user avatar
  • 1
-1 votes
1 answer
45 views

Background on footer widget

:-) I have a wordpress site with a white footer widget that include Global site tag - Google Analytics. The code is this (see image). How can I change the color of the widget so that it appears black ...
Netdude's user avatar
0 votes
0 answers
321 views

How to implement the Google's "Advanced" Consent Mode?

In the official documentation on the implementation of Consent Mode, Google says that there is an option to configure tags to send "pings" without personal information to Google, when the ...
fs-doc's user avatar
  • 73
0 votes
2 answers
100 views

Universal analytics backup & story to big-queary

I want to export data from GA [Universal Analytics] and store that data to big Queary. I'm new to GA to just want to understand how I can start this process and you can refer any resources. My plan is ...
Jay Thakkar's user avatar
0 votes
0 answers
49 views

Google Analytics event count data not accurate

Here at my company they have embedded g-tags on their website, there's an event which tracks logins BUT the data does not matches with the number of events i recieve in postgress DB. I also get events ...
Mohammad Bilal's user avatar
0 votes
1 answer
97 views

DataLayer variables are in GTM Debug but not showing in GA4 DebugView

As you can see, this is GTM's debug and this Action variable is present here with a value in the Data Layer. This is the GA4 event that I created in GTM in which I enabled Send Ecommerce Data and ...
itismoej's user avatar
  • 1,817
0 votes
1 answer
89 views

Android Unity - Firebase Console not showing any updates

I have installed Firebase in clean Unity Android project and it is not sending logs to Firebase console. There is no error in the Unity Console. Followed the official documentation. I don't know if it ...
Ali Gilani's user avatar
0 votes
0 answers
66 views

Gtag not defined when using inserted script

I am using a standard GA4 implementation, but I am having trouble sending events to GA when inserting a script [validation.js] onto the page via top.document.body.appendChild. This is done to run an ...
Tony Cane Eagle's user avatar
0 votes
0 answers
67 views

Looker data studio - Extract text after character (row table)

i have a cd_sku custom dimension of a non- standard GA4 ecommerce events , i want to extract each cd_sku as a single value in a row but i don't know how to do it, could you guys please help to split ...
Lê Hồng Tiên's user avatar
0 votes
1 answer
474 views

How can I use google's data layer to push a custom dimension after the initial page load?

I am preparing to switch a site that's using Google Analytics 4 from using gtag() over to Google Tag Manager (server-side). One of the things I would like to do is set custom dimensions after initial ...
Mike Willis's user avatar
  • 1,518
0 votes
0 answers
32 views

User metric issue in GA4 drives me crazy

I'm currently troubleshooting an issue with one of my GA4 properties. I hope someone can chime in and help me understand what is the reason for this? When I set up a table to display the page path and ...
user3191724's user avatar
0 votes
0 answers
34 views

how to make a Clickmap on a Django application?

`Hello! I'm building an application with django and I need to make a clickmap/heatmap to get some statistics from my site. My problem: almost all the forms are out of date and I don't want to use ...
Otavio Campos's user avatar
0 votes
0 answers
23 views

Traffic Source Attribution Shift during User Sign-Up Process on a Single Domain Website

The Issue: Our events are firing correctly, but the traffic source attribution changes unexpectedly. Initially, the source shows as 'paid social,' but after the user creates an account and logs in via ...
Michael George's user avatar
0 votes
1 answer
23 views

Analytics / GTM - Sending Variables to Web Form

In short I'm trying to send the 'Session Default Channel' variable within a web form. Is it possible to access Analytics variables on the webpage itself? Can this be done via the page view trigger or ...
Matt M's user avatar
  • 43
0 votes
1 answer
100 views

Google Analytics v4 PHP SDK - Unable to authenticate BetaAnalyticsDataClient . No error thrown

I am trying to retrieve pageview data for a partner site that I already have a refresh token, but when I try to create a new BetaAnalyticsDataClient object using an OAuth2 object, the script dies and ...
Evan Appleby's user avatar
0 votes
0 answers
18 views

How to get the api_key to use the google analytics APIs?

I am currently working on a task to call to Google Analytics API asynchronously. Currently, we are calling the Google Analytics report method that gets the data in batches as written below. `analytics....
Abinash Biswal's user avatar

15 30 50 per page
1
3 4
5
6 7
432