Using Google Tag Manager in Webflow: What to Track and How to Do It Fast

Webflow makes it easy to design and publish beautiful websites, but when it comes to advanced tracking, you’ll need extra flexibility.

Read time:
2 minutes
Author:
Bojana Djakovic
Published:
September 10, 2025

Why use Google Tag Manager with Webflow?

GTM lets you:

  • Add and manage all your tracking code (Google Analytics, Facebook Pixel, LinkedIn Ads, etc.) in one place
  • Avoid manually editing your code in Webflow every time you need to add a script
  • Track events like clicks, form submissions, video plays, or scroll depth
  • Speed ​​up marketing tag deployment without relying on developers

What to track with Google Tag Manager

Here are the most valuable events startups and businesses should track in Webflow using GTM:

  • Page views

Analytics basics. Track which pages your visitors land on and how they navigate your site.

  • Button and Link Clicks

Perfect for tracking calls to action like “Schedule a Demo,” “Sign Up,” or external outbound links.

  • Form Submissions

Know exactly when someone submits a contact or lead form and feed that data into Google Analytics, HubSpot, or your CRM.

  • Scroll Depth

See how far users scroll down a page. Great for long landing pages or blog posts.

  • Video Engagement

If your site has embedded videos, you can track plays, pauses, and view percentage.

How to Add Google Tag Manager to Webflow (Quick Setup)

Good news: Adding GTM to Webflow only takes a few minutes.

  • Step 1: Create a GTM account (Go to tagmanager.google.com,create an account and container for your Webflow site)
  • Step 2: Copy the GTM snippet (GTM will generate two pieces of code (one for <head> and one for <body>).
  • Step 3: Paste the code into Webflow
  1. In Webflow, open your project settings.
  2. Under Custom Code, paste the GTM <head> code into the Head Code section.
  3. Paste the <body> code into the Before Body Tag section.
  4. Save and publish your site.
  • Step 4: Add tags to GTM (From your GTM dashboard, create tags for Google Analytics, Facebook Pixel, or custom events.Set triggers (e.g., “all pageviews” or “button clicks”).
  • Step 5: Test with Preview Mode (Use GTM’s Preview Mode to ensure your tags are firing properly,Once validated, publish your container.)

Setting Up GTM Faster

  • Start Small: Start with basic tags (GA4, Form Tracking) and add complexity later.
  • Name your tags clearly: e.g. “GA4 – All Pages” or “Call to Action Button – Sign Up”.
  • Use Built-in Variables: GTM has ready-to-use variables for clicks, forms, and more.
  • Test Everything: Don’t publish until you’ve confirmed that events are firing as expected.

Google Tag Manager is a must-have integration for any Webflow site that wants powerful, flexible tracking without endless manual code changes. By setting up GTM from the start, you'll be able to track key user actions, optimize campaigns, and make smarter business decisions all from a single dashboard.

Back to blog page