Notification

G Suite is now Google Workspace: everything your business needs to get work done.

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".

When you use advanced Tag Sequencing settings, the tag ignores its own triggers and instead fires as part of the sequence.

To add or remove a trigger from a tag configuration, or to create an exception:

  1. Click Tags in the left navigation.
  2. Click the name of the tag you would like to edit.
  3. Click Triggering.
    • To add a trigger, click AddAdd in the Firing Triggers section.
    • To remove a trigger, click RemoveRemove next to the trigger that you would like to remove from the Firing Triggers section.
    • To add a trigger exception, click AddAdd in the Exceptions section.
    • To remove a trigger exception, click RemoveRemove next to the entry that you would like to remove from the Exceptions section.

Related resources

Was this helpful?

How can we improve it?
Search
Clear search
Close search
Main menu
10421322840534737056
true
Search Help Centre
true
true
true
true
true
102259
false
false