Category "google-analytics"

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

What is the best way to import Google Analytics data into Azure Blob/Data Lake?

I am trying to import Google Analytics data into Azure Blob or Data Lake storage for analysis or reporting. But I don't see a Google Analytics connector in Azur

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

Google Analytics, display real time php

I have queries working nicely, but how do I include real-time data? This is my current code: <?php // Load the Google API PHP Client Library. require

missing data in Firebase / Google analytics

We accidentally unlinked our Google analytics account from Firebase and linked it to another project in another organisation. Status quo is that in current proj

What is the `js` gtags.js command?

The embed code for Google Analytics (well, GA via google tag manager's gtags.js) looks like: <!-- Global site tag (gtag.js) - Google Analytics --> <sc

integrated google analytics in react application but blocking analytics.js by content-security-policy which is added from backend asp.net core

string script_src = $"script-src 'self' 'unsafe-eval' 'unsafe-inline';"; context.Response.Headers.Add("Content-Security-Policy", new StringValues($"default-sr

Google Analytics list of page views with timestamps?

Is it possible to export a list of all page views, with timestamps, out of google analytics? Currently I can see page views per day, but not specific times for

ReferenceError: dataLayer is not defined

So, I'm attempting to setup google analytics with the provided code as follows: <Head> <script async src="https://www.googletagmanager.com/

Unable to verify a user delete on GA4 UI

We are orchestrating data privacy for our customers and our use case is when our customer says delete my data, we make a deleteuser call to GA and use the below

How to track a PDF view (not click) on my website using Google Tag Manager

How can I track that someone visited the following URL of my website http://www.website.com/mypdf.pdf. I tried using a Page View trigger on a Page View tag. I'

Google analytics doesn't work on my heroku app

I run a python web app on heroku platform, using heroku sub domain like: example.herokuapp.com and I add google analytics js code to my page: (function(i,

Getting client ID with gtag.js

Google released gtag.js a couple of months ago as the new way of tracking with Google Analytics, eventually replacing analytics.js as far as I understood. gtag.

Cypress - How can I check Google Events fired before the new page loads

This is the scenario: User accesses index.com Clicks the X button A Google Analytic event is fired here <-- I want to check this event User is redirected to

analytics event label is missing

I have problem with sending event to Google Analytics. In some cases the event label is empty. I can see the label in fiddler. The category and action are alwa

Setting proxy for Google Analytics Data API (GA4)

I need to config proxy credential for GA4 Client library to pass it from http proxy server, unfortunately there isn't any rich documentation for this purpose on

ga4 measurement protocol new users 0

I have desktop app on Delphi. App send next data to https://www.google-analytics.com/mp/collect: { "app_instance_id": "47DA283039DE19AA64A5382C7936AE0F", "e

Google Analytic Goal Flow Number Not Matching

The numbers that are shown within a goal flow node do not match the numbers shown in the table below it in the total row. Could someone please explain why this

Is there a setting on Google Analytics to suppress use of cookies for users who have not yet given consent

According to EU Article 5(3) of the E-Privacy Directive (a.k.a 'The Cookie Laws'), web sites that target EU users have to gain opt-in consent from users before

How to add Google Analytics tracking ID in svelte

I want to add my Google Analytics Tracking ID- UA-XXXXXXXXX-X to my svelte app. I found two ways of doing it. First using Install the global site tag here <!