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.
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.0Key takeaway
Tag = what runs, trigger = when, variable = what data. Almost every setup in the hands-on courses is a remix of these three.