Don't have one? Create one ↗
← GTM Fundamentals

Lesson 6 of 8

How They Fit Together

Put the three pieces together and the model is simple: a trigger decides when a tag fires, and variables supply the data it sends.

Triggerwhen it firesVariablewhat dataTagwhat runs

A practical example

Say a thank-you page pushes a purchase event. You would build a GA4 Event tag, attach a Custom Event trigger on purchase, and map the value from a Data Layer Variable:

Tag:      GA4 Event  ->  event_name: "purchase"
Trigger:  Custom Event  ->  event equals "purchase"
Variable: {{DLV - ecommerce.value}}  ->  49.0

Key takeaway

Tag = what runs, trigger = when, variable = what data. Almost every setup in the hands-on courses is a remix of these three.