Skip to main content
NoteThis page contains large tables. To improve readability, collapse the left panel.
This section helps you understand the different operators to be used while working with the attributes and building the audience.

Logical Operators: AND/OR/NOT

Operators Based on Data Types

Logical Operators: AND/OR/NOT

Logical operators help in defining conditions for audience segmentation.

Example: Segmenting Users Based on Conditions

To better understand these operators, let’s consider an example with two conditions:
  • Condition A – The customer is of the gender male
  • Condition B – The customer has performed an event in the last 15 days

Operators Based on Data Types

When applying attributes, use the different data types accepted by the system to provide values for the fields. For example, when providing customer information such as gender, you can only input a string value like male or female. Below, you can find information about the different data types and the operators available for the them in the system.

String Operators

String values store textual information, such as gender (for example “male” or “female”) or city (for example, “New York,” “London”). The following table explains how different string operators work with examples:

Integer Operators

Integer values represent whole numbers such as age, purchase count, or event occurrences. The following table explains how different integer operators work with examples:

List of Objects (LOO) Operators

List of Objects (LOO) operators apply when an attribute contains multiple values, such as a list of purchased products, visited locations, or transaction records. The following table explains how different List of Object operators work with examples:

Object/Non-Customer Data (NCE) Operators

Object/NCE Operators In Profile Attributes

When using Object attributes or Non-Customer Entities (NCE) in audience segmentation, you must specify the relevant properties or attributes in the audience criteria. The available operators depend on the data type of these properties, such as String or Integer.

How It Works

  • If you select an Object, include its properties in the audience criteria.
  • If you select an NCE, include its attributes in the audience criteria.
  • Operators vary based on the data type of the chosen properties or attributes.

Object/NCE Operators In Calculated Attributes

When Objects or Non-Customer Entity (NCE) attributes are used in Calculated Attributes, the ANY or ALL operators are available. Based on the data type (String or integer) of the selected Object property or the NCE attribute, different operators are displayed as shown below.

Event Based Operators

Event operators define conditions for audience segmentation based on Event Attributes. Depending on whether you choose Event Name or Event Properties, different operators apply.

Example Scenario

A company tracks user interactions as events. The Event Name could be “Purchase,” “Login,” or “Add to Cart,” while Event Properties could include details like “Category” (Electronics, Clothing, an so on) or “Payment Method” (Credit Card, PayPal, and so on).

Timestamp Operators

Timestamp operators filter users based on when an event occurred. These operators apply after selecting an Event Attribute (such as “Add to Cart,” “View Page,” or “Checkout”).

Example Scenario

A company tracks customer interactions using events like “Purchase”, “Login”, and “Abandoned Cart”. The system records a timestamp for each event. Consent operators filter customers based on their consent status. These operators help segment users based on whether they have agreed to data processing or other terms.

Marketing Preference Operators

Marketing preference operators filter customers based on their opt-in status for marketing communications.

Create an Audience

Apply Attributes to Your Audience

Activate Your Audience

Last modified on February 26, 2026