Creating tag rules

Use this procedure to create tag rules that specify when tags in your page groups execute.

About this task

A tag must be added to the page group before rules can be defined for that tag. The time zone that is used for any date- and time-based rules is the time zone that is associated with the client ID under which you are logged in.

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

  1. On the Create New Page Group or Edit Page Group page for the page group you are defining, click the Tag Rules tab.
  2. Click Criteria and select the criterion on which your first tag rule is based.
  3. Specify the details of the tag rule, and select the tags to which you want this rule to apply.
  4. Click Create Rule when you finish defining your tag rule. The defined rule that is shown under Tag Rules Summary.
  5. Create as many tag rules as you want, clicking Create Rule after you finish defining each rule.
  6. Click Save.

Results

Execution order for Digital Data Exchange page group assets:
  1. Any external libraries, if they are included.
  2. Any code snippets, if they are included.
  3. 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.