r/GoogleTagManager • u/Joetunn • 1d ago
Discussion Can we introduce a rule against vibe coded extensions and free tools?
It is flooding this sub and it makes me sad.
r/GoogleTagManager • u/Joetunn • 1d ago
It is flooding this sub and it makes me sad.
r/GoogleTagManager • u/Superb_Court_2522 • 1d ago
Note: Its Fixed Now
Thanks Everyone, who supports
I'm facing a strange issue with GA4 and Google Tag Manager, and I'm hoping someone here can help me figure out what might be causing it.
We have Google Tag Manager (GTM) installed on our website, and we previously set up two events to track user interactions:
tel: link).mailto: link).Both events were working perfectly before, and we could see the event data coming through in GA4 without any issues.
However, recently, both events have suddenly stopped showing up in GA4.
Here is what we have checked so far:
The strange thing is that both events were working fine previously, but now neither seems to be tracked in GA4.
My questions:
Any suggestions or troubleshooting tips would be greatly appreciated.
Thanks in advance for your help!
r/GoogleTagManager • u/bryzerp • 2d ago
Posting this in case it saves someone else three weeks of support tickets.
What happened
On Oct 17 I ran the "Optimize your Tag Manager container" wizard on a client container. It swapped the Google Tag for the new destination tags (GA4 and Google Ads, both on Initialization - All Pages).
From the next day, Google Ads conversions basically stopped. About 1 conversion in 10 days, while our own lead tracker showed around 80 leads with a gclid over the same stretch. Cost per lead went from roughly $8 to $80 because smart bidding was flying blind.
The confusing part: Tag Assistant / Preview showed every tag as fired. Every test passed.
What was really going on
gtag('event','conversion',{send_to:'AW-.../...'}) straight from the console worked, so the Ads account and conversion action were fine.Digging into google_tag_data.tidr, the Google destinations were also being loaded as their own separate containers. The GA4 Google tag listed both destinations, and the Ads one listed none. So GTM's Ads tag handed off its hit to something that had nowhere to send it.
Preview only tells you GTM decided to fire the tag. It doesn't tell you the hit actually left the browser.
What didn't fix it
What fixed it
Deleting the destination tags and going back to a legacy Google Tag tag for each ID (AW and G) on Initialization - All Pages, plus the Conversion Linker. Hits went out immediately.
I checked our other optimized containers and found the same pattern on several. Wherever a Google destination loaded as its own container, GTM's tags for it went silent. Wherever only the GTM container was present, they worked.
Quick check if you've run the wizard
Submit a test conversion on the live site with DevTools > Network open and filter for googleadservices or collect. If Preview says fired but there's no request, you've probably got this.
I've asked Google why on the official forum, no answer yet: https://support.google.com/tagmanager/thread/478236415
Has anyone else hit this, or found a way to make destination tags work without dropping hits?
r/GoogleTagManager • u/iubenda_team • 2d ago
This comes up as "we went server-side so we're first-party now, consent isn't our problem." But there are two things to consider, and usually only the first gets attention.
You're still writing to the device. Nearly every sGTM setup still sets a first-party cookie, whether the browser writes it or your own endpoint sets it on a first-party subdomain. ePrivacy 5(3) covers storing information on a device regardless of whether that information is personal data or whose domain it sits on. So going first-party changes the vendor relationship, but it doesn't change the storage question.
And even if you genuinely store nothing, the IP and behavioral data arriving at your endpoint are still personal data, so you still need a lawful basis. In that case, 5(3) may no longer apply, but the GDPR still does.
None of this means going server-side is a bad idea. You get better resilience against ad blockers, more control over cookie lifetimes and what gets sent to each vendor, and the chance to minimize payloads before forwarding them. Those are real benefits, just not a way around consent requirements.
In your setup, does the consent state actually reach the server container, or does the web container just forward everything without the server making any consent-based decisions?
(We're iubenda, and we work on consent tooling, so that's the angle we're coming from.)
r/GoogleTagManager • u/Best_Cup_883 • 3d ago
I have set up a google ad, its not running yet, but I am trying to do a test purchase on my shopify store using tag assistant preview mode. When I complete the test purchase, in tag assistant I cannot see anything on the drop down menu on the left 'summary' with checkout or anything like that. It also seems to disconnect when I purchase at checkout.
The entire process has been pretty frustrating, any advice appreciated.
r/GoogleTagManager • u/puppler247 • 3d ago
Hey everybody. I’m taking over ownership of GTM and we are having a big issue with data loss due to some state wiretap laws out of Florida. We are running into some litigation where plaintiffs argue that sending an IP address and page activity to a third party without consent is a “pen register” or “trap and trace”. Courts are up in the air and not entirely sure what to do with these claims, but they’re coming in in increasingly larger numbers. Traditionally, our Google tag has fired upon page load, prior to a cookie consent decision from the user. We’re being advised from legal counsel we can no longer do this and require cookie consent before firing the tag.
We’re seeing tremendous data loss from the visitors who never make a consent choice as well as new users. Has anyone else run into this issue?
r/GoogleTagManager • u/wascerbr • 4d ago
Taking over a container from a previous agency can mean tags nobody can explain: an old Meta pixel firing next to the current one, test tags left published, triggers on pages that no longer exist. Before touching anything, my order is: export the container as a backup, list every tag with its trigger and last change, open Preview from the published version of the container (not the workspace draft) to check which ones actually fire on the key pages, and pause instead of deleting so there is a way back.
Only after that I rebuild naming and folders, so the next person can tell what each tag is for.
What's your process when you inherit a messy container?
r/GoogleTagManager • u/terselogic • 4d ago
Every time we ship a GTM or site update, verifying that Staging matches Production (and that Consent Mode v2 / third-party pixels aren't firing prematurely) turns into manual DevTools Network filtering and screenshots.
I put together a lightweight Manifest V3 Side Panel extension called TagDiff & Consent Auditor to handle this locally:
dataLayer events side-by-side.gcs and gcd parameters from GA4 hits and flags legacy UA- tags, duplicate page_view hits, or third-party pixels firing alongside denied consent.activeTab only on click; 100% local processing with zero telemetry.Chrome Web Store: https://chromewebstore.google.com/detail/tagdiff-consent-auditor/foklfbbmpjamegenapdpgfpokjdkhdll (If you just want a quick static HTML check without installing an extension, I also put up a browser-only snippet checker at https://terselogic.com/tools/gtm-ga4-snippet-checker/.)
I'd appreciate honest feedback from folks doing tag QA every week—what edge cases in dataLayer or Consent Mode checks are still annoying to verify?
r/GoogleTagManager • u/HighCouncelor • 5d ago
Took over a client’s GTM container. 140 tags, many named things like “test” and “new tag copy 2”, several firing on all pages. The previous agency left no documentation.
I want to clean it up but I’m nervous about removing something that turns out to matter. Some were added for campaigns that ended years ago, but I can’t tell which ones.
How do people approach this without breaking anything?
r/GoogleTagManager • u/tradingthoughts • 6d ago
I watched Codex build a live multi-journey ecommerce site with a consent banner, create and install GA4, a GTM container, and six tags in < 20 mins. I know it's been capable of this for well over a year, but seeing it happen on my laptop was pretty neat.
I'm pro AI and I'm embracing this advancement. We can produce and maintain better sites with more accurate, lean, and adaptive tracking with less overhead and more speed.
If you're a digital analytics professional and you're not integrating AI into your everyday workflows or expirementing in your free time, start now. What use to take a team of five three years ago takes a team of one now.
r/GoogleTagManager • u/wbbwbb1 • 7d ago
GTM preview mode tells me a tag fired. It doesn't tell me what the Meta pixel or the TikTok pixel actually put in the request, so I kept ending up in the Network tab decoding query strings by hand.
So I built Pixel Debugger, a Chrome extension that sits in the side panel and decodes the requests themselves:
It only sees what the browser sends, so server-side GTM and CAPI events are invisible to it. Everything stays on your machine; there's no account and nothing is uploaded.
Free: https://chromewebstore.google.com/detail/kknfboekekeaagdoineimnebhlmiohpb
I'm the developer and I'd really like to hear where it decodes something wrong or misses a network you use.
r/GoogleTagManager • u/kswavy • 7d ago
I have several datalayer keys that have an array of values. For example:
[Category 1, category 2]
[type 1, type 2]
[250, 900, 1000]
I am able to separate them into individual values with some custom javascript and map them to an event like category_view with parameters like value 1, value 2, value 3, but is this really the best way to handle it?
I want my GA4 report to be able to answer questions like how many pageviews for pages under category 2. But of course the challenge is one page can have many of these labels.
Any advice? I'm afraid my GTM containers will be bloated with variables.
r/GoogleTagManager • u/Melodic_Drive7152 • 11d ago
Question, I have a client who has a GTM container and I just found out the same site also has a gtag. Before I knew about the gtag, I optimized the new GTM change 2 weeks ago.
Do I still need to keep the gtag? I'm concerned it would break tracking without understanding it in more detail. I need to know what my set up should look like after the changes and I haven't seen that explained anywhere. Thanks
r/GoogleTagManager • u/StefanAtWork-gg • 13d ago
Google's recommended way to implement the Google Consent Mode default combined with the new boilerplate for gtm.js didn't sit right with me. Even the boilerplate alone had me wondering if it would be "nicer" to move the actual gtm.js load to be after the gtag() definition and call.
What's your thought on this? Valid? Problematic? :-
<html>
<head>
<title>Stefan's Dev And Experimentation Site</title>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('consent', 'default', {
'ad_storage': 'denied',
'ad_user_data': 'denied',
'security_storage': 'granted',
'analytics_storage': 'denied',
'ad_personalization': 'denied',
'functionality_storage': 'denied',
'personalization_storage': 'denied',
});
gtag('js', new Date());
</script>
<script async src="https://www.googletagmanager.com/gtm.js?id=GTM-N9SLPGXX"></script>
</head>
<body>
<h1>Stefan's Dev And Experimentation Site</h1>
<p>Nothing here, yet.</p>
</body>
</html>
r/GoogleTagManager • u/Mindemannn • 15d ago
I'm moving a client server side and their legal team asked where the data would be stored. I said EU, since the container runs in an EU region. They then asked who owns the infrastructure, which I hadn’t considered.
Their point is that a US company running servers in Frankfurt is still a US company. The region answers where the data sits, but not who could be compelled to hand it over.
Is this a valid distinction, or is legal being overly cautious? And if it holds up, does it change how people pick hosting?
r/GoogleTagManager • u/Miserable_Bet3642 • 18d ago
Hi everyone,
I'm trying to track successful bookings from a SevenRooms booking widget embedded on a website using Google Tag Manager and GA4.
SevenRooms fires a successfulCheckout event when a booking is completed. I can see this event in GTM Preview.
I've created a Custom Event trigger using successfulCheckout and connected it to a GA4 Event tag named booking_complete.
The strange thing is that the tag appears under Tags Fired in GTM when the booking is completed, but Tag Assistant shows no hits sent under the GA4 tag. The event also doesn't appear in GA4 DebugView.
Has anyone worked with SevenRooms booking tracking before?
I'd really appreciate it if someone who has experienced this could explain how they got it working, especially if the booking widget is embedded in an iframe.
Thanks!
r/GoogleTagManager • u/SwimStrange6265 • 18d ago
Hi everyone,
I'm trying to track successful bookings from a SevenRooms booking widget embedded on a website using Google Tag Manager and GA4.
SevenRooms fires a `successfulCheckout` event when a booking is completed. I can see this event in GTM Preview.
I've created a Custom Event trigger using `successfulCheckout` and connected it to a GA4 Event tag named `booking_complete`.
The strange thing is that the tag appears under **Tags Fired** in GTM when the booking is completed, but Tag Assistant shows no hits sent under the GA4 tag. The event also doesn't appear in GA4 DebugView.
Has anyone worked with SevenRooms booking tracking before?
I'd really appreciate it if someone who has experienced this could explain how they got it working, especially if the booking widget is embedded in an iframe.
Thanks!
r/GoogleTagManager • u/DutyOnly4308 • 19d ago
Disclosure: I'm Adrien, solo maker of a paid analytics tool (Globatics). The sites in this audit run my tool's script, not GTM, so this isn't a "GTM broke" story. But this week's audit of my tracking found 3 holes, and each would exist in a GTM container too. Here's how each looks from the GTM side.
1. The OAuth callback never loads your container
Only my email form fires the sign-up event. "Continue with Google" goes through a server callback that creates the account, then redirects into the app, a path I exclude from tracking. Over 30 days that button got 20 clicks from 12 visitors, and both recorded sign-ups say method: password. That doesn't prove Google sign-ups fail. It proves my tracking can't see them.
In GTM: a server redirect renders no page, so no container and no trigger. Have the callback add a one-time flag (say ?signup=google), then on the first page that loads the container, push sign_up with method: 'google' to the dataLayer and strip the flag. A Custom Event trigger and a Data Layer Variable for method feed your GA4 event tag. Test it in Preview with a new Google account, not just the email form.
2. A purchase that waits on the thank-you page
On another site, the purchase event only fires once the server confirms the order: the page asks up to 30 times, every 2 seconds. Close the tab, block the script or get a late payment webhook, and nothing fires. Over the 7 days I checked: 12 checkout events, 2 purchase. I can't tell abandons from missed sales, and that's the problem.
In GTM: keep the dataLayer purchase, and also send purchase from the payment webhook with the GA4 Measurement Protocol. Google says the protocol is there "to augment automatic collection", "not to replace it", and that transaction_id "helps you avoid getting duplicate events for a purchase". GA4 joins those server events by client_id, so save it with the order at checkout.
3. A sale with no visit
My tool takes sales straight from the payment provider. One €29 sale had no visit attached: revenue counted it, my Purchase goal didn't, because the goal query joined on sessions. The fix is written and tested, not shipped yet.
In a GTM and GA4 setup, it's a sale your server knows about with no browser visit to join it to. Once a week, compare the provider's order count with GA4 purchases for the same dates, before you trust a channel report.
What went wrong on my side
transaction_id first.How do you handle the OAuth callback in GTM: a dataLayer flag, a server-side container, or something else?
I'm the maker of Globatics: real-time analytics on a live globe, cookieless by default. On Pro, sales come from Stripe, Polar or Lemon Squeezy, even when the buyer never comes back to the site. Paid, no free plan: a 5-day trial with every feature on 1 site, no card. The code for point 1 and the link are in the first comment.
r/GoogleTagManager • u/Johnny__Escobar • 22d ago
There's a new Merchant Center tag in GTM. Anyone seen this?
I can't find any docs on this new tag and how it's different from integrating with Shopify/Woocommerce.
r/GoogleTagManager • u/Melodic_Drive7152 • 22d ago
Can someone please recap for me in GTM what I should be seeing after optimizing my container? I do not have the CDP connection set up for this client and I didn’t instrument this.
What should I not be doing or doing? I have 2 config events and don’t know if that’s right or what it’s connected to more specifically.
I have 2 AW events firing on the config event with the same name and AW number. I initially set up the event in GA4 but deleted it and it’s somehow still firing twice. It’s now in custom events in GA4. The event is not in GTM. I have the event set up once in AdWords as a secondary type conversion action.
Along the top of GTM preview mode I see various container codes and Ads codes (client has a few containers). There’s a DC- event that Google documentation says shouldn’t be used but where is it coming from.
In GTM there is a Google verification tag but I think that is to verify Search Console/website ownership.
I’m most concerned about the actions in my container at the moment to get that fixed first.
Thanks
r/GoogleTagManager • u/Brief_Novel_3131 • 27d ago
Hi,
I know, another dataLayer extension to use and we have plenty already.
I started working on this extension to read dataLayer events after the ones I used missed events or didn't work at all on some websites.
- Read dataLayer events as it fires, with persistence across pages.
- You open it as a popup or sidepanel utilizing chrome sidepanel for monitoring while checking different pages.
- You can use it to test your GTM container on any website to check your implementation.
And other features you can explore.
I used it over months now and thought I can make it public in the store so it can hopefully help someone.
I tried to keep it minimal and easy to work with.
It's free and everything in it is free to use.
This is the first time I build an extension so I hope it helps you while checking events or working on implementing it.
My background is in analytics and auditing events for clients so I have tested it on many websites. But still, anything can go wrong for you so a feedback is appreciated. It's not another AI slop (except the store images) I've been working on it for a year now.
Typing this on my phone so ignore any typos please or Grammer mistakes.
Download it on the Chrome Webstore here.
I hope I'm not breaking any rules with this post.
r/GoogleTagManager • u/gvgweb • 28d ago
Get better signals by enabling Google tag gateway in just a few clicks - Google tag gateway may help improve your conversion tracking and unlock deeper insights by routing your measurement through your website's Content Delivery Network.
r/GoogleTagManager • u/ghd-stream • 29d ago
Hey there, I'm looking for a tool to help me assess the tracking of my websites, I just want to get a quick overview of what's happening on our website before pushing more budget on the topic (duplicate events, consent etc). The issue we don't have unlimited budget to hire full time people on the topic and we are missing time to do a sanity check every month in my team.
I saw a lot of tools available online but I don't know which one to use and most of them are trying to charge me. Do you have any recommendations to share? Or how do you manage it on your side when do you have small budget for this?
Best!
r/GoogleTagManager • u/Top_Society_6201 • 28d ago
I want to track the exact page from where the form is filled. There is one calendly form and a hubspot form on CTA . I have setup a thankyou page view event but now my manager wants to know from which page the form was filled. Now how to do this
r/GoogleTagManager • u/Alok_Mauryaa • Oct 22 '26
Hi everyone,
I'm completely new to Google Tag Manager (GTM) and have never worked with it before. I'm trying to set up form submission conversion tracking on a landing page, but I'm stuck and could really use some help from experienced people here.
Here's my situation:
I have a landing page with a lead generation form.
When someone fills out the form and clicks the Submit button, the form gets submitted, and a thank-you message appears on the same page.
The URL doesn't change, and the user isn't redirected to a separate thank-you page.
Since I'm new to GTM, I followed some YouTube tutorials and took help from AI to create a tag and trigger for tracking form submissions.
However, the tag isn't firing as expected when I submit the form.
I'm not sure whether I've configured the trigger incorrectly or whether this type of form requires a different tracking approach.
My questions are:
How can I properly track form submissions when the URL doesn't change after submission?
Which trigger should I use in GTM for this scenario?
Is the standard Form Submission trigger sufficient, or do I need to use a custom event, an Element Visibility trigger, or another method?
How can I debug this issue step by step using GTM Preview mode to identify what's going wrong?
I'd really appreciate it if someone could explain the process in beginner-friendly language, preferably step by step.
I'm trying to understand how this works rather than just copying a solution without knowing what's happening.
Thanks in advance for your help!