Page 1 of 1

Most frequently used rules:

Posted: Wed Jan 22, 2025 10:31 am
by mstakh.i.mo.mi
Rules (Triggers)
Rules define when a tag should fire. They can be based on a variety of events, such as clicks, page loads, or scrolling.


Page View: Tags fire when the page loads.
Click: React to clicks on certain elements, such as the "Buy Now" button.
Form Submission: Activates when a user submits a form.
Scroll Depth: Fires when the user scrolls the page to a specific point.
Variables
Variables are values ​​that help tags function dynamically. They can hold line phone number data data such as the URL of a page, an element that was clicked, or data from a DataLayer .

Examples of variables:

Built-in Variables: Ready-made variables provided by GTM, such as Click URLor Page Path.
Custom Variables: User-created variables such as product ID or order value.
Type Description Example
Built-in Automatically available in GTM Click URL,Page Path
Custom User created Product ID, order value
Data layer Passed dynamically from the page code transactionValue,productID
Tracking tag support
Tags are small pieces of code that are responsible for various functions, such as event tracking, conversions, or integration with external tools.