Creating tag rules
Use this procedure to create tag rules that specify when tags in your page groups execute.
About this task
For segment-based tag rules, there are specific requirements you must meet to ensure that segments can be correctly evaluated. For details, see Segments.
Procedure
- On the Create New Page Group or Edit Page Group page for the page group you are defining, click the Tag Rules tab.
- Click Criteria and select the criterion on which your first tag rule is based.
- Specify the details of the tag rule, and select the tags to which you want this rule to apply.
- Click Create Rule when you finish defining your tag rule. The defined rule that is shown under Tag Rules Summary.
- Create as many tag rules as you want, clicking Create Rule after you finish defining each rule.
- Click Save.
Results
Execution order for Digital Data Exchange
page group assets:
- Any external libraries, if they are included.
- Any code snippets, if they are included.
- Any native Digital Analytic tags. These tags execute in the same order they appear in the tag list of the page group.
Even though these external libraries, code snippets, and tags are included in the target website page in the order they are listed in the Digital Data Exchange interface, they may not complete in the same order.