Category "google-analytics"

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 <!

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