Last call to make your voice heard! Our 2022 Developer Survey closes in less than a week. Take survey.

Questions tagged [google-tag-manager]

Google Tag Manager is an analytics tracking tool made by Google. It enables users to implement a variety of tracking options, run custom JavaScript, add custom HTML tags to the page and more, all without having to change code on the site.

Filter by
Sorted by
Tagged with
0 votes
0 answers
6 views

Where should I paste this `react-gtm-module` code? (_app.js, index.js, [slug].js) [closed]

The code: import TagManager from 'react-gtm-module' const tagManagerArgs = { gtmId: 'GTM-XXXXXX' } TagManager.initialize(tagManagerArgs) And should I also add const app = document....
user avatar
0 votes
0 answers
15 views

GA Funnel not converting when using virtual page views

Day 10: Head banging continues... I have a web site that already has GA page tracking and Goals set up to track conversion (based on URLs), and these are working fine via GTM & GA. We want to ...
user avatar
  • 1
1 vote
0 answers
17 views

How to create Google tag manager tag for WPForms stripe events

NB: if this is the wrong Stack Exchange, LMK and I'll happily move the question, but it seemed more appropriate than any of WordPress, ServerFault, StackOverflow, or SuperUser. I'm trying to diagnose ...
user avatar
4 votes
1 answer
23 views

In Google Analytics, track which item and subsequent navigation path is used more

My knowledge of Google Analytics is pretty rusty. I am trying to set up tracking where I can know which Ad or button has been clicked, then as a next step, track which button has been clicked next. (...
user avatar
3 votes
3 answers
51 views

Verification of Google Search Console via Google Tag Manager

I have a problem with verification website in Google Search Console via Google Tag Manager. I have a site on Wordpress and GTM installed via GTM4WP plugin. Noscript part was set up to "Codeless ...
user avatar
  • 33
1 vote
0 answers
164 views

"unrecognized feature:'attribution-reporting'" from Google Tag Manager causing drop in ad conversions for Facebook and Google

I'm seeing 1 warning from the gtm.js library in Chrome browser console which could be related to this issue but I didn't find any information about them online.This is the error message: unrecognized ...
user avatar
  • 11
1 vote
0 answers
138 views

Events not visible in GA4 reports

I have created tags in GTM but only one of them is visible in GA4 reports. The other ones fire and I can see them in realtime and also in debug view - but not in the reports. I have waited for more ...
user avatar
2 votes
1 answer
99 views

Remove hotjar js installed through google tag manager

I installed hotjar tracking to my site through my google tag. Now I want to remove it. I have disabled all tracking on my hotjar account. I have deleted the tag (AUTO Hotjar Tracking Code) in google ...
user avatar
1 vote
2 answers
206 views

Have google tag manager fire event once per session

I need to fire an event once per session on session start. I have googled this and tried some solutions to no avail. For clarity I am using a LAMP stack. I need it to be an event so I can set a custom ...
user avatar
1 vote
1 answer
26 views

Cross Domain tracking on two different properties in GA?

I've been researching how to add cross-domain tracking for two different domain names. We currently have two different properties for two different sites, Site A and Site B. Unfortunately we have a ...
user avatar
1 vote
0 answers
15 views

Three identical views = Different numbers

For my website, which I'm tracking with Google Tag Manager and Universal Analytics, I have three identical views (i.e. I simply copied the original view). For the same time-frame (in this case ...
user avatar
1 vote
0 answers
34 views

view_item Event variable data return "undefined"

I created trigger to fire when the view_item event occurs by using a custom event and setting the "Event" equals "view_item". in preview mode when I check the view_item event, the ...
user avatar
  • 111
2 votes
0 answers
14 views

Can i use both Google Analytics and Google Ads Tag for tracking same event in Google Tag Manager?

I am not very experienced with Google Tag Manager, I wanted to track users who are filling a specific form on my website. So i have set up Google Analytics: Universal Analytics Tag for tracking users ...
user avatar
  • 21
3 votes
1 answer
28 views

GTM + GA4 init after consent - Data loss?

Question about something I am not sure about. But the way I set everything up for my ecommerce site is: When people will visit the page they will get a Cookie Consent Bar which you can accept or will ...
user avatar
  • 31
0 votes
0 answers
26 views

Get a custom user stats using Analytics API

We have the following scenario: Website A has GTAG installed and tracks every page visit, sending a internalUserId along in the dataLayer (when the user is logged). Website B is a CRM where we list ...
user avatar
  • 133
3 votes
1 answer
29 views

Form submission tag not fired

I want to create a goal from google tag manager and link it to google analytics goal event then link it to google ads for Target CPA. I added all images here. I don't know which part I did wrong (...
user avatar
1 vote
0 answers
8 views

Limiting what affiliate's Google Tag Manager can inject into my site

I am managing a website where we sell products. We have an affiliate program. I want to facilitate the affiliates the tracking for them to optimize the campaigns. Currently we display a different ...
user avatar
1 vote
0 answers
19 views

How to set up cross domain tracking between a root and subdomain that each have their own GTM and GA containers

I have ads pointing to our root domain "mydomain.com" and the conversions occur on our subdomain "convert.mydomain.com". I lose any source channel attribution and any conversion/...
user avatar
1 vote
0 answers
16 views

Google analytics numbers for a Shiny visualistion in an iframe are way less than the parent page

I have a few Shiny apps visualization which is are hosted on Shinyapps.io which is then embedded on my website in an iframe. We have quite a few of these apps that we use on the website and we have ...
user avatar
  • 23
3 votes
1 answer
32 views

On a new installation of Google Analytics 4 & Google Tag Manager, do I need to duplicate all tags?

I have installed Google Analytics 4 along with Universal Analytics and Google Tag Manager to track traffic to our 4 websites. There are literally hundreds of events (triggers/tags) being tracked now ...
user avatar
  • 163
1 vote
0 answers
25 views

How can i pass existing GTM-triggered FB pixel events to FaceBook Conversions API?

I have set up triggers in Google Tag Manager that in their turn triggers FaceBook pixel events. Now I want to send these Facebook pixel events to Facebook Conversions API also. The solutions that I ...
user avatar
1 vote
1 answer
48 views

10 seconds on site within Google Analytics versus Tag manager Timer

We use Google Analytics to measure traffic coming from our marketing campaigns. For one of our customers we are currently running vastly different campaigns on the same site. To easily split the ...
user avatar
2 votes
1 answer
66 views

Google Tag Manager Cross Domain not working

I recently implemented Cross Domain tracking on 2 domains. First, I added my GTM script on the second domain (who already had another GTM script). Then, on the GTM, on the GA Pageview tag, I added the ...
user avatar
1 vote
1 answer
20 views

GTM event not linking to event goal in Google Analytics. Is this the correct set up?

I am trying to track views of YouTube videos embedded on a website. I have successfully set up an event tag in GTM using the following metrics: The events are firing in the Real Time > Events ...
user avatar
2 votes
0 answers
203 views

GA4 Configuration Tag Firing Status "Failed"

I have 2 environments set up in GTM (Live and UAT) using the Constant Variable and Lookup Table for GA4 Config Tag implementation. The live environment works fine, but the UAT environment does not. ...
user avatar
1 vote
0 answers
45 views

HTTP response code indicates tag failed to fire: Status 404. Publishing new version in GTM does not work

I installed the GA4 via GTM. Everything worked fine, I already implemented a few custom events. Now I see that the GA4 is no longer retrieving data due to the error: The HTTP response code indicates ...
user avatar
1 vote
1 answer
23 views

Google Analytics: Universal Analytics Behavioural Flow not populating

GA: UA behavioural flow worked perfectly (I think, I am getting confused on all the different implementations) when I added this snippet of code to my app.component of my Angular 10 project: ...
user avatar
2 votes
1 answer
137 views

Google Tag Manager: UA tag not firing and having issues with GTM tag assistant

(I have a created a new container to test the stuff below as the original one is too complex with many tags for various campaigns/analytics) So I have 3 tags a simple tag that is of type 'custom HTML&...
user avatar
1 vote
0 answers
35 views

How can I display data about a custom event on a particular page using GA4 Analytics?

So using GTM, I designed a custom event and I am able to collect data and send it to Google Analytics. However, the data collected is about that event in general, not about that event occurring on a ...
user avatar
1 vote
0 answers
98 views

GTM Container not found in Preview mode

I got access to this Google Tag Manager (GTM) account. Tags and triggers seem to work and appear in Google Analytics reports. But the preview mode in GTM doesn't allow me to do anything. You can see ...
user avatar
3 votes
1 answer
33 views

Trigger event from external domain Google Analytics

I have a shop on a third party service. I want to trigger a event when the product gets purchased. The third party service allows us to add script snippets. I'm doing this, but I can't see any custom ...
user avatar
  • 317
1 vote
1 answer
18 views

Why do pageviews not show up in GTM debugging like every other event?

Here is what it looks like in GTM debugger when you load a page, then make a click. However, the odd thing is, here are the page view events: The 3rd option down is "Page view", but when I ...
user avatar
  • 211
1 vote
1 answer
24 views

When adding Google Analytics 4 support to a site that already has Universal Analytics, do I need both analytics.js and gtag.js, or is gtag.js enough?

I have a website that is running the Universal Analytics (UA) version of Google Analytics. I would like to add support for Google Analytics 4. The documentation for adding Google Analytics 4 support ...
user avatar
2 votes
1 answer
68 views

Google Analytics Universal Analytics - Date range issue while viewing all Pages (Site Content Pages)

I am using Google Analytics- Universal Analytics property, and using a custom dimension "UserName" (Scope = User). I am trying to view all pages/ page URLS a particular user has travelled in ...
user avatar
  • 95
2 votes
2 answers
39 views

Track conversions from blog article to checkout (Wordpress, GA, GTM)

This is on a Wordpress/WooCommerce site, utilising Google Tag Manager (via a plugin called GTM4WP). Is there a way to track when someone lands on the site via a blog article, and then they end up ...
user avatar
1 vote
1 answer
60 views

The click URL variable in Google Tag Manager is always returning a Facebook URL rather than the actual clicked URL

Built-In {{Click Url}} Variable in GTM is returning www.facebook.com/tr and not the href or action value of the click. What could be going wrong?
user avatar
1 vote
1 answer
72 views

Google Analytics - GA4 where can I view the event parameter values in event report?

I am firing a GA4 custom event. I have added 2 event parameters to my event as below screenshot. In debug view I am able to see the parameters with the values, but in Event reports like Engagement --&...
user avatar
  • 95
1 vote
1 answer
121 views

How to disable google analytics and google tag manager from capturing data from a website that is embedded through iframe

I have embedded a website that used google analytics into my website using iframe. I have not added any google analytics scripts to my website then also I can see some information through Google Tag ...
user avatar
1 vote
1 answer
518 views

How to set up Google tag Manager configuration in ASP NET Core razor pages

I am very new to ASP NET Core razor pages. I have a requirement to set up Google Tag Manager in ASP NET Core razor pages. Usually in the ASP.Net solution we use Google Analytic's tag.js script in page ...
user avatar
  • 95
0 votes
1 answer
173 views

Google Analytics - Custom Dimension value not reflecting in reports

I have some custom dimensions created for other reports and data is collected and displaying fine. Recently I have created a new Dimension with name "UserId" with index 13, type as "Hit&...
user avatar
  • 25
1 vote
2 answers
131 views

Google Tag Assistant Reports " Same Web Property ID is tracked twice"

I have less than a <5% bounce rate on Google analytics at the moment which is abnormal. I've read online this could be because of double google analytic tracking tags. I've removed Google analytic ...
user avatar
1 vote
0 answers
29 views

Multi step popup tracking using Google tag Manager virtual page url [closed]

I'm tracking multi-step popup but stuck. Let me explain requirement: I have a website example.com and there is a popup with 3 steps (I can open it from any page of the site). I want to track each step ...
user avatar
0 votes
1 answer
126 views

Facebook Pixel is not firing through GTM

For some reason my Facebook pixel doesn't fire when I install it through Tag manager. Here's how I've configured it: In the debugger, the pixel doesn't appear. Only analytics tag show up. I actually ...
user avatar
  • 175
2 votes
1 answer
52 views

How can I track subdomain acquisitions?

My property has multiple subdomains and each subdomain has it's own view. I have Tag Manager setup to use the same cookie for all the domains, but I have not yet added the subdomains to the referral ...
user avatar
  • 21
2 votes
1 answer
68 views

Make Google Tag Manager' tags GDPR compliant

How to make tags in Google Tag Manager GDPR-compliant without using 3rd party services like CookieBot? I have a custom "We use cookies" popup and GTM set up. I need to understand how to ...
user avatar
  • 21
2 votes
1 answer
27 views

Use Analytics + Tag Manager to track link clicks of specific URLs

For a PDF brochure that is accessed through a banner link, how would one track the clicks on that banner using Google Analytics and Google Tag Manager? I've been following this tutorial, and this one. ...
user avatar
  • 143
1 vote
0 answers
26 views

A/B testing in Optimize/Analytics with landing page variants and a Mailchimp Embed Signup Form

I have a landing page I'm A/B testing in Google Optimize, trying to see which variant of the landing page yields the most email signups. The problem is, I can count how many signups through the site I ...
user avatar
1 vote
1 answer
22 views

How to setup Google Analytics Form Submission Goals in SiteCore

My website is built on Sitecore CMS. We have a /contact-us/ page where a form is provided for users. Once the click on Submit button, the same page loads with a submission confirmation message. I want ...
user avatar
1 vote
1 answer
41 views

Using Google Analytics to track popularity a series of checkboxes on a webpage

I have a WebPage page that has lots of checkboxes on. Each one does something different. I would like to know which of these checkboxes is most popular with users. I am aware that I can assign ...
user avatar
  • 111
1 vote
0 answers
143 views

Google Tag Manager trigger for content in shadow-root?

How do I create a UA trigger that fires when a user clicks on content in a #shadow-root inserted using JavaScript? HTML is as follows, where the site I am working on is "site_A" and the site ...
user avatar
  • 11

1
2 3 4 5
7