Category "google-analytics"

How to get the number of currently active users instead of the 30 minutes count in GA4?

I've recently added a Google Analytics GA4 tag to a website for the purpose of counting the currently active users. Before, I could see the number of real-time

How to apply different and/or groups for multiple filters in PHP GA4?

I have to pull data using mutiple dimension filters using AND/OR operators in php GA4. How to apply AND operator for the below dimension filters - 'dimensionFil

For tracking product impressions which Google Analytics hit type should I use?

Currently for tracking product impressions, I am using below code: let tracker = GAI.sharedInstance().defaultTracker let builder = GAIDictionaryBuilder.

I am seeing following error while trying to add firebase analytics

I have linked firebase analytics to the firebase project recently but I am getting the following error in my console and nothing is visible in the firebase anal

How can I debug Google Analytics 4 events, that are missing in the debug view

i'm fairly new to Google Analytics and I'm starting with the new Google Analytics 4. I've set it up via Google Tag Manager. I have two custom events: cta_visibl

Pull List of GA4 Properties Using Google Analytics Admin API and App Script

Wondering if anyone has experience exporting a list of GA accounts and properties to a spreadsheet using the new Analytics Admin API. I've used the Management A

Chrome User Experience Report does not have sufficient real-world speed data

For the past couple of months we started getting the below result on page speed lab tests on Pagespeed Insights (It was able to collect the data before and or p

Firebase A/B test user variant information not available in Google Analytics clickstream tables

I'm looking to report on the outcome of a Firebase A/B test using Google Analytics / BigQuery tables. To do this I need to identify the test group each user was

Integrate Google Analytics directly or via Tag Manager?

I am currently building a large NextJS application. I just need to integrate Google Analytics 4 for the client. Should I rather include Google Analytics directl

Google analytics Calculated Metric using case when

I am targeted to research whether this is doable: To create a calculated metric (Order Submit) in google analytics (https://analytics.google.com/). I am using U

Google Analytics 4: how to get the name of global object (gtag)

In Google Analytics Classic/Universal Analytics we could get the name of global object using such code: window['GoogleAnalyticsObject'] And then we could get t

Automating Google Analytics Data into Google Sheets

I want to automate a report where we want to add 200 rows of data into a spreadsheet, the data in these 200 rows comes from Google Analytics with each row havin

GTM and GA4 configuration - Losing custom dimensions

We recently setup our GA4 account in order to be ready for the upcoming end of Universal Analytics. However, we are getting a lot of (not set) on our reports wh

GA4: Price is appended with multiple zeros

While using GA4 view_cart, begin_checkout, add_payment_info events for Item array Price parameter is appending multiple zeros in GA debug view. For example: we

how to use Google Analytics Data API v1 with golang

there is no golang demo code to use Google Analytics Data API v1 in https://developers.google.com/analytics/devguides/reporting/data/v1/quickstart-client-librar

How to use WordPress GDPR Cookie Consent plugin for Google Analytics

I add the GDPR Cookie Consent plugin in my WordPress application. When the use disables non necessary cookies, the Google Analytics should be blocked otherwise

Google Analytics response to Pandas Dataframe in Python

Still a newbie to Python so please be gentle. I'm trying to parse a Google Analytics Reporting API V4 response to a Pandas dataframe in Python, specifically usi

How to get the number of currently active users instead of the 30 minutes count in GA4?

I've recently added a Google Analytics GA4 tag to a website for the purpose of counting the currently active users. Before, I could see the number of real-time

Cookie “_ga” will be soon rejected because it has the “SameSite” attribute set to “None”

I have added Google Tag manager to my react project, with the help of react-gtm-module After successfully adding it, I see some warning in consoles which are be

Can't activate filters in GA4 [closed]

Any time I try to activate a filter in GA4, a little white box appears and nothing happens: Anyone else having this issue or know how to fix