Creating and applying tag rules

This reference outlines how to create and apply tag rules.

Introduction

Create tag rules to add tags to a data extract. A tag is a new value set by the user. Tag rules search for a given dimension value, and then add a tag to a new dimension or update an existing dimension value.

Adverity does not allow you to create rules for a workspace group. Rules can only be applied to a workspace.

Accessing the Tag Rules page

To access the Tag Rules page, follow these steps:

  1. In the platform navigation menu, click Explore.

  2. Select the workspace you work with in Explore & Present.

  3. Enter workspace administration.

  4. In the left navigation panel, click Tag Rules.

Creating Tag rules

To create a tag rule, follow these steps:

  1. In the top right corner of the Tag Rules page, click Create/Apply Tag Rule.

  2. In Filter Dataset by Date, choose the date range to which the rule is applied.

  3. (Optional) In Filter Dataset by Dimensions and Tags, add a filter to include or exclude data from the rule based on their dimension value.

    To load existing Dimension filters, click Load and select the existing filter.

    To add a dimension filter to the rule, follow these steps:

    1. Click Add Dimension Filter.

    2. In the Dimension Filter pop-up window, fill the following fields:

      Choose dimension

      Select the dimension used in the filter.

      Filter by

      (Optional) Select the dimension values used in the filter search criteria. By default, the is operator is applied to the selected dimension value. This means the selected value must be an exact match. To change the operator to contains, starts with, or ends with, click on the is operator. An example of the is operator is shown in the figure.

      A dimension filter with the is operator applied to the selected dimension value.

      + Add Dimension Filter

      (Optional) To add another dimension value to the filter search criteria. Filters with multiple dimension filters use AND logic. This means only the dimension values that match all the filters are included in the rule.

      Exclude

      (Optional) To exclude the selected dimension values from the filter, select the Exclude checkbox.

    3. To create the Dimension Filter, click OK.

  1. In Define Tag Rules for {Number} matched datasets (where {Number} is the number of datasets within the chosen date range that also match the dimension filter criteria), define the criteria for the tag rule. Fill in the following fields:

    For source dimension

    Select the dimension for which the tag rule will search.

    If value contains:

    Enter the dimension value for which the tag rule will search. To use regular expressions in this field, select the Regexp? checkbox.

    Then put value (tag)

    Enter the new value (or tag) to populate the target dimension. The target dimension can be an existing dimension or a new dimension.

    Into target dimension

    Select the dimension populated with the tag. To add the tag to a new dimension, follow these steps:

    1. In the Into target dimension field, click Delete next to the name of the selected dimension.

    2. In the activated or enter new dimension field, enter the name of the new dimension populated with the tag.

    Add another rule

    (Optional) To add another rule to a ruleset, click Add another rule and populate the fields.

  1. (Optional) To add another ruleset to the rule, click Add another Ruleset.

  1. Choose one of the following options:

    1. To create the rule without applying it to the dataset, follow these steps:

      1. Click Save as....

      2. In the Rule pop-pop window, in the Name field, provide the name of the tag rule.

      3. Click OK.

    2. To apply the rule to the dataset, click Apply this tag rule now. A progress bar appears at the bottom of the page. Once the rule has been completed a success message appears.

Applying an existing tag rule

To apply an existing tag rule to a workspace, follow these steps:

  1. Find the existing tag rule to apply in the Tag Rules page and click Edit.

  2. At the bottom of the page, click Apply this tag rule now.

A progress bar appears at the bottom of the page. Once the rule has been completed, a success message is displayed.

Updating and deleting a tag rule

To update or delete a tag rule, follow these steps:

  1. Find the existing tag rule to update or delete in the Tag Rules page and click Edit.

  2. To update the existing tag rule, update the fields in the page and click Save.

  3. To delete the existing tag rule, click Delete.

A confirmation message does not appear when you click Delete, be sure you want to delete a rule before clicking Delete.