How to restrict the triggering of a client-side tag?
It is sometimes essential to create strict rules so that your tags only run under certain conditions Not all tags must be active on all pages.
Last updated
It is sometimes essential to create strict rules so that your tags only run under certain conditions Not all tags must be active on all pages.
Last updated
Go to the Tag edit tab and select the tag I want to restrict
Click on the + button to add a rule (perimeter or constraint)
Choose the type of constraint/perimeter you want and fill in the fields with the values corresponding to the logic of what you want to do (for example if my page_name variable is equal to page_basket)
Register the tag and generate the container
Deploy the container in pre-production to ensure that it is functional before going into production
If the recipe is validated, deploy the container to production.