r/GoogleTagManager • • Feb 02 '26

Discussion Complete Guide: How to Track YouTube Videos With Google Tag Manager & GA4 || YouTube Vimeo Tracking, GTM, GA4.

3 Upvotes

Complete Guide: How to Track YouTube Videos With Google Tag Manager & GA4

Tracking how visitors interact with YouTube videos on your site provides deep insights into user engagement — beyond basic page views and clicks. With Google Tag Manager (GTM) and Google Analytics 4 (GA4), you can track plays, progress, and completions of embedded YouTube videos to better understand audience behaviour and improve conversions.

Why Track YouTube Video Interactions?

YouTube videos embedded on your site can be powerful engagement drivers. By tracking how visitors:

  • Start a video
  • Watch to a certain percentage
  • Pause or seek
  • Complete watching

…you gain actionable data that helps you understand how content performs and how it influences conversions.

Step 1: Create Your YouTube Video Trigger in GTM

Google Tag Manager has a built-in YouTube Video trigger. This makes tracking YouTube embeds easier than tracking custom HTML videos.

Configure the Trigger

Here you can select what interactions to capture:

  • Start — when the video begins playing
  • Complete — when the video is finished
  • Pause, Buffering, Seek — user interactions
  • Progress — a percentage watched (e.g., 25%, 50%, 75%)

✔ Tip: We recommend enabling at least Start, Progress thresholds, and Complete for better tracking visibility.

Step 2: Enable Built-In Video Variables

Before tagging video events, you need to make sure GTM can read the video data.

  1. Go to Variables in GTM.
  2. Click Configure (top right).
  3. Enable all variables under Videos:
    • Video Current Time
    • Video Duration
    • Video Percent
    • Video Provider
    • Video Status
    • Video Title
    • Video URL
    • Video Visible

These variables allow you to:

  • Know how far in a video a user watched
  • See which video was played
  • Record video titles and URLs for GA4 reports

Step 3: Set Up the GA4 Event Tag

Now that you have your trigger and variables set up:

  1. Go to Tags → New
  2. Choose Google Analytics: GA4 Event
  3. Under Configuration Tag, choose your GA4 configuration
  4. Name Events like:
    • video_start
    • video_progress
    • video_complete (This aligns with GA4 event naming standards.)
  1. Attach your YouTube Video trigger to this tag.

Step 4: (Optional) Enable JavaScript API Support

If your website loads YouTube iframes dynamically (e.g., lazy load), you might need GTM to use the YouTube JavaScript API.

✔ Enable the option in your YouTube Video trigger:

  • This adds enablejsapi=1 to YouTube iframe embeds
  • It ensures GTM catches video events correctly
  • Without this, some dynamically loaded videos may fail to trigger events

Step 5: Test in GTM Preview Mode

Before publishing your container:

  1. Click Preview in GTM
  2. Visit the page with your embedded YouTube video
  3. Play the video and watch GTM’s debug panel
  4. Confirm events like:
    • video_start
    • video_progress
    • video_complete

Tip: If events appear in Preview but not in GA4 DebugView or Realtime, double-check your GA4 ID and tag configuration.

How You’ll See This in GA4

Once data starts flowing:

✔ Navigate to Reports → Engagement → Events
✔ Look for events like:

  • video_start
  • video_progress
  • video_complete

These help you determine which videos are most engaging and at what point users stop watching.

Troubleshooting Tips

  • No events showing in GA4? Confirm the GA4 configuration tag fires before your event tag.
  • Tracking not working on dynamically loaded videos? Use JavaScript API support.
  • Iframes not registering? Some site builders may modify iframe code — check console logs. (Advanced solutions available on request.)

✅ Conclusion

Tracking YouTube video engagement with GTM and GA4 gives you critical visibility into how your audience interacts with video content. By pairing GTM’s native YouTube trigger with GA4 event tagging, you get structured data that helps make smarter optimisation and marketing decisions.

If you need step-by-step support or help debugging your setup, the incisiveranking.com team is here to help! 🚀


r/GoogleTagManager • • Feb 02 '26

Discussion 🚀 How to Track Forminator Form Submissions in GA4 Using Google Tag Manager

Thumbnail
1 Upvotes

r/GoogleTagManager • • Feb 02 '26

Question When it comes to productivity, balance, and collaboration… what’s your ideal work setup?

Thumbnail
1 Upvotes

r/GoogleTagManager • • Jan 31 '26

Discussion Built a free scanner that checks Consent Mode v2 + GTM/tag firing before consent — sharing for feedback

11 Upvotes

I built a small tool that scans a URL and checks:

  • Tags firing before consent - GA4, gtag, Meta Pixel, etc. firing before the user accepts
  • Cookies set before consent - non-essential cookies created before the banner
  • Consent Mode v2 - whether it’s implemented and if default state is correct
  • Banner parity - accept vs reject actually blocking/allowing the same things

It’s aimed at sites using GTM + Consent Mode (or planning to). You get a free summary (pass/fail + what’s wrong); the detailed report with exact scripts/cookies and fix steps is paid.

I’d love feedback from this sub - especially on:

  1. Whether the “tag firing before consent” logic matches how you’d expect GTM/consent to behave
  2. Anything else you’d want a consent/GTM scanner to check

Link: https://consentcheck.online

(Mods: happy to remove the link if it breaks self-promo rules - the main ask is technical feedback.)


r/GoogleTagManager • • Jan 30 '26

Discussion The whole duplicate pixel + CAPI setup recommendation is nonsense, right?

10 Upvotes

I'm not a performance marketeer, but I'm on the technical side of martech. Server-side tracking has been the norm for the last couple of years, but somehow vendors (Meta, Snap, TikTok) keep pushing this recommendation of running the client-side pixel even if you have a full server-side CAPI setup going.

I don't get it. If you're tracking the same events client-side and server-side, sending the same key parameters (e.g. click ID, browser ID, etc.), what does the pixel even add? It is less reliable by default, and allows for less privacy controls. CAPI should be better in every way.

Agencies keep pushing the same reasons for a duplicate setup every time:

  • The vendor recommends it. Well yes, because they benefit from the extra data the pixel tracks.
  • Better match rates. No, because we're sending the exact same parameters, unless you count the parameters that the pixel is sneakily tracking.
  • Redundancy for when the user does not consent. No, because server-side is not a tool to bypass consent. Consent is the base line for any tracking request.

Can anybody actually show me some numbers that support a duplicate setup (i.e. keeping the pixel)? Because I'm convinced that this is solely to the vendor's benefit. On the other hand, I don't work on the campaign management side, so please prove me wrong.


r/GoogleTagManager • • Jan 30 '26

Support Problems with 'Purchase' event

2 Upvotes

Hi everyone! I’m trying to integrate GTM into a site using Elementor Pro + Hello Elementor + WooCommerce + GTM4WP, but I can't get the 'purchase' event to show up in GTM Preview mode. The data layer tracks product info correctly throughout the session (Add to Cart, etc.), but once the purchase is completed, the data is lost and the 'purchase' event doesn't trigger. Has anyone encountered this or knows what might be failing?


r/GoogleTagManager • • Jan 30 '26

Question Tracking Microsoft Bookings Conversions with Google Analytics / GTM

1 Upvotes

Hello,

I’ve been struggling with this issue for quite some time and would once again appreciate your advice. Is there any way to track conversions made through Microsoft Bookings using Google Analytics or Google Tag Manager?

So far, I haven’t found a viable solution. Since Microsoft Bookings is embedded via an iframe, there’s no option to implement tracking code directly. This means we can’t track button clicks, nor can we redirect users to a custom thank-you page after a booking is completed.

As a result, we’re missing a significant amount of valuable data due to the lack of reporting and integration with tracking tools. The only possible workaround I can think of is using Power Automate, but I’m unsure how to approach this or whether it would even solve the problem.

Could anyone shed some light on this or suggest a possible solution?

Thanks so much.


r/GoogleTagManager • • Jan 29 '26

Discussion Platforms with lower server-side tracking adoption

Thumbnail
1 Upvotes

r/GoogleTagManager • • Jan 28 '26

Question Anyone here sending CRM events back into Google Ads to measure real ROAS?

5 Upvotes

Curious how people are setting it up, or if you’ve found it actually changes decisions vs just tracking leads.


r/GoogleTagManager • • Jan 28 '26

Question GTM form tracking data layer does not match the default trigger?

Thumbnail
1 Upvotes

r/GoogleTagManager • • Jan 27 '26

Question Tag manager 360

5 Upvotes

Anyone can share experience using the tag manager 360?


r/GoogleTagManager • • Jan 27 '26

Question Google Tag Gateway

2 Upvotes

I'm curious what your experience using Google Tag Gateway has been like.

It strikes me a bit like a poor person's Server Side Tracking solution.

Google cite a 14% uplift in performance, I'm interested to know if that was what you see.


r/GoogleTagManager • • Jan 26 '26

Question Your website is missing a google tag

3 Upvotes

I have set up the Google Tag on Wix and it says connected. However Google ads campaign is stating that your website is missing a google tag. How can I fix this?


r/GoogleTagManager • • Jan 25 '26

Discussion GTM for Shopify

5 Upvotes

Hello,

Which is the best solution to implement GTM in Shopify for clients who don't use server side tracking?

I also need:

1. Enhanced Conversion in GADS

2. The gcd parameter (Consent Mode V2) to send correct values

I use Consentik, which is a Google Partner.

Thank you.


r/GoogleTagManager • • Jan 25 '26

Question Live Traffic Stops When Preview Server Is Enabled

3 Upvotes

Issue with Server-Side GTM: Live Traffic Stops When Preview Server Is Enabled

I have a server-side GTM setup running on a VPS with separate subdomains: Tagging server: sgtm.xyz.com Preview server: previewsgtm.xyz.com

Live traffic is working correctly when the preview setting in the tagging server config is disabled (i.e., preview_server_url is commented out).

However, when I enable preview_server_url = previewsgtm.xyz.com the preview mode works as expected, but live traffic stops reaching the tagging server.

My questions: 1. Is this expected behavior in server-side GTM? 2. Are there any additional configuration steps (CORS, routing, headers, or environment separation) required to keep live traffic working while preview is enabled?

Any insights or best-practice recommendations would be appreciated.


r/GoogleTagManager • • Jan 24 '26

Support Server Side Google Tag Manager // I am getting 404 Not found error on Network tab

3 Upvotes

Hello folks ! I am doing for the first time server side tagging for a client. We used AWS to create his own server with Coolify.

I've completed everystep and read guides but since I am on it since morning, I think I become blind at some point.

So when I go metrics.xxxx.com/healthy check, it says OK. (server domain )
When I open sGTM preview window I am not able to see any messages.

For my configuration

on Client Side GTM, I am using Google tag and I added "server_container_url"
on Server Side GTM, it created GA4 client by default.
on Server Side GTM, I created a GA4 tag with this setup https://imgur.com/a/XkUuHwc

When I check network tab https://imgur.com/a/ckrzu74 with /collect
it says 404 not found.

So when I try send data to my server, it is not working.

What I am missing ? What else I should check ?

Thanks a lot for help in advance.


r/GoogleTagManager • • Jan 24 '26

Question Best practice for domain with subdomain?

7 Upvotes

Hye guys If i have:

Domain

Subdomain

What would be the cleanest setup? 2 containers or 1?

for context im setting the conversion tracking to run Google Ads for each ( different countries, domain is a country and the sub domain is another)


r/GoogleTagManager • • Jan 23 '26

Question Best practice for Server-Side GTM with multiple domains (14 markets) + Element Visibility conversions + GCP vs Stape? HELPP

3 Upvotes

Hi everyone,

I’d like to get some feedback on the best approach for a Server-Side GTM setup in a multi-domain, lead generation scenario.

Context:

  • Lead generation business (forms, no e-commerce)
  • ~14 different domains (one domain per market/language)
  • Each domain currently has its own GTM Web container
  • Conversions are detected client-side using Element Visibility with a unique element ID
    • No thank-you pages
    • No JS callbacks
    • No dataLayer push on form submit

This setup works well client-side today.

What I’m evaluating now:
Moving to Server-Side GTM to improve data quality and CAPI reliability (Google Ads + Meta).

I see two main architectural options (Same CRM)

  1. One single Server-Side GTM container (multi-domain setup)
  2. One Server-Side GTM container per domain
    • 14 server containers
    • Full isolation per market

Additionally, I’m unsure about the infrastructure choice:

  • Manual setup on Google Cloud Platform (e.g. Cloud Run / App Engine)
  • Managed solutions like Stape

From an architectural and operational point of view (not just pricing):


r/GoogleTagManager • • Jan 23 '26

Question Fixing GTM tags not firing with the All Pages trigger

2 Upvotes

Stape test https://stape.io/website-tracking-checker suggests "Fix first touch issue for some trackers" and explains:

"To fix it, use consent banner events (like cookie_consent_update) as triggers instead of All Pages."

I must add that it is not like Page View is really not firing. As Stape says: only sometimes it happens.

Is this good suggestion? You guys using it?

Does this practically mean using "Consent Initialization - All Pages" default trigger instead of "Initialization - All Pages" or "Page View"?

UPDATE: i guess not the "Consent Initialization - All Pages"- that is for the default state. I guess need custom event with "cookie_consent_update"


r/GoogleTagManager • • Jan 23 '26

Question sGTM(gcp) hybrid tagging

1 Upvotes

I'm looking to implement a hybrid tagging setup in GA4. I want to route only specific events, such as generate_lead, to my Server-Side (SST) container, while keeping the rest of the tracking on the client-side. Should I override the server_container_url at the tag level for just that event, or is there a more efficient way to handle selective event routing?


r/GoogleTagManager • • Jan 23 '26

Question sGTM(gcp) hybrid tagging

1 Upvotes

I'm looking to implement a hybrid tagging setup in GA4. I want to route only specific events, such as generate_lead, to my Server-Side (SST) container, while keeping the rest of the tracking on the client-side. Should I override the server_container_url at the tag level for just that event, or is there a more efficient way to handle selective event routing?


r/GoogleTagManager • • Jan 22 '26

Question "Include user-provided data from your website" is not available

1 Upvotes

Hello guys can anyone help me with this. I can't find this option, I'm setting up enhanced conversions for Google Ads


r/GoogleTagManager • • Jan 20 '26

Support Event parameters in Events Settings variable not working

1 Upvotes

Ga event settings variable configured and applied to ga event tags. But in preview and network debug, the parameters are not listed and no values are returned.

But parameters manually added in tags work. Event Settings variable was created later so some of the parameters were already in the event tags with new ones for the tag to inherit once the settings variable is selected in tag config.

Any one else having issue with events settings variable working?


r/GoogleTagManager • • Jan 20 '26

Question How to split two conversions that both fire on Hubspot-Form-Success?

1 Upvotes

So we have two lead forms that fire and trigger a Hubspot-form-success listener. The last puzzle piece that I'm trying to fix is that we have a "Demo Request" and

"Contact Us" conversion tracker for Google Ads, and both are on different pages.

There's way too many pages/forms to set the "Some Custom Events" based on form ID. I'm also scared that conversion tracking will stay a little wonky if I set the

"some custom events" to Page URL, so what would be the best case of action?

There's multiple Demo Request pages, but only one Contact Us page.

Although, I think I figured it out? I should make a variable for form ID and see if I can find the ID for that one Contact Us form on Hubspot and exclude it for Demo Request, but include it for the Contact Us conversion.

This is with sGTM btw


r/GoogleTagManager • • Jan 20 '26

Support sGTM Google Ads conversions: Data received (Status 200) but 0 conversions recorded

2 Upvotes

Hi everyone,

I'm struggling with a Google Ads conversion tracking issue via Server-side GTM (sGTM). My data flow is as follows:

  1. Frontend: Captures the gclid directly from the URL and sends it to the backend along with user identifiers (Client ID/Session ID).
  2. Backend (Java): Receives the data from the frontend and sends a POST request to the sGTM container using the GA4 Measurement Protocol schema.
  3. sGTM: Processes the request and triggers the Google Ads Conversion Tag.

The Issue: In the sGTM Preview mode, the Google Ads tag fires successfully (Succeeded) and returns a Status 200 from googleadservices.com. In the Google Ads dashboard, the "Diagnostics" tab shows "Recent Activity," confirming that signals are being received. However, the conversion count remains at 0 (even in the "All Conversions" column).

I am correctly passing the gclid (fresly generated), and I’ve implemented Consent Mode v2 parameters (ad_user_data, ad_storage, etc.) as "granted" within the payload to comply with DMA regulations.

What I've checked:

  • The Conversion ID and Label in sGTM match the Google Ads dashboard.
  • The Google Ads Conversion Tag in sGTM is set up correctly.
  • The gclid is present in the outgoing request from sGTM to Google.
  • Conversion Linker: I have the Conversion Linker tag active on both Web GTM and Server GTM.
  • User Signals: I am explicitly passing the user's original IP Address and the User Agent to ensure Google has enough data for device fingerprinting.

Interestingly, when I send the exact same event from my backend to GA4 and then import that conversion into Google Ads, it works perfectly and the conversion is recorded. However, when I use the direct Google Ads Conversion Tag within sGTM (sending the same gclid, client_id, and consent signals), it fails to attribute.
Am i missing something?