In this case, you can add a filter that tells the tag to only fire on pages with "/payment/" in the URL.
You can assign multiple triggers to a single tag.
Tag Configuration in GTM: Assign Multiple Triggers to a Single Tag
Examples of Triggers
Here are some of the most commonly used triggers:
Page views
Clicks on links
Clicks on buttons Form Submissions Scroll Depth
Time spent on page Custom event
What are Variables?
Variables are additional pieces of information that GTM may need to fire a tag or trigger.
They allow you to define precisely what the tag or trigger is supposed to do.
For example, “ Constant ” and “Google Analytics Settings” are common variables.
They are both used to define Google Analytics hungary phone data account identifiers (i.e. "Tracking ID" in Universal Analytics and "Measurement ID" in GA4).
Each time you create a Google Analytics tag, you must enter your tracking or measurement ID.
This can be a tedious process, as most of us don't remember these credentials.
But to make things simpler, you can create a variable that stores your ID.
Then, whenever you create a new tag that requires this information, you simply attach the variable you created.
Google Tag Manager Variable Tab
Examples of Variables
Constant
Google Analytics Settings
Click URL
Click ID
Here are some of the most common variables
-
- Posts: 90
- Joined: Thu Dec 26, 2024 4:53 am