336 questions
0
votes
0
answers
26
views
gtag is not sending custom event when redirecting to external page
I want to track when user clicks on the button which redirect to external page.
Implementation:
gtag("event", name, {
event_callback: () => onLinkOpen ? onLinkOpen(link) : window....
0
votes
0
answers
28
views
How to embed gtag GA4 event in a div when loaded?
We use GTM for our GA4 config tag and events.
However, the CRM site doesn't integrate with GA4. While we have our GTM container installed on it, it hasn't been super reliable to look for the ...
0
votes
0
answers
31
views
delayed interactions on mobile due to Google tag manager
I’m facing a strange issue in my app where all click interactions on mobile devices are delayed by 2-3 seconds due to gtm.js. This issue persists even on high-end phones, but everything works fine on ...
0
votes
0
answers
54
views
gtag is working in standalone website but not working in iframe website
I have a website that gets embedded in any other website. In my iframe I want to load the gtag for tracking. I am loading the gtag script in following way
<Script
id="...
0
votes
1
answer
54
views
Custom logs message in gtag.js
On checkout, I suddenly saw this message on my console, and it made me worried. When I looked it up, it was coming from the gtag.js file. Is it okay for this kind of log in the console, or should I ...
0
votes
0
answers
32
views
How to listen to Enhanced Measurement events from js?
I want to pass Enhanced Measurement events from Google Analytics through an iframe. Specifically I want to capture events, such as form_start and form_submit, etc and then send them to the parent ...
0
votes
0
answers
28
views
GTAG Collect Data Does Not Return an Event
I have a site made with Wordpress. I added GTAG code and I want to receive an event when the button is pressed with the dataLayer push feature. However, when the button is clicked, collect data does ...
0
votes
0
answers
43
views
Route on Nuxt 2 fires 2 page views for every visit on nested route when using vue-gtag with Google Analytics 4
I am using Nuxt 2 with a custom router with the nuxtjs/router module
I am using vue-gtag library to get Google Analytics 4 running as per the issue mentioned here
This custom route fires 2 page ...
0
votes
0
answers
210
views
Sending custom event to GA4 via GTM without listing all its attributes
I want to track custom events in GA4 via GTM. I have setup a GA4 custom event tags which works fine. See screenshot below for example, it's not 100% correct to be working as described here but it's ...
1
vote
2
answers
176
views
Implementing Google consent mode basic and advanced
I'm trying to implement both basic and advanced Google Consent mode for my companies internal cookie management solution but I'm getting a bit confused on the differences of basis and advanced mode in ...
0
votes
0
answers
27
views
How can I get google analytics to track a Vendor Name (using page_post_Author variable in gtag) and show the vendor name?
Using google tag I got the custom data-layer variable setup. the COUNT is showing in Google Analytics as an event but I want the count to be sorted based on the VALUE of that variable.
i,e,
A visitor ...
16
votes
4
answers
5k
views
ga4 gtag.js started showing error in Chrome
today I noticed that in Chrome gtag/js?id=... started giving an error:
Uncaught (in promise) TypeError: Failed to execute 'getValue' on 'CookieDeprecationLabel':
in gtag.js, the error occurs here:
...
0
votes
0
answers
13
views
How can I prevent cancelling of pending requests on router navigation in Nuxt 3?
so I am working on an e-commerce product, where we have to download a lot of third part scripts for user journey tracking. To improve the performance of the application, we are loading these scripts ...
0
votes
0
answers
19
views
Filter revenue by event in gtag
puchase => event all order
puchase_1=> event cash order
purchase_2 => event installment order
I send event data to gtag with (purchase and purchase_1 and purchanse_2).
Why the total revenue ...
2
votes
0
answers
583
views
How does GA4 deal with page unloads? Batching vs. Beacon API seems to prevent final events event being sent
This has been bothering me for a while, I think the problem is this:
GA4 uses batching, i.e. a 5 second buffer to collect any events before making a network request.
GA4 also uses the Beacon API i.e....