r/GoogleTagManager • • 5h ago

Discussion Moving to server-side tagging doesn't remove the consent requirement. Two reasons, and most people only know one

3 Upvotes

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 • • 10h ago

Support Help with google ads and preview mode

3 Upvotes

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

Discussion Tags firing pre-consumer cookie consent and data loss question

5 Upvotes

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

Discussion Built a local Side Panel extension to diff Production vs Staging GA4/GTM tags & audit Consent Mode v2

0 Upvotes

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:

  • Tab Slot Diff: Capture a Production tab and a Staging tab, then compare GTM/GA4/Meta Pixel IDs and dataLayer events side-by-side.
  • Consent Mode v2 Decoding: Parses gcs and gcd parameters from GA4 hits and flags legacy UA- tags, duplicate page_view hits, or third-party pixels firing alongside denied consent.
  • QA Handoff: Exports findings to CSV or copies a formatted Markdown summary for Jira/Linear/Slack.
  • Privacy: Uses 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 • • 2d ago

Discussion How do you audit a GTM container you inherited?

5 Upvotes

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

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

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

Discussion I'm Watching Chat Perform My Job

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

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

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

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

8 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 • • 9d 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 • • 10d 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 • • 13d 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 • • 16d 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 • • 16d 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 • • 16d 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 • • 19d 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 • • 20d 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 • • 21d 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 • • 23d 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 • • 24d 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 • • 25d 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 • • 26d 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 • • 26d 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 • • 27d 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!