Tag

tag management concept

01 Definition

Tag meaning: A snippet of code that sends data to or runs a tool when a condition is met.

A tag is a piece of code that performs an action, such as sending a pageview to analytics or firing an ad conversion pixel. In tag managers, you configure tags to run when their triggers match. Tags do the work, while triggers decide when and variables supply the details.

Why it matters

How Tag fits the work

Tags are how marketing and analytics platforms receive data from a site, so understanding them is key to accurate tracking and clean measurement.

In context

A GA4 event tag fires on the purchase trigger, sending the transaction ID and value to Google Analytics for that order.

!

Practical note

A tag with no trigger never fires, and a tag with too broad a trigger can fire on the wrong pages. Test each tag to confirm it sends the expected data once.