Category "google-tag-manager"

Google Tag Manager Form Submission with Formik

Try as I may, I am unable to successfully track any form submissions with Google Tag Manager when the form is submitted by Formik in a React project. I have tr

How do I track clicks on <a> tag with span class inside using Google Tag Manager?

I've been trying to get GTM to fire a tag every time a user clicks on the link text below ("Click here to donate"). <a href="https://www.testurl.com/dona

Adding items to the same datalayer object after page load

On my site, I have a page object that contains multiple bits of information about the page that is currently being viewed that I want to push to the datalayer.

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

Differences between "Click Classes" and "Click Element" in Google Tag Manager

I don't really understand the differences between Click classes and Click Element in Google Tag Manager. I don't understand the expected use of these event and

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'

GTM Click Element does not fire on click

I want to fire a GTM trigger based on the div the button is in. The Tag Details show the Click Element condition is not met: But the Variables on the exact sam

Google Tag manager impact in web performance (load time)

I´m trying to improve the load time and performance of my website. To summarize this is the average loading time stats that I get without including Google

Internal link tracking with 'matches css selector'

I'm want to track in Google Analytics clicks into internal links on my page using events in GTM. I'm debugging my tag in GTM Debugger and it shows me that, the

Google Tag Manager dataLayer within iframes

I'm wondering if it's possible to 'sync' the dataLayer between an iframe and it's parent page. The situation: I have a parent page with a GTM container and a