Definition builder

You use the Definition builder to construct your filter definition. In that construction, you use components, containers, operators and logic.

You can configure the type and scope of your definition:

  1. To specify the type of your definition, specify whether you want the build an include or exclude definition. Select Setting Options and from the dropdown toggle Include or Exclude.
  2. To specify the scope of your definition, select from the Include or Exclude dropdown whether you want the scope of the definition to be Event, Session or Person.

You can always change these settings later.

Components

A vital part of the construction of your filter definition is using dimensions, metrics, existing filters and date ranges. All these components are available from the component panel in the Filter builder.

Start building a definition

To add a component:

  1. Drag and drop a component from the components panel onto Drag and drop Metric(s), Filter(s), and/or Dimensions here. You can use the Search in the components bar to search for specific components.
  2. Specify details for the component. For example, select a value from Select value. Or enter a value. What and how you can specify one or more values depends on the component and the operator.
  3. Optionally modify the default operator. For example, from equals to equals any of. See Operators for a detailed overview of the available operators.

To edit a component:

  • Select a new operator for the component from the operator dropdown menu.
  • Select or specify a different value for the operator if appropriate.
  • If the component type is a dimension, you can define the attribution model. See Attribution model for more information.

To delete a component:

  • Select CrossSize75 in a component.

Containers

You can group multiple components in one or more containers and define logic within and between containers. Containers allow you to build complex definitions for your filter.

Add a container

  • To add a container, select Add container from Setting Options.
  • To add an existing component to the container, drag and drop the component into the container.
  • To add another component to the container, drag and drop a component from the component panel into the container. Use the blue insertion line as a guide.
  • To add another component outside of the container, drag and drop a component from the component panel outside of the container, but inside the main definition container. User the blue insertion line as a guide.
  • To modify the logic between components in a container, between containers or between a container and a component, select the appropriate And, Or, Then. When you select Then, you turn the filter into a sequential filter. See Create sequential filter for more information.
  • To switch the container level, select WebPage Event, Visit Session or User Person.

You can use Setting in a container for the following actions:

Container actionDescription
Add containerAdd a nested container to the container.
ExcludeExclude the result from the container in the filter definition. A thin red left bar identifies an exclude container.
IncludeInclude the result from the container in the filter definition. Include is the default. A thin gray left bar identifies an include container.
Name containerRename the container from its default description. Type a name in the text field. If you provide no input, the default description is used.
Delete containerDelete the container from the definition.