Google Tag Manager for Beginners: Start Without Code
Google Tag Manager for beginners comes down to one rule. You install a snippet of code once, then everything runs from the interface, without ever touching the site again. The logic rests on three building blocks: the tag (what you send), the trigger (when), and the variable (with which data). GTM collects nothing on its own. It relays your data to Google Analytics 4 or Google Ads. Two habits separate a beginner from reliable tracking: testing in Preview mode before publishing, and linking your tags to cookie consent to stay GDPR compliant.

In brief
15 min readLevel: beginnerTools: Google Tag Manager, Google Analytics 4, Tag Assistant, Google Search Console
- A single snippet of code (the container) is enough: after installation, everything is managed from the GTM interface, with no need to redeploy the site.
- The logic rests on three building blocks: the tag (what you send), the trigger (when), and the variable (with which data).
- Preview mode (Tag Assistant) lets you check that a tag fires before publishing, which prevents skewed data.
- GTM collects nothing on its own: you have to connect it to GA4 or another tool to see any data.
- Nothing is sent to visitors until you click Publish: you can test as much as you want, risk-free.
- Since Consent Mode v2, a small European business must link its tags to cookie consent, otherwise data collection becomes non-compliant.
Contents
- Before you start: what you need and what GTM does not do
- Create your account and install the container on the site
- Set up your first GA4 tag in 10 minutes
- Test before publishing with Preview mode
- The beginner mistakes that skew your data
- From your first tag to tracking that actually helps
- Go from tag set up to decision made, with Lysible
- Frequently asked questions
Before you start: what you need and what GTM does not do
Google Tag Manager measures nothing on its own. It carries your tracking data to the tools that actually display it. That is the first thing to understand before touching a single button.
Picture a conductor. They play no instrument, but they decide who plays and when. GTM works the same way: it collects no data, it fires the right scripts at the right moment. The instruments are Google Analytics 4, Google Ads, or other third-party tools. This distinction avoids the most common beginner mistake, looking for statistics inside GTM when they actually live in GA4.
What is Tag Manager, in plain terms?
It is a tag manager that replaces copy-pasting scripts into your site's code. Instead of calling a developer for every new tracking need, you add, edit, and remove your tags from an interface, then you publish. The site is never touched.
What is the difference between GTM and Google Analytics?
GTM sends, GA4 receives and displays. GTM decides which scripts fire and when. Google Analytics 4 collects events, calculates visits and conversions, and makes them visible in reports. One is the pipe, the other the reservoir. Here is how the roles split.
What is the difference between GTM and Google Analytics?
| Role | Google Tag Manager | Google Analytics 4 |
|---|---|---|
| Function | Tag router | Measurement and reports |
| Collects data | No | Yes |
| Displays charts | No | Yes |
| Requires code on the site | One snippet, once | Via GTM, none after that |
| Manages several third-party tools | Yes | No |
What do I need to get started?
A Google account, admin access to your site (or its CMS), and a Google Analytics 4 property already created. Nothing else. Also get the Tag Assistant extension, which is free and will be used to check your tags. According to the technical documentation from Google for developers on GTM, the tool integrates both on the website side and the server side, which is why a single snippet covers all your needs. If you are unsure which metrics to track once GA4 is connected, the list of website traffic statistics that actually matter gives a clear framework.
Create your account and install the container on the site
Installing GTM relies on a single snippet of code, the container, placed once on every page of the site. After that, you never touch the code again.

Go to tagmanager.google.com, sign in with your Google account, then click "Create Account". Enter your company name, the country, then the container name (often the site URL) and choose the "Web" target. Google then generates two snippets of code: one for the <head> tag, one for the <body> tag. Allow five minutes for this part.
How do I activate Google Tag Manager?
You accept the terms of service, then GTM shows your two pieces of code. The first goes as high as possible in the <head>, the second right after the opening <body>. The official Google Tag Manager documentation details each placement depending on the type of site.
Where do I paste the code without a developer?
On most CMS platforms, an extension or a dedicated field means you never touch the code. On WordPress, a plugin like "GTM4WP" only asks for your container ID (in the GTM-XXXXXX format). On Shopify, you paste both snippets into the theme.liquid file, or you use a dedicated app. The WordPress documentation on plugins lists several plugins that handle this setup with no line of code. On Wix and Squarespace, a "Google Tag Manager" field exists in the advanced settings, on plans that allow custom code.
10 min
The real time it takes to create a GTM account and paste the container onto a common CMS, extension included. On a custom-built site, expect closer to half an hour and the help of a developer for the code placement.
Source: Google Tag Manager documentation
One point worth repeating to any owner starting out: never install GTM AND the hard-coded GA4 tag on the site at the same time. It is the number one source of double counting, those visits counted twice that inflate your numbers. More on that below.
Set up your first GA4 tag in 10 minutes
The most common tag connects GTM to Google Analytics 4, and it takes less than ten minutes to set up, without code. It is the example almost everyone starts with.
- Tags, then NewIn your GTM workspace, click Tags then New.
- Choose the Google Tag typeThe unified type that merged the old GA4 configuration tag.
- Paste the measurement IDIn the G-XXXXXXX format, visible in the GA4 admin settings.
- Attach the triggerInitialization All Pages or All Pages, to cover every page.
- Name and saveName the tag clearly, such as GA4 Configuration, then save.
- Check in RealtimeGA4 receives data within a few minutes, check the Realtime report.
In your GTM workspace, click "Tags", then "New". Choose the "Google Tag" type (the old GA4 configuration tag was merged into this unified type during the tool's overhaul). Enter your GA4 measurement ID (in the G-XXXXXXX format, visible in the GA4 admin settings). Attach the "Initialization, All Pages" or "All Pages" trigger. Name the tag clearly, such as "GA4, Configuration". Save. Five clicks, one tag.
How do I connect GTM to Google Analytics 4?
You grab the measurement ID in GA4, paste it into the Google Tag, and attach the "all pages" trigger. The official Google Analytics documentation confirms the steps and shows where to find the ID.
Do I need to create a tag for every page?
No. A single Google Tag with an "all pages" trigger covers the entire site. GA4 automatically records page views from this one configuration. You will only add other tags for specific events: a button click, a download, a purchase.
Once this tag is set up and published, GA4 starts receiving data within a few minutes. Check it in the "Realtime" report of Google Analytics 4, which shows active users live. If the counter moves when you browse your site, the connection works.
Test before publishing with Preview mode
Here is what almost no tutorial says plainly. Testing in Preview mode is the most valuable step for a small business. A poorly set up tag pollutes your data for months without anyone noticing. This is where the difference plays out between reliable figures and misleading ones.
In Preview mode, does your GA4 tag appear in Tags Fired on every page?
- If It appears in Fired on every page It works, you can click Publish with confidence.
- If It stays in Tags Not Fired Do not publish, fix the trigger then retest in Preview.
- If You published a faulty tag Roll back to the previous version in two clicks in the Versions tab.
The consensus says "install, then publish". For a small structure, that is a trap. You do not have a data team to spot an abnormal traffic gap three weeks later. A conversion counted twice, a purchase never recorded, a tag firing everywhere instead of on one page: these errors are invisible to the naked eye. They skew every decision you make afterward. Preview mode, paired with Tag Assistant, catches them live.
How do I know if my tag is working?
Click "Preview" in the top right of GTM. A Tag Assistant window opens and connects to your site. Browse like a visitor. With each action, the tool shows the tags that fire ("Tags Fired") and those that do not ("Tags Not Fired"). If your GA4 tag appears in "Fired" on every page, it works.
1 tag
A single mis-triggered tag is enough to corrupt an entire GA4 report. Preview mode reveals it in seconds, before it goes into production and skews your figures for weeks.
Source: Google Tag Manager documentation
What happens if I publish a mistake?
Nothing is sent to visitors until you click "Publish". If you publish a faulty tag, GTM keeps the full version history. You roll back to the previous version in two clicks, in the "Versions" tab. Past data is not repaired for all that, which is exactly why you test beforehand. The logic mirrors that of a well-prepared SEO migration, where you measure and check everything before go-live rather than fixing things the hard way.
The beginner mistakes that skew your data
Five mistakes come up with almost every beginner. Each one skews the data for good or creates GDPR risk. Knowing them in advance saves months of clean figures.
- Double countingGTM installed at the same time as the hard-coded GA4 tag on the site: every visit counts twice, your statistics artificially double. Remove the hard-coded tag, keep only GTM.
- The tag never publishedYou configure everything, you test in Preview, but you forget to click "Publish". The result: zero data in production. Always check that a version is actually live.
- The trigger that is too broadA conversion tag attached to "all pages" counts a sale on every visit. Reserve conversion tags for their specific page, usually the thank-you page.
- Forgetting cookie consentTags fire before the visitor accepts cookies: data collection is not GDPR compliant. Link your tags to consent.
- Unreadable tag names"Tag 1", "New tag": in six months, you will no longer know what they do. Name each element clearly from the start.
At go-live, the thing to watch first is double counting. It is the mistake that does the most damage with no visible warning signal at all.
Why do my GTM and GA4 figures not match?
Nine times out of ten, it is double counting or a poorly targeted trigger. Compare the number of page views in GA4 with reality. If it is twice too high, look for a second hard-coded GA4 tag on the site. This gap is usefully cross-referenced with rank tracking in Search Console to tell a real traffic gain from a measurement artifact.
GTM and GDPR: what does Consent Mode v2 say?
A European business must link its advertising and analytics tags to the user's consent, via Consent Mode v2 (the mechanism that adjusts data collection based on what the visitor accepts). Your tags should only fire fully after cookies are accepted. The CNIL lays out the rules on cookies and trackers, and the precise setup in GTM is detailed in our guide on configuring Consent Mode v2 without breaking GA4 or Ads.
From your first tag to tracking that actually helps
Once the GA4 tag is set up, the next step is not to pile on more tags. It is to decide what you really want to measure. Useful tracking starts from a business question, not a list of scripts.

The beginner who has just connected GA4 faces a choice: add tags at random, or structure a measurement plan. The second path is better, even for a small site. List three or four actions that matter: a quote request, an add to cart, a phone call, a download. These are your future events. Each one becomes a tag with its own trigger. This framing turns GTM from a technical gadget into a steering tool. It is also what gives meaning to the data flows moving between your site and your reports.
Should I take a course or learn on my own?
For one GA4 tag and two or three simple events, the official documentation and an afternoon are enough. According to the France Num barometer on the digital maturity of small businesses, a large share of small French companies remain poorly equipped when it comes to measuring their online audience. The barrier is rarely technical, it comes down to available time. The economie.gouv.fr portal on the digital transformation of businesses points the same way: support often matters more than the tool itself. Taking a course becomes useful when you aim for advanced e-commerce tracking, via the dataLayer (the data layer that passes the detail of transactions and interactions to GTM), or multi-tool management.
Here are the signals that a beginner is ready to move up a level.
- Your GA4 tag is published and verified The GA4 Realtime report reacts when you browse, with no double counting.
- You can read a table of fired tags Tag Assistant no longer scares you, you tell "Fired" from "Not Fired" in the GTM interface.
- Your key actions are identified You have listed the conversions that matter to your business.
- Cookie consent is in place Your tags respect Consent Mode v2 and GDPR.
- You want to connect several sources GA4, Google Ads, and Search Console tell different stories, and you want to cross-reference them. That cross-referencing is exactly what we industrialized in Lysible, because no owner redoes it cleanly by hand every month.
At this stage, the real question is no longer technical. Many owners stop at collection and never look at the figures, for lack of time to cross-reference them. GTM feeds GA4, GA4 feeds your reports, but in between, no one ties all of it to actual sales. Centralizing Google Analytics, Search Console, and your campaigns in one place is one of the features we designed for this exact moment, when the tag works but the analysis is still to be done.
Go from tag set up to decision made, with Lysible
Setting up a GTM tag takes an afternoon. Cross-referencing GA4, Search Console, and your campaigns every month takes time few owners have. Lysible centralizes these sources in one place and turns your tracking data into readable decisions. The ideal moment to adopt it is when your tags work but the analysis is still on the to-do list. Discover the features designed for this exact moment.
Frequently asked questions
What is Google Tag Manager, in plain terms?
It is a free tag manager from Google that lets you add, edit, and remove tracking scripts (analytics, advertising, conversion) on your site without touching the code. You install a single snippet, the container, once and for all. After that, everything is managed from an interface: you create tags, connect them to triggers, and publish. GTM measures nothing itself, it acts as a router between your site and your tools like Google Analytics 4 or Google Ads. It is the pipe, not the data reservoir.
What is the difference between Google Tag Manager and Google Analytics?
Google Tag Manager sends the data, Google Analytics 4 receives and displays it. GTM decides which scripts fire and when, without ever collecting or displaying statistics. GA4 records visits, events, and conversions, then presents them in readable reports. You can sum it up this way: GTM is the conductor who cues the instruments, GA4 is the recorded score you listen to afterward. You look for your traffic charts in GA4, never in GTM.
How do I connect GTM to Google Analytics 4?
Grab your GA4 measurement ID (format G-XXXXXXX) from the Google Analytics admin settings. In GTM, create a new tag of the "Google Tag" type, paste this ID, then attach the "all pages" trigger. Name the tag clearly, save, test in Preview mode, then publish. A single tag is enough to cover the whole site: GA4 automatically records page views. You check the connection in the GA4 Realtime report, which shows active visitors live as soon as collection starts.
How do I know if my GTM tag is working before publishing?
Use Preview mode. Click "Preview" in the top right of GTM: a Tag Assistant window opens and connects to your site. Browse like an ordinary visitor. With each action, the tool shows the fired tags ("Tags Fired") and those that are not ("Tags Not Fired"). If your tag appears among the fired ones at the right moment, it works. This check takes two minutes and saves you weeks of skewed data, because nothing is sent to visitors until you click "Publish".
Is Google Tag Manager free?
Yes, Google Tag Manager is entirely free in its standard version, with no limit on tags or containers for typical small business use. All you need is a Google account. A paid version, GTM 360, exists for very large companies with advanced governance needs, but it is beside the point for a typical site. The tools it feeds may have their own costs, but Google Analytics 4 is also free in its standard version. To get started, you pay nothing.


