Category "google-analytics-4"

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

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

BigQuery query review for session based attribution

I've been struggling for a while to get a query to return the number of sessions and users per source/campaign/medium/content, based on the current session of t

How to display Full Referrer URL in Google Analytics 4 (GA4)?

In the past, with older Google Analytics accounts and properties I was able to use a Custom Report on a View to show a table of Full Referral URLs. But with Goo

How to return metric totals in GA4 using the PHP client library?

When using php-data-analytics, if I call getTotals() on the runReport() response, I get a "RepeatedField" object: $params = [ "property" => "proper

Google.Analytics.Data.V1Alpha - property "daterange" read only

https://developers.google.com/analytics/devguides/reporting/data/v1/quickstart-client-libraries I have run the sample code of the quickstart in c# and this work

GA4 e-commerce not tracking revenue./ prices

I'm having a strange issue where I've made triple sure that the GA4 e-commerce events, for example the purchase event, have all required fields set. I can see t

GA4 e-commerce not tracking revenue./ prices

I'm having a strange issue where I've made triple sure that the GA4 e-commerce events, for example the purchase event, have all required fields set. I can see t

Sending server-side events to GA4 using API

I've been using Google's documentation to attempt to build/test server-side events for GA4 using Postman. I've found the event to work when using their event bu

Implement Google Analytics 4 in AMP

I know that GA 4 is still not supported and the development under ID #24621 goes not further. They say GA4 should do the AMP part. Universal Analytics will stop

How can I track and send custom events with the new Google Analytics 4 (gtag.js)?

I have an old website that's using the old Google Analytics code from last decade, and I need help using the new GA4. Old Code (2016) To send custom events and

setup Google Analytics 4 in nuxt.js

I'm having issues setting up a new Google Analytics 4 (GA4) account with Nuxt. Everything seems configured ok based on tutorials, however my traffic doesn't sh

What method ga4 use for streaming data to bigquery? In SQL terms, is it just insert or update too?

Sorry, I'm new to this. I read a few sources including some google documentation guides but still don't quiet understand: Every time GA4 streams data into bigqu

GA4 Conversion tracking using Measurement Protocol

[Edited. Added code sample and more explanations] Is anybody familiar with the GA4 Measurement Protocol? We are sending events from our backend servers to the s

GA4 custom event from server side, can someone tell me how i can do the following code in php?

const measurement_id = `G-XXXXXXXXXX`; const api_secret = `<secret_value>`; fetch(`https://www.google-analytics.com/mp/collect?measurement_id=${measureme

GA4 data not available in Google Ads

We have been running GA4 and Google Ads on our website for a while now. However, the GA4 data appears not to be available in Google Ads even though the accounts