> ## Documentation Index
> Fetch the complete documentation index at: https://docs.zeotap.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Apply Attributes to Your Audience

> In this section, you can leverage the available attribute types to define your audience and create the optimal marketing strategy for them. The attribute types include Profile attributes, Calculated attributes, Events, Marketing preferences, Consent information and more.

For example, if you wish to target a particular group of customers who are over 18 years old, who abandoned their cart. However, they displayed an interest in another product category. In this case, you can define this Audience using the attributes available in the product. Subsequently, target them with a personalised email campaign and encourage them to finalise their purchase.

<Note>
  **Note:**

  You can create conditional blocks using the [AND/OR/NOT Operators](/articles/segment-customer/work-with-operators#logical-operators-and/or/not) based on your use case. For more information about the operators
  available in Audience, refer [here](/articles/segment-customer/work-with-operators).
</Note>

## Understanding the Attributes

This section provides an overview of each attribute type offered in the system to help you define your audience. The following are the Attributes available in Audience:

<CardGroup>
  <Card title="Profile Attributes" href="/articles/segment-customer/apply-attributes-to-your-audience#profile-attributes" icon="angles-right" iconType="solid" horizontal={true} />

  <Card title="Calculated Attributes" href="/articles/segment-customer/apply-attributes-to-your-audience#calculated-attributes" icon="angles-right" iconType="solid" horizontal={true} />

  <Card title="Events" href="/articles/segment-customer/apply-attributes-to-your-audience#events" icon="angles-right" iconType="solid" horizontal={true} />

  <Card title="Marketing Preference" href="/articles/segment-customer/apply-attributes-to-your-audience#marketing-preference" icon="angles-right" iconType="solid" horizontal={true} />

  <Card title="Identifiers" href="/articles/segment-customer/apply-attributes-to-your-audience#identifiers" icon="angles-right" iconType="solid" horizontal={true} />

  <Card title="Consent" href="/articles/segment-customer/apply-attributes-to-your-audience#consent" icon="angles-right" iconType="solid" horizontal={true} />

  <Card title="NCE Attributes" href="/articles/segment-customer/apply-attributes-to-your-audience#nce-attributes" icon="angles-right" iconType="solid" horizontal={true} />

  <Card title="Objects/List of Objects" href="/articles/segment-customer/apply-attributes-to-your-audience#list-of-objects" icon="angles-right" iconType="solid" horizontal={true} />
</CardGroup>

## Profile Attributes

Profile Attributes describe the customer and remain constant over time. Note that all the Product Traits such as brand, product category, size, colour, price and User Traits such as gender, age, location, budget are considered as Profile Attributes. It stores only one value per attribute. Hence, a new value always overrides the existing value after ID resolution.

<Frame>
  <img src="https://mintcdn.com/zeotap/JyJn8IMggoN-gnle/articles/segment-customer/Storage/segment-customer/create-a-new-destination/apply_2.png?fit=max&auto=format&n=JyJn8IMggoN-gnle&q=85&s=7aeb93d08f05dafc662a06d561fdc56c" alt="" width="3384" height="1348" data-path="articles/segment-customer/Storage/segment-customer/create-a-new-destination/apply_2.png" />
</Frame>

## Calculated Attributes

Calculated Attributes allow you to derive user-level insights by aggregating your customers' isolated actions. You can then use this data to create powerful cohort of customers/Audience. Create new attributes for a user by aggregating their event data over a specific time period.

**Example**

Let’s say you wish to create an Audience whose  `first _timestamp` falls within the previous 14 days, whose `sum_of_shopping_cart_value` exceeds 5000 Euros and their `maximum_closer_time` for all transactions is less than 15 minutes. To achieve this, use the Calculated attribute to set the criteria and add the properties as shown in the image below.

<Note>
  **Note:**

  *To know more about calculated attributes, refer to [Working with Calculate Attributes](/articles/unify-customer/working-with-calculated-attributes).*
</Note>

<Frame>
  <img src="https://mintcdn.com/zeotap/QFYgFx4ZK83K8ri-/articles/segment-customer/Storage/segment-customer/apply-attributes-to-your-audience/apply-attributes-to-your-audience-2023-07-05-1.png?fit=max&auto=format&n=QFYgFx4ZK83K8ri-&q=85&s=96cfc227b16052a1aff08eb5dfa42793" alt="" width="1742" height="788" data-path="articles/segment-customer/Storage/segment-customer/apply-attributes-to-your-audience/apply-attributes-to-your-audience-2023-07-05-1.png" />
</Frame>

## Events

The Events attribute allows you to capture the event types based on **event\_name** and **event\_timestamp** that are mapped in the catalogue while ingesting the source. Note that the **event\_name** is filtered first, followed by the **event\_timestamp** as shown in the conditional block below.

The events can include the user action information such as **addToCart**, **pageView** and so on. This attribute stores time series information. Hence, the information is only appended against a user profile after ID resolution.

**Example**

Let’s say you wish to create an audience that comprises of customers who have recently viewed a product and added it to their cart. To achieve this, use the Events attribute to set the criteria and add the events properties as shown in the image below.

* A customer who performed a **page\_view** event within the last 10 days, indicating an active interest in the product.
* A customer who performed an **addToCart** event in the last two days, indicating a higher likelihood of purchase intent.
* The **Product Price** is greater than 100 euros, ensuring the audience is likely to be of higher value.

<Frame>
  <img src="https://mintcdn.com/zeotap/QFYgFx4ZK83K8ri-/articles/segment-customer/Storage/segment-customer/apply-attributes-to-your-audience/apply-attributes-to-your-audience-2023-07-05-3.png?fit=max&auto=format&n=QFYgFx4ZK83K8ri-&q=85&s=ada48708b6e17cdf41dbe145994e7417" alt="" width="3254" height="774" data-path="articles/segment-customer/Storage/segment-customer/apply-attributes-to-your-audience/apply-attributes-to-your-audience-2023-07-05-3.png" />
</Frame>

<br />

<Frame>
  <img src="https://mintcdn.com/zeotap/QFYgFx4ZK83K8ri-/articles/segment-customer/Storage/segment-customer/apply-attributes-to-your-audience/apply-attributes-to-your-audience-2023-07-05-4.png?fit=max&auto=format&n=QFYgFx4ZK83K8ri-&q=85&s=b8b7fb5ebe964dd3d5661d786442bd62" alt="" width="3254" height="710" data-path="articles/segment-customer/Storage/segment-customer/apply-attributes-to-your-audience/apply-attributes-to-your-audience-2023-07-05-4.png" />
</Frame>

## Marketing Preference

The Marketing Preference attribute allows you to capture and store user preferences related to marketing communications. It stores only one value per attribute. Hence, a new value always overrides the existing value after ID resolution.

**Example**

As a marketer, you want to target customers who have given explicit consent to receive your marketing communications, indicating a higher likelihood of engagement. However, their social preferences are unknown. In addition, you want to ensure that the audience is open to receiving ads displayed on your website. In this scenario, you can use the Marketing Preferences attribute to create this audience as shown in the image below. In this way, you can group your audience more accurately, leading to more effective marketing campaigns.

<Frame>
  <img src="https://mintcdn.com/zeotap/JyJn8IMggoN-gnle/articles/segment-customer/Storage/segment-customer/create-a-new-destination/apply_5.png?fit=max&auto=format&n=JyJn8IMggoN-gnle&q=85&s=4a6a14ac00b09bf1da2220ba81c9acc2" alt="" width="3402" height="1330" data-path="articles/segment-customer/Storage/segment-customer/create-a-new-destination/apply_5.png" />
</Frame>

## Identifiers

You can select identifiers such as email addresses, cellphone numbers, MAIDs, cookies and more. You can specify whether these identifiers exist or do not exist for the audience that you are creating. This allows you to accurately group your audience based on the availability of specific identifiers. It stores only one value per ID. Hence, a new value always overrides the existing value after ID resolution. However, there is an exception in the case of the **No. of IDs** feature where more than one value is maintained.

<Frame>
  <img src="https://mintcdn.com/zeotap/JyJn8IMggoN-gnle/articles/segment-customer/Storage/segment-customer/create-a-new-destination/apply_6.png?fit=max&auto=format&n=JyJn8IMggoN-gnle&q=85&s=39aab042be87b7c6d7c2f9afd5e98e74" alt="" width="3388" height="1298" data-path="articles/segment-customer/Storage/segment-customer/create-a-new-destination/apply_6.png" />
</Frame>

## Consent

The Consent Attribute enables you to select the user preferences regarding consent for data processing activities in compliance with GDPR, CCPA and other regulations. It stores only one value per attribute. Hence, a new value always overrides the existing value after ID resolution.

**Example**

You can build a group of customers who have explicitly given consent for their data to be used for personalised advertising in accordance with GDPR. This ensures that you target only those customers who have willingly provided their consent for data processing activities. In addition, it complies with relevant data protection regulations.

<Frame>
  <img src="https://mintcdn.com/zeotap/JyJn8IMggoN-gnle/articles/segment-customer/Storage/segment-customer/create-a-new-destination/apply_7.png?fit=max&auto=format&n=JyJn8IMggoN-gnle&q=85&s=ead000561958c0384bf6055014d132a3" alt="" width="3388" height="1320" data-path="articles/segment-customer/Storage/segment-customer/create-a-new-destination/apply_7.png" />
</Frame>

## Objects and List/Array of Objects

`Objects` and `List(Array) of Objects` are attribute types within the Zeotap Catalogue that can hold a JSON object or array of JSON objects that contains one or more `key-value` pairs, also called *properties*. To better understand the attributes, `Objects` and `Lists of Objects with` use cases, refer [here](/articles/unify-customer/data-types-in-catalogue).

<Note>
  **Note:**

  You can choose Objects and List of Objects for "\* *Profile Attribute* *s" and "* *Event Attributes"* *only.*
</Note>

#### Objects

Let’s say, you wish to use your customers' bank details to define the criteria for your Audience. In this case, you can define the bank details as an `Object` attribute with properties, `Bank code, Bank Name` and` Area code` as shown below.

```json Code theme={null}
Bank Details
{
 Bank Code: "DEUTDEFF",
 Bank Name: "Deutsche Bank",
 Area code: "020"
}
```

To configure this `Object` attribute in Audiences, perform the following steps:

<Steps>
  <Step>
    While defining the criteria for your Audience, choose **profile attributes** using the drop-down menu.
  </Step>

  <Step>
    Under the **Select Attribute** field, find the `Object` attribute, `Bank` along with its properties, `Bank Code, Bank Name` and `Area Code` represented as shown in the image below. Note that the `Object` attribute is identified with the tag OBJ next to the attribute name.

    <Frame>
      <img src="https://mintcdn.com/zeotap/QFYgFx4ZK83K8ri-/articles/segment-customer/Storage/segment-customer/apply-attributes-to-your-audience/apply-attributes-to-your-audience-2024-03-07.png?fit=max&auto=format&n=QFYgFx4ZK83K8ri-&q=85&s=388ad071b3880884a0017580d57b45d8" alt="" width="1414" height="706" data-path="articles/segment-customer/Storage/segment-customer/apply-attributes-to-your-audience/apply-attributes-to-your-audience-2024-03-07.png" />
    </Frame>
  </Step>

  <Step>
    Upon selecting the `Object` attribute, configure the required properties from the available list. All customers who meet this criteria will be included in this Audience.

    <Frame>
      <img src="https://mintcdn.com/zeotap/QFYgFx4ZK83K8ri-/articles/segment-customer/Storage/segment-customer/apply-attributes-to-your-audience/apply-attributes-to-your-audience-2024-03-07-1.png?fit=max&auto=format&n=QFYgFx4ZK83K8ri-&q=85&s=760d1974e41f1ad3ec97f2ad0edda0cd" alt="" width="1472" height="498" data-path="articles/segment-customer/Storage/segment-customer/apply-attributes-to-your-audience/apply-attributes-to-your-audience-2024-03-07-1.png" />
    </Frame>

    <Note>
      **Note:**

      For more information about how the operators work, refer [here](/articles/segment-customer/work-with-operators).
    </Note>
  </Step>
</Steps>

#### List of Objects

`List of Objects` can contain multiple objects, with the same properties. Let’s say you wish to use the brand details of your customers to define the criteria for our Audience. In this case, as brand details can be an array of items, you can define Brand Details as a `List of Objects` attribute with properties, `Brand Name`, `price` , `Category` and so on as shown below.

```json Code theme={null}
Brand Details
[
{
  "BrandName": "Nike",
  "price": "300.00",
  "Category": "Sneaker shoes"
},
{
  "BrandName": "Converse",
  "price": "340.00",
  "Category": "Sneaker shoes"
}
]
```

To configure a List of Object attribute in Audiences, perform the following steps:

<Steps>
  <Step>
    While defining the criteria for your Audience, choose **profile attributes** using the drop-down menu.
  </Step>

  <Step>
    Under the **Select Attribute** field, find the `List of Objects` attribute, `Brand Details` along with properties, `Brand Name`, `Brand Name List` , `Brand Time` and `Brand Price List` as shown the image below. Note that the `List of Objects` attribute is identified with the tag LOBJ next to the attribute name.

    <Frame>
      <img src="https://mintcdn.com/zeotap/QFYgFx4ZK83K8ri-/articles/segment-customer/Storage/segment-customer/apply-attributes-to-your-audience/apply-attributes-to-your-audience-2024-03-07-2.png?fit=max&auto=format&n=QFYgFx4ZK83K8ri-&q=85&s=e13b70aa7b35c68ec0bcaa17b44fae5f" alt="" width="1420" height="740" data-path="articles/segment-customer/Storage/segment-customer/apply-attributes-to-your-audience/apply-attributes-to-your-audience-2024-03-07-2.png" />
    </Frame>
  </Step>

  <Step>
    Upon selecting the `List of Objects` attribute, choose either **ANY** or **ALL** as the operator based on requirement.

    1. **ANY** qualifies customers for your Audience if at least one of the Objects in the list meet the specified conditions.
    2. **ALL** qualifies customers for your Audience only if all the Objects in the list meet the specified conditions.

    <Frame>
      <img src="https://mintcdn.com/zeotap/QFYgFx4ZK83K8ri-/articles/segment-customer/Storage/segment-customer/apply-attributes-to-your-audience/apply-attributes-to-your-audience-2024-03-07-3.png?fit=max&auto=format&n=QFYgFx4ZK83K8ri-&q=85&s=d021690c950f71c05d20fe8e7b97fb96" alt="" width="2134" height="916" data-path="articles/segment-customer/Storage/segment-customer/apply-attributes-to-your-audience/apply-attributes-to-your-audience-2024-03-07-3.png" />
    </Frame>
  </Step>
</Steps>

#### Understand how to use ANY/ALL with an use case

Let’s consider the below example.

Assume that there are two profiles, UCID 1 and UCID 2, with the following purchase history:

**Purchase history of UCID 1**

```json Code theme={null}
[
{
  "Item 1": "Shoes"
  "BrandName": "NIKE",
  "price": "$60",
},
{
  "Item 2": "T-shirt"
  "BrandName": "ADIDAS",
  "price": "$70",
}
]
```

**Purchase history of UCID 2**

```json Code theme={null}
[
{
  "Item 1": "Shoes"
  "BrandName": "NIKE",
  "price": "$90,
},
{
  "Item 2": "T-shirt"
  "BrandName": "NIKE",
  "price": "$60",
}
]
```

In this case, if you choose **ANY**, then both UCID 1 and UCID 2 qualify for the Audience, as they both have objects with the properties, "*Brand Name-Nike"* and "*Price ≥ \$50"*.

If you choose **ALL**, then only UCID 2 qualifies for the Audience, as both its Objects meet the conditions of "*Brand Name-Nike"* and "*Price* *≥ \$50"*.

<Note>
  **Note:**

  In addition to the List of Objects datatype catalogues, the ***Any/All*** operator selection will also be available when choosing a Non-Customer Entity (NCE) catalogue that is joined with a list-type customer catalogue.
</Note>

## Non-Customer Entity (NCE) Data Attributes

You can choose [Non-Customer Entity data](/articles/unify-customer/non-customer-entity-data) (NCE) for [Profile Attributes](/articles/segment-customer/apply-attributes-to-your-audience#profile-attributes), [Events](/articles/segment-customer/apply-attributes-to-your-audience#events) and [Identifiers](/articles/segment-customer/apply-attributes-to-your-audience#identifiers). The NCE attributes are displayed under the `Join Key` of the customer attribute as shown in the image below. Here, the `Demo NCE Source` is the NCE source name, Books is the Join Key and `Book_price` is the NCE attribute name. The NCE tag appears on the attributes for easy identification as shown below. For more information about how to create an NCE attribute and map it to catalogue, refer [here](/articles/unify-customer/map-the-catalogue-for-non-customer-entity-data).

<Frame>
  <img src="https://mintcdn.com/zeotap/QFYgFx4ZK83K8ri-/articles/segment-customer/Storage/segment-customer/apply-attributes-to-your-audience/apply-attributes-to-your-audience-2025-11-19-3.png?fit=max&auto=format&n=QFYgFx4ZK83K8ri-&q=85&s=1415b7e4b09b617b6e8bbb490e2a8100" alt="" width="3274" height="1221" data-path="articles/segment-customer/Storage/segment-customer/apply-attributes-to-your-audience/apply-attributes-to-your-audience-2025-11-19-3.png" />
</Frame>

When an NCE source is joined with a list-type customer attribute, you must select the Any/All operator before choosing the attribute for filtering. For a detailed explanation of how the Any/All operator works, refer [here](#understand-how-to-use-any/all-with-an-use-case).
