All Questions
Tagged with google-analytics html
477 questions
0
votes
1
answer
85
views
Can't get article properties from web page published in Zendesk
When I add the following in script.js in a ZenDesk template, user properties are returned successfully:
var userRole = HelpCenter.user.role;
console.log(userRole)
This works also
var isAdmin = ...
0
votes
0
answers
49
views
Track Google Analytics for AMP pages when user clicks on anchor text
<div class="base2"><a href="tel:+917411951943" id="Call">CALL NOW</a></div><span>|</span>
For the above code in my AMP page I want to ...
0
votes
1
answer
216
views
How to Connect "Custom HTML" Google Tag Manager Tag to Google Analytics (GA4) and Google Ads
Using a third party tool (Appointy.com) to manage appointment sign ups. Goal is to take this conversion data and use it for Google Ads and Google Analytics (GA4). Per Appointy support, the only way to ...
0
votes
0
answers
86
views
Does anyone know how to set datalayer in functions.php for fusion form (Avada) completion which will send e-mail and phone number to google analytics
How to formulate data layer below which will dynamically fill e-mail and phone number when user submits avada fusion form in console on datalayer command?
<script> window.dataLayer = window....
-1
votes
1
answer
142
views
Module firebase not found in script
I try to do something simple, import firebase in my index.html and start analytics.
I import the code, but i have ReferenceError: firebase is not defined. Please what is wrong with my code ?
<body&...
1
vote
2
answers
152
views
onChange function not firing with one option in the dropdown
I have three drop down fields, one is pulling list of accounts and another drop down field is pulling the list of properties associated with that account. Once the property is selected, the third drop ...
0
votes
1
answer
721
views
GA4: Is it risky if I add a parameter to 'page_view' event? [closed]
I want to track some metrics of my webpages (such as the "Average Engagement Time" or the clicks on the ads), switching from one web design to another, by creating a custom dimension in GA4.
...
1
vote
0
answers
1k
views
Email Tracking using Google Analytics 4?
So before GA4 came into effect I would use what this documentation page describes in order to add a 1x1 beacon to the end of emails in order to track email opening using Google Analytics.
This would ...
0
votes
1
answer
466
views
Django project: Failed to load resource: the server responded with a status of 404 (Not Found) error for media files
My website was working fine in both development and production, until I tried to add a google analytics tag to the website which I did incorrectly at first (accidentally put it outside of the head ...
0
votes
1
answer
189
views
How to configure specific G4 events as an attribute in HTML?
In the "Create Events" area of google analytics I created the following event:
Then in the HTML I inserted it like this:
<a GA-TRACKER="HEADER-SEND-EMAIL"></a>
<a ...
0
votes
2
answers
220
views
Uncaught ReferenceError: getAuth is not defined - Firebase
I leave the code of the index.html and the index.js to help me, analytics if it works but auth does not work because of the error that appears when doing a test, thanks
index.html
<script type=&...
2
votes
1
answer
7k
views
Google analytics issues, refusing to connect because it violates the following Content Security Policy directives
I'm trying to add GA4 analytics to a website, which previously had UA analytics. I've added the new GA4 code snipper beneath the <head> tag as instructed.
The following errors (and a few others ...
1
vote
1
answer
87
views
Issues with visited state for <a> tag in HTML and Google Analytics?
Every reload page, the href attribute will be different because of the change of _gl params value.So browser can't detect the visited state as I expect.
Here's a link example.
https://www.example.com?...
0
votes
0
answers
586
views
'Uncaught ReferenceError: ga is not defined' due to page loading too quickly
I'm creating a google analytics package and occasionally I get this error if the page loads too quickly: Uncaught (in promise) ReferenceError: ga is not defined
I believe this is due to the page ...
0
votes
0
answers
163
views
How can I get this Javascript to correctly decorate button hyperlinks on my page? Relevant: Google's Cross-Domain Measurement, Unbounce Landing Pages
I have some landing pages built in a service called Unbounce. These landing pages contain buttons going to my sign-up page. The landing pages and sign-up page are in different domains, so I use Google'...