How the Tag Manager Works
How tags, triggers, variables, and publishing fit together in the Ours Privacy Tag Manager.
Use this page for a one-screen mental model of the Tag Manager. If you have used Google Tag Manager, skip it: the concepts are the same.
The four pieces
- Variables read a value from the page: the URL, the clicked element, a cookie, or a key in the data layer.
- Triggers decide when something happens: a page view, a click, a form submit, a custom event.
- Tags are what happens: send an event to Ours Privacy, identify the visitor, or run custom HTML.
- Publishing makes your draft changes live. Until you publish, visitors see the last published version.
A tag fires when one of its triggers fires. Triggers can use variables in their conditions, and tags can use variables in their event properties. One trigger can fire many tags.

Example
To track newsletter signups:
- Create a Form Submit trigger with a condition on the form ID.
- Create a Track tag named
Newsletter Signupand attach that trigger. - Add the visitor's email as an event property using a DOM Element variable.
- Publish.
Next steps
How is this guide?

