Google Tag Manager (GTM) is built around three powerful components:
Tags, Triggers, Variables.
Among these three, Tags are the heart of the tracking system.
If you understand tags clearly, setting up conversions, pixels, analytics events, and advanced tracking becomes very easy.
Let’s break this down in the simplest possible way.
1. What Is a Tag in GTM?
A tag is a piece of code that sends data from your website to another platform.
For example:
| Platform | Tag Name | Purpose |
| Google Ads | Conversion Tag | Track leads, calls, purchases |
| GA4 | Event Tag | Track all user actions |
| Meta (Facebook) | Meta Pixel Event | Track pageview, leads, purchases |
| TikTok Ads | TikTok Pixel Event | Track conversions for TikTok campaigns |
| LinkedIn Ads | Insight Tag | Track professionals’ actions |
| Pinterest Ads | Pinterest Tag | Track browsing & purchases |
| Custom HTML | Custom Tracking Code | Track anything manually |
So the purpose is simple:
A tag tells another platform what happened on your website.
2. Why Do Tags Exist?
Before GTM existed:
- Developers had to manually place tracking scripts inside the website.
- If marketers wanted to track a button click, they had to ask developers.
- If a tracking code broke, the website could crash.
- Collaboration was difficult.
Google solved this problem by introducing Tag Manager.
Now marketers can:
- Add tracking codes
- Edit tags
- Remove incorrect tracking
- Publish updates
- Test everything
- Use advanced triggers
… without touching the website code.
3. Types of Tags You Will Use (Real-World Examples)
Let’s look at the tags you will deal with daily in data-driven marketing.
A. Google Ads Tags
Google Ads tags are essential for tracking:
- Leads
- Form submissions
- Calls
- Purchases
- Add to cart events
- Conversion values
Real Example:
Someone fills out your “Contact Us” form → Google Ads Lead Conversion Tag fires → Google tracks the lead.
B. GA4 Tags (Google Analytics 4)
GA4 tags help track:
- Page views
- Button clicks
- Scrolls
- Video views
- Link clicks
- eCommerce events
GA4 events are extremely important for detailed reporting.
C. Meta Pixel Tags
Meta Pixel tags help track:
- PageView
- ViewContent
- AddToCart
- Leads
- Purchases
- Custom events
These events help optimize Facebook & Instagram campaigns for conversions.
D. TikTok Pixel Tags
TikTok advertising is growing rapidly.
TikTok tags help track:
- Form submissions
- Add to cart
- Initiate checkout
- Purchases
E. LinkedIn Insight Tags
Used for B2B campaigns.
Helps track:
- Website visits
- Leads
- Conversions
F. Custom HTML Tags
This is the most flexible tag type.
You can insert:
- Custom JavaScript
- JSON
- Tracking systems not supported by default
- API calls
- Custom events
For example:
If a platform does not have a native GTM tag, you use a custom HTML tag.
G. Server-Side Tags
Part of advanced tracking.
Server-side tags allow:
- Faster page load
- More accurate data
- Ad blocker bypass
- Lower page weight
These are extremely valuable in modern tracking setups.
4. The Structure of a Tag
A tag is made of three main components:
A. Configuration
Where the data is sent.
Example:
GA4 → Measurement ID
Google Ads → Conversion ID
B. Event Parameters
What data is being sent.
Example:
- event_name
- value
- currency
- transaction_id
- form_id
- click_text
C. Trigger
When the tag should fire.
Example:
- All Pages
- Page View
- Button Click
- Form Submission
- Custom DataLayer Event
You will learn triggers in the next lesson.
5. Why Tags Are Important for Marketers
Tags allow marketers to:
- Track conversions
- Measure success
- Optimize campaigns
- Improve ROAS
- Analyse customer journeys
- Build remarketing audiences
- Understand which channel works
Without tags, marketing becomes blind.
6. Real-World Scenarios Where You Use Tags
Scenario 1 — A Lead Form Submission
Tag used: Google Ads Lead Conversion Tag
Purpose: Track leads
Scenario 2 — A Purchase on an E-commerce Site
Tag used: GA4 Purchase Event
Purpose: Track revenue
Scenario 3 — Someone Reads a Blog Post
Tag used: GA4 Page View
Purpose: Content success measurement
Scenario 4 — Scroll Tracking
Tag used: GA4 Custom Event
Purpose: Measure engagement
Scenario 5 — Button Click
Tag used: GA4 + Ads Conversion
Purpose: Track calls or clicks
7. Summary
- Tags send data
- Tags are the foundation of tracking
- Tags connect your website to advertising platforms
- Tags determine campaign success
- Tags must always be paired with triggers
In the next lesson, we will learn about Triggers — the brain of your tracking system.