All Questions
96 questions
-1
votes
1
answer
134
views
GA4 events and GTM: parameter values are not sent
I have a problem with GA4 and GTM, which i cant solve already for 3 days :(
I created a GA4 tag and event, called it "login". It has a parameter "method" which default value is &...
0
votes
0
answers
394
views
How to create a purchase event for GA4 using variables from another code?
I would like to send events to GA4 using the variables from lines 29-57. I understand little about programming, how to do this?
I want to send a buy event to GA4 using the variables from lines 29-57.
...
1
vote
0
answers
75
views
Is there any harm in using both analytics.js and ga.js scripts on website?
I work at a large company that uses a lot of tracking across various websites. We are trying to track the user source and other details in the cookies, which isn't tracked by the current script we ...
3
votes
0
answers
263
views
How to track events in both Universal Analytics and GA4 at the same time?
I'm currently tracking events in GA4 successfully like so:
Loading script:
<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/...
0
votes
1
answer
107
views
Sending JavaScript file with varying data on http call
I am interested in finding out how Google Tag Manager sends the tags to the website that is to be tracked for a similar functionality I need on my tracking script. On inspecting the flow through ...
1
vote
1
answer
144
views
Finding Google analytics onclick event tracking code script
I am auditing a site that uses GTM to fire events on PDF clicks. We have access to GTM and updated the tag to categorize these clicks correctly.
However, I am still seeing the old version of event ...
1
vote
0
answers
385
views
Google Analytics Page Views with more than one tracking ID
I am currently trying to track page views in a virtual type DOM where when a link is clicked on a page I am simply loading the content of the page instead of actually navigating to it (URL does not ...
0
votes
1
answer
122
views
How can I track Google Analytics Across Multiple Domains in one account google?
I have installed Google Analytics on my website. The website is www.myhospitals.com. When the user clicks button A, it will track on Google Analytics. When the user clicks button B, it will also track ...
0
votes
1
answer
1k
views
Google Tag Manager: Tracking Dynamic Button IDs on a Single Page Application (SPA)
My e-commerce page is set-up as an accordion-style, single page application checkout page, and each step has a "Next" button that can be clicked to advance to the next step:
My goal is to set-up ...
1
vote
1
answer
736
views
Google Tag Manager: Tracking funnel event completion on a single page application
I have an eCommerce-like website set up in the following hierarchy. We currently use Google Tag Manager (GTM) and Google Analytics (GA) as part of our web analytics stack.
Currently, each product has ...
1
vote
2
answers
432
views
Google Analytics Event Tracking doesn't track twice or more
I am trying to track an event via Google Analytics but unfortunately it only works for the first time I click the element. When I change the browser it only works the first time again.
I use this ...
4
votes
0
answers
5k
views
google analytics gtag Event is not working
I'm trying to setup event tracking for google analytics.On form submit gtag event is not working .
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-XXX-1"></script>
&...
0
votes
1
answer
2k
views
Google Analytics - OnClick Event Tracking with Javascript & CSS Class
Due to a theme limitation in WordPress where I can't inline the onclick event, I'm passing attributes into the link and attempting to pick this backup in Javascript to send the Event tracking to ...
1
vote
1
answer
3k
views
Google Analytics Goal tracking in javascript/ajax
I have a javascript/ajax based contact form on a website page. If people click to send the form, I want this click to be registered by Google Analytics. I created a goal for this, for some reason I ...
13
votes
1
answer
576
views
How to use Google Analytics and event-tracking for tracking user behaviour in a Shiny application?
I developed a Shiny application, and I would like to track user behaviour (e.g. on which buttons did the user click, which inputs did they change, ...) using Google Analytics.
I found these two ...