Google Tag Manager: Regain Control of Your Tags Without Relying on a Developer

What a tag manager does, how to install and set it up, common use cases, consent management, and mistakes to avoid

Key Takeaways

  • Definition: Google Tag Manager (GTM) is a free tag manager: you simply add a single line of code to your website, and then all tracking and advertising tags (GA4, Google Ads, Meta, LinkedIn) can be managed from a single interface, without having to modify the code.
  • Three bricks: tags (what is sent), triggers (when), and variables (with what data).
  • Benefits: Marketing autonomy, deployment in minutes, preview mode for testing, versions and rollback, centralized consent management.
  • Limitations: requires strict adherence (naming conventions, documentation); a poorly maintained container slows down the site and skews the data.

Google Tag Manager (GTM) is Google’s free tool for managing a website’s tags: tracking codes (GA4), advertising codes (Google Ads, Meta, LinkedIn, TikTok), and third-party tools (chat, heatmaps, A/B testing). Instead of adding each code snippet to individual pages, you simply install the GTM container once, and then everything is configured through the interface. For a small or medium-sized business, this tool allows the marketing team to operate independently of the developer. This guide explains how it works, how to install it, use cases, consent requirements, and best practices.

How GTM Works

BrickRoleExamples
ContainerThe unique code embedded on all pages, which loads the published configurationOne container per site (or per domain)
TagWhat is sent to a third-party toolGoogle Tag (GA4), Google Ads conversion, Meta Pixel, chat script
TriggerThe condition that triggers the tagAll pages, clicking a button, submitting a form, thank-you page, 75% scroll, dataLayer event
VariableThe data used by the tag or triggerPage URL, text of the clicked link, transaction ID, order value, consent status
dataLayerThe data layer where the site stores information for GTME-commerce data, hashed customer ID, page type
Workspace and VersionsDraft changes, test, publication, historyRevert to a previous version with one click

Install GTM

  1. Create an account and a web container on tagmanager.google.com using the company's email address (not the service provider's).
  2. Insert the two code snippets provided: one in the <head> as high as possible, the other right after the opening of the <body>. CMS platforms have dedicated extensions or fields (WordPress, Shopify, PrestaShop, Webflow).
  3. Remove any old hard-coded tags (GA4, Meta pixel) to avoid duplicates.
  4. Create the Google tag with the GA4 measurement ID and the "Initialization" or "All Pages" trigger; detailed configuration instructions are in GA4 with Google Tag Manager.
  5. Test in Preview mode, then publish a first named version.

Common Use Cases for an SME

NeedTagTrigger
Measuring TrafficGoogle Tag (GA4)All Pages
Count the number of forms sentGA4 Event generate_leadForm Submission Successful or Thank-You Page
Tracking Calls from Mobile PhonesGA4 Event click_phoneClick on a link tel:
Track Google Ads ConversionsGoogle Ads conversion tag (or GA4 import)Same trigger as the key event; see Google Tag Manager and Google Ads
Feed Meta campaignsPixel Meta (community model)All standard pages and events, subject to consent
E-commerceGA4 Events view_item, add_to_cart, purchasedataLayer events triggered by the store
Downloads, videos, scrollingGA4 EventsBuilt-in triggers (link click, YouTube video, scroll depth)
Third-party tools (chat, reviews, heat maps)Custom HTML or templateAll pages, subject to consent if cookies are used

Any tag that sets non-essential cookies must wait for the user's consent. GTM includes a consent mode: each tag declares the permissions it requires (analytics_storage, ad_storage, etc.), a Consent Management Platform (CMP) tag sets the default status to “declined” and updates it based on the user’s choice, and GTM blocks or adjusts the tags accordingly. The complete setup, including Consent Mode v2 for Google Ads, is described in Consent Mode v2 with GA4 and GTM. Enable the "consent overview" in the container settings to see which tags require no configuration at a glance.

Best Practices

  • Naming according to a convention: “GA4 – Event – generate_lead,” “Ads – Conversion – Quote,” “Trigger – Contact Form.” A container with 40 tags that don’t follow a consistent naming convention becomes unreadable within six months.
  • Document: the "Notes" field for each tag, and a named version for each post ("Added quote conversion, 2026-09-02").
  • Test in Preview Mode before each publication, and check in GA4 DebugView.
  • Limit tags: Every third-party script slows down the site and affects the INP; remove any that are no longer in use; see Core Web Vitals.
  • Choose specific models (community gallery) with custom HTML, which is more secure and compliant with consent requirements.
  • Manage access: Owner = the company; “modification” or “publication” service providers, who may be removed; access audits every six months.
  • One container per site, and one folder per tool in the container.

Common Mistakes

ErrorEffectCorrection
Hard-coded values retained in addition to GTMLet's Double Our Page Views and ConversionsDelete the theme and plugin code
Form trigger on button clickConversions are counted even if there is a data entry errorTrigger on the success response or the thank-you page
Tags without consent settingsNon-compliance, data discrepanciesConsent Overview, CMP-Compliant
Changes Published Without TestingIncorrect data for weeksSystematic Preview Mode, DebugView
Container created by a service provider in their accountLoss of Access Upon Contract ExpirationTransfer ownership to the company's account
Accumulation of Unused TagsSlower website, confusionQuarterly Review, Discontinued

Server-Side GTM: Who Is It For?

GTM offers a server-side option: the container runs on a server (Google Cloud or a third-party hosting provider, €10–50 per month) and forwards the data to the tools. Advantages: fewer scripts in the browser, resistance to ad blockers, control over the data sent, easier access to Meta conversion APIs and Google Ads enhanced conversions. Limitations: technical configuration, hosting costs, maintenance. Suitable for an e-commerce site or a site with high ad traffic; unnecessary for an SME showcase site. Details on GA4 tracking are available in Set up GA4 correctly from the start.

Tip: Open your container and count the tags that have no description, no naming convention, or no active trigger. If there are more than five, take an hour to clean them up before adding anything else: this is the most common source of incorrect data.

How GreenRed Can Help You

Instead of juggling multiple tools, GreenRed's GA4 Performance and Traffic Module brings these metrics together in a single dashboard, compares them over time, and shows you the top priorities. You can try it for free—no credit card required—on the page Rates.

Frequently Asked Questions

Is Google Tag Manager free?

Yes, the standard version is free with no limits on tags or traffic. A paid version, Tag Manager 360, is available for large accounts (zones, approvals, support). Server-side GTM is also free, but hosting the server container costs €10 to €50 per month.

What is the difference between Google Tag Manager and Google Analytics?

GTM is the platform that triggers the code; GA4 is the analytics tool that receives and analyzes the data. GTM does not track anything on its own: it sends events to GA4, Google Ads, Meta, and other tools. We use GTM to set up GA4—not one in place of the other.

Do you need a developer to use GTM?

For the initial setup of the container and the e-commerce data layer, it’s helpful to have a developer or use the CMS. After that, GA4, Google Ads, and Meta tags, as well as click and form triggers, can be configured without coding. A one-day training session equips a marketing manager to handle 90% of their needs independently.

Does GTM slow down the website?

The container itself is lightweight and loads asynchronously. What slows it down is the accumulation of third-party tags (chat, heatmaps, multiple pixels) that it loads. Limit the number of tags, remove unused ones, and defer those that aren’t needed for rendering; the improvement will be reflected in the INP metric of Core Web Vitals.

Centralize Your Marketing Tools

GreenRed connects your Google and social media tools and provides you with a unified view of your performance.

Try GreenRed

Related Articles