Firing triggers and trigger exceptions
Firing triggers tell tags when to fire. A tag will fire when the conditions for any one of its triggers are met. For example, if a tag has two triggers, one for all pages and another for only one specific page, the tag will always fire on all pages.
Triggers are set at the bottom of any tag configuration page. When a tag is created, you will be prompted to add a trigger to the tag configuration before the tag can be saved.
A trigger exception (also known as a "blocking trigger") is a kind of trigger that can be used to block another trigger's ability to fire under certain conditions. For example, if a tag has a trigger to fire on all pages and a trigger exception that is set to "Page URL equals thankyou.html", the tag will never fire on the page "thankyou.html".
To add or remove a trigger from a tag configuration, or to create an exception:
- Click Tags in the left navigation.
- Click the name of the tag you would like to edit.
- Click Triggering.
- To add a trigger, click Add in the Firing Triggers section.
- To remove a trigger, click Remove next to the trigger that you would like to remove from the Firing Triggers section.
- To add a trigger exception, click Add in the Exceptions section.
- To remove a trigger exception, click Remove next to the entry that you would like to remove from the Exceptions section.