GTM Tags, Triggers and Variables Explained
Tags are code snippets you want to run (GA4 tag, Google Ads conversion tag, Meta Pixel). Triggers tell GTM when to fire a tag (page view, click, form submission, scroll, custom event). Variables provide dynamic data for tags and triggers (page URL, click text, form ID, Data Layer values). Every GTM
Quick Summary
Tags are code snippets you want to run (GA4 tag, Google Ads conversion tag, Meta Pixel). Triggers tell GTM when to fire a tag (page view, click, form submission, scroll, custom event). Variables provide dynamic data for tags and triggers (page URL, click text, form ID, Data Layer values). Every GTM implementation combines these three: a Tag (what), a Trigger (when), and optionally Variables (with what data). Understanding this framework is the key to mastering GTM.
Overview
Tags are code snippets you want to run (GA4 tag, Google Ads conversion tag, Meta Pixel). Triggers tell GTM when to fire a tag (page view, click, form submission, scroll, custom event). Variables provide dynamic data for tags and triggers (page URL, click text, form ID, Data Layer values). Every GTM implementation combines these three: a Tag (what), a Trigger (when), and optionally Variables (with what data). Understanding this framework is the key to mastering GTM.
Related Guides
See our complete guide library for detailed coverage of setup, tracking, analysis, and optimisation across all platforms.
Process Flow
Interactive diagram — drag to pan, scroll to zoom
Step-by-Step Guide
Follow these 3 steps to complete this guide
Step-by-Step Setup
Best Practices
Common Issues and Solutions
Frequently Asked Questions
Common questions about this topic
Was this guide helpful?
Your feedback helps us improve our guides