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:
- To specify the type of your definition, specify whether you want the build an include or exclude definition. Select
- 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.
To add a component:
- 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
- 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.
- 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
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.
- To add a container, select Add container from
- 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
You can use
Container action | Description |
---|---|
Add container | Add a nested container to the container. |
Exclude | Exclude the result from the container in the filter definition. A thin red left bar identifies an exclude container. |
Include | Include the result from the container in the filter definition. Include is the default. A thin gray left bar identifies an include container. |
Name container | Rename the container from its default description. Type a name in the text field. If you provide no input, the default description is used. |
Delete container | Delete the container from the definition. |