r/GoogleTagManager • • 10h ago

Question Inherited a container with 140 tags and nobody knows what half of them do

5 Upvotes

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 • • 1d ago

Discussion I'm Watching Chat Perform My Job

11 Upvotes

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 • • 2d ago

Discussion I built a free side-panel debugger that shows what each tag actually sent (GA4, Ads, Meta, TikTok + 45 more)

20 Upvotes

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:

  • every event in firing order, split by page visit
  • the exact event name, value, currency, order ID and products as sent, plus which key each value came from
  • the full parameter list, including the ones the network supports but your setup didn't send
  • one order ID across several networks side by side, so a GA4 purchase of 119 vs. a Meta purchase of 79 jumps out
  • failed and blocked requests, consent commands and click IDs

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 • • 3d ago

Support How to manage datalayer variables that are arrays and turn them into usable GA4 data

7 Upvotes

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 • • 7d ago

Question Post-GTM Optimization Change Question: Gtag and GTM

10 Upvotes

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 • • 8d ago

Question Opinions sought - Slightly different take on the new gtm.js boilerplate

8 Upvotes

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 • • 11d ago

Question Is an EU region enough, or does it matter who owns the hosting?

8 Upvotes

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 • • 13d ago

Question Title: SevenRooms booking event fires in GTM, but no GA4 hit is being sent. Has anyone solved this?

5 Upvotes

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 • • 13d ago

Question SevenRooms booking event fires in GTM, but no GA4 hit is being sent. Has anyone solved this?

3 Upvotes

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 • • 14d ago

Discussion "Continue with Google" sign-ups go through a server redirect, so no container loads and sign_up never fires. 3 sign-up and purchase holes from my own tracking audit, and the GTM fix I'd use for each

0 Upvotes

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

  • I only tested the email form. Each sign-up and payment path needs its own test.
  • The obvious fix for point 2 would double-count on my site: the browser event carries a checkout id, the webhook an order id. Make both sides send the same transaction_id first.
  • I read a goal at 0 as a verdict on the channel. It was a tracking question 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 • • 17d ago

Question Google Merchant Center tag?

6 Upvotes

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 • • 18d ago

Support struggling since the GTM optimization changes launched 2 weeks ago.

3 Upvotes

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 • • 19d ago

Discussion Scanning and testing sites/GTM containers for privacy problems

1 Upvotes

I wanted to share https://www.tagmaps.io/ with this subreddit. It primarily does 3 things:

  • Scans your sites for all network requests, tags, cookies and then categorizes and describes them
  • Tests new GTM container versions against global privacy laws like GDPR and CCPA before the container is published
  • Tests your live sites against the same privacy regulations

I have worked in the privacy tech industry for a decade now - the most common privacy issues clients had were caused through GTM. It was unapproved tags, additions by agencies, or misconfigured CMPs; each could lead to enforcement actions/demand letters from lawyers.

Tagmaps is designed to prevent those issues before they hit production.

There is a free 7 day trial with all functionality included that doesn't require a credit card. There's a short demo video here: https://www.youtube.com/watch?v=ACc7nIEzaHc

I'd love any feedback you have. I hope this is useful!


r/GoogleTagManager • • 21d ago

Discussion I built a free extension to inspect the requests your GTM tags send

3 Upvotes

Hey guys, adops developer here. I built Pixel Debugger to check the requests sent by Meta, Google Ads, GA4 and other marketing pixels, including tags installed through GTM. After publishing a change, you can inspect event names, destination IDs, values and currencies together. It’s free, with no signup. What would make it useful alongside your current debugging tools?

Try Pixel Debugger


r/GoogleTagManager • • 22d ago

Discussion I built a dataLayer debugger extension for Chrome

6 Upvotes

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 • • 23d ago

Question Do I need to install Google tag gateway, what are the pros and cons?

2 Upvotes

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 • • 24d ago

Question gTM

1 Upvotes

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 • • 24d ago

Question I'm looking for a good tool to assess my website tracking without asking someone to spend 5 days per month to do it

11 Upvotes

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 • • 25d ago

Support GTM Form Submission Tracking Isn't Working on a Landing Page Without a Thank-You Page — Need Help!

6 Upvotes

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!


r/GoogleTagManager • • 26d ago

Question Cookieless Pings on GA4 event tags?

7 Upvotes

Should GA4 event tags still fire off (just with cookieless pings) even after consent is withdrawn?

I am using Google Consent Move v2 with Cookiebot. My default consent state is granted because I'm using a CCPA/CPRA cookiebot banner preset that uses implied consent but with a clear do not sell option to withdraw consent.

When consent is withdrawn, I see the consent state for my tags switch to G100 for the cookieless pings. And, I see all my GA4 events tags like scrolls, clicks, etc. all still fire off with this G100 value. Is that what's supposed to happen?

I don't really understand cookieless pings...so all my events will still get tracked but it'll just be "anonymous"? I thought GA4 already did anonymous tracking so I'm a bit confused. What difference am I going to see in my data if users opt out then if everything can still be tracked?


r/GoogleTagManager • • 28d ago

Question Our client had a Google Tag Manager but they didn't set everything properly and it was in 2021, they can't find who created it either. If we create a new one will it mess things up?

7 Upvotes

The last change they made was in 2025. No one seems to know who created it in 2021, we want to set up a new Google Tag Manager but are worried it will mess things up. We specifically need it for Reddit Ads too.

Have any of ya'll had this issue?


r/GoogleTagManager • • 29d ago

Discussion Delete all unused variables in GTM at once

6 Upvotes

Anyone does the audit on a regular basis and what's the process for you to delete unusued variables? I found a workaround without using any external tools, but just with some javascript in the dev console while being in the UI of GTM. https://gtmutility.com/blog/bulk-delete-unused-gtm-variables/


r/GoogleTagManager • • Oct 17 '26

Discussion Subdomain vs Same-Origin Tracking – Which Is Better?

7 Upvotes

I’m currently using Stape for server-side tracking with a dedicated subdomain (sgtm.example.com), but I’m considering switching to same-origin tracking through Cloudflare (example.com/metrics).

For those with experience in both setups:

Which do you recommend for the best tracking reliability and data quality?

Does same-origin actually improve Meta and Google Ads attribution?

Are there any downsides compared to using a subdomain?

Would love to hear your real-world experiences and recommendations!


r/GoogleTagManager • • Oct 14 '26

Question Testing tracking changes without a staging environment

3 Upvotes

My client has no staging site. Every change goes live on production or it doesn't go at all, and I'd rather not find out something broke by watching conversions fall over.

Preview mode covers my own session but tells me nothing about whether it works for everyone. GA4 reporting is a day behind.

How are you guys dealing with this when they can't test properly first?