---
title: Manage behaviors
slug: data-platform/docs/manage-behaviors
docTags: 
createdAt: 2026-08-10T12:05:17.000Z
---

:::hint{type="info"}
**Note**

The terms *audiences* and *segments* are interchangeable. Optimizely has updated all *segments* to *audiences* on the **Audiences** page and is updating the UI on other pages. See  [Understand audiences](docId\:v-gHiL9jfINBey-4QNtFM) to get information on audiences.
:::

Behaviors are a series of customer actions that model how customers interact with your brand. Optimizely Data Platform (ODP) views them as a set of specific expressions in a particular order, such as cart abandonment:

1. The customer added an item to their cart within the last day.
2. The customer did not remove that item from their cart.
3. The customer did not purchase that item.

Behaviors are used to create audiences ([standard](docId\:NANHdxpeOJqww6o4qGffi) or [real-time](docId\:chCPcgJQ5k5t6nUgnnd43)) or to populate [dynamic grids](docId:8uSj7RnC-NbUtGPO_arPM) in campaigns.

## Create a behavior

1. Go to **Data Setup** > **Behaviors**.
2. Click **New Behavior**.

::Image[]{src="https://api.archbee.com/api/optimize/BrbvVORKJ5iIeSMZye5kI/4tZTv9bQNLvs1jAGDv1gN-20260720-145728.png" size="90" isUploading="false" width="1239" height="366" darkWidth="1239" darkHeight="366" showCaption="false"}

3. Enter a name for the behavior.

::Image[]{src="https://api.archbee.com/api/optimize/BrbvVORKJ5iIeSMZye5kI/LtqgmYdIBCzvFLvPfspe_-20260720-145728.png" size="90" isUploading="false" width="910" height="196" darkWidth="910" darkHeight="196" showCaption="false"}

4. Add the desired steps.
   **Example behavior: Cart Abandonment**

::Image[]{src="https://api.archbee.com/api/optimize/BrbvVORKJ5iIeSMZye5kI/Mkuqyp7L4hphYQBNmeVLA-20260720-145728.png" size="90" isUploading="false" width="1088" height="314" darkWidth="1088" darkHeight="314" showCaption="false"}

:::Paragraph{listStyleType="decimal" indent="2"}
The customer added an item to their cart within the last day. The step syntax is "Everyone who matched Product Add to Cart at least 1 time in the last 1 days."
:::

::Image[]{src="https://api.archbee.com/api/optimize/BrbvVORKJ5iIeSMZye5kI/CeguoeRYGzIzDtamhFC2r-20260720-145728.png" size="100" width="760" height="44" isUploading="false" darkWidth="760" darkHeight="44" showCaption="false" indent="2"}

:::Paragraph{listStyleType="decimal" listStart="2" listRestartPolite="2" indent="2"}
The customer did not remove that item from their cart. The step syntax is "and then did not match Product Remove from Cart linked to Step 1 with same Product Id for all time."
:::

::Image[]{src="https://api.archbee.com/api/optimize/BrbvVORKJ5iIeSMZye5kI/fiVGzTuOz_NBfRF2KRIz0-20260720-145728.png" size="100" width="760" height="42" isUploading="false" darkWidth="760" darkHeight="42" showCaption="false" indent="2"}

:::Paragraph{listStyleType="decimal" listStart="3" listRestartPolite="3" indent="2"}
The customer did not purchase that item. The step syntax is "and then did not match Order Item Purchase linked to Step 1 with same Product Id for all time."
:::

::Image[]{src="https://api.archbee.com/api/optimize/BrbvVORKJ5iIeSMZye5kI/MRJ7U6qfH2GfZQ9QxOXbp-20260720-145728.png" size="100" width="761" height="42" isUploading="false" darkWidth="761" darkHeight="42" showCaption="false" indent="2"}

5. Click **Save**.

## Apply a behavior

:::hint{type="info"}
**Note**

Email and SMS channels are legacy features and not offered to new customers.
:::

You can apply behaviors to audiences or dynamic grids to affect the content that those elements reference (like campaign emails).

### Apply behavior to a standard audience

1. Go to **Customers** > **Audiences**.
2. Create an audience or [edit an existing audience](docId\:NANHdxpeOJqww6o4qGffi).
3. Create or add a **Customers who have done something** or **Customers who have not done something** audience expression.
4. Search for the desired behavior and provide any additional required information.
5. Click **Save**.

### Apply behavior to a dynamic grid

1. Go to **Activations > Overview**.
2. [Create a campaign](docId\:DKxtgWwkAXLkkLOufg8mT) or edit an existing campaign.
3. Add or edit an email touchpoint.
4. Add or edit a dynamic grid and select the desired behavior as the **Source**.
5. Click **Save** to apply the behavior to the grid.

## Edit a behavior

1. Go to **Data Setup** > **Behaviors**.
2. Locate the behavior you want to edit and click the **Edit** icon. 
3. Make the desired changes and click **Save**.

## Delete a behavior

1. Go to **Data Setup > Behaviors**.
2. Locate the behavior you want to delete and click the **Delete** icon.
3. Click **Delete** to confirm the deletion.

## Copy or share a behavior

You can copy or share the structure of a behavior between ODP accounts to use the same behavior in each.

1. Go to **Data Setup** > **Behaviors**.
2. Locate the behavior you want to share and click the **Copy** icon.
3. Select the **Account** and **Scope** with which you want to share the behavior. To create a copy instead, select the current account and scope.
4. Click **Copy** to confirm.

If you are copying a behavior, the edit view of that behavior displays after you click **Copy**. You must enter a name for the behavior, make any desired edits to the steps, and click **Save**.

If you are sharing a behavior, a confirmation message displays. Go to the account and scope to access the shared behavior.

## Use product behavior to encourage a purchase

In ODP, how customers interact with your products is considered a [behavior](docId:8wk10DD3yd2H4V7wDC8LM). This can help identify specific products with which a customer has interacted. This topic explains how to access and use the information from these behaviors to personalize your content.

The following example uses a *browse abandonment campaign* to show how to use product behaviors. Customers land on the website, view product pages, but leave without adding any items to their cart. The goal is to have the campaign remind them of some of the items that they viewed and encourage a purchase decision. 

Use a **Dynamic Grid** element to highlight these recently viewed items in a campaign email.

1. Go to **Activations > Overview**.
2. [Create a campaign](docId\:DKxtgWwkAXLkkLOufg8mT) or edit an existing campaign.
3. Add or edit an email touchpoint.
4. Drag and drop a **Dynamic Grid** into your web content from **Elements > Layout**.

   ![](https://api.archbee.com/api/optimize/BrbvVORKJ5iIeSMZye5kI/TFaWreFEQcB7Ii4av4keS-20260720-145728.png)
5. Select the desired behavior as the **Source**, like *Browse Abandonment*.
6. Set the [Timeframe](docId\:yaHSAzF4xWCEX_F0apquH).
7. Click **Save**.

   ::Image[]{src="https://api.archbee.com/api/optimize/BrbvVORKJ5iIeSMZye5kI/ZwyuUCe5QWQGxTqMNI7PN-20260720-145728.png" size="80" isUploading="false" showCaption="false" width="495" height="267" darkWidth="495" darkHeight="267" position="flex-start"}

You can change these settings after placing the dynamic grid. Select the grid, go to the **Details** tab, and click the **Content** value.

::Image[]{src="https://api.archbee.com/api/optimize/BrbvVORKJ5iIeSMZye5kI/XmjWNqQTA7BK6t6Un24ms-20260720-145728.png" size="60" isUploading="false" showCaption="false" width="294" height="272" darkWidth="294" darkHeight="272" position="flex-start" indent="2"}

### More dynamic grid options

While editing the dynamic grid's settings, you can expand **More Options** to reveal more controls for the content and the grid.

::Image[]{src="https://api.archbee.com/api/optimize/BrbvVORKJ5iIeSMZye5kI/94bih8RwgWAgIZY4WR71z-20260720-145728.png" size="70" width="492" height="492" isUploading="false" darkWidth="492" darkHeight="492" position="flex-start" showCaption="false"}

- **Object Feed** – Select the object that you want to show in the dynamic grid.
- **Item Variable** – Enter the specific object variable that you want to display in the dynamic grid.
- **Sort** – Select the order of the products in the dynamic grid.
  - **Most Frequently Engaged** – Products that customers interact with (view, purchase, and so on) most often.
  - **Most Recent** – The newest products in your product feed.
- **Require that customers match source behavior to receive campaign** – Toggle on to only include customers that match the behavior you selected as the **Source**.

You can also find more dynamic grid options by clicking the dynamic grid in the editor and going to the **Details** tab.

::Image[]{src="https://api.archbee.com/api/optimize/BrbvVORKJ5iIeSMZye5kI/m2CkJ_zdkqiucMWHrVrAo-20260720-145729.png" size="90" width="822" height="1062" isUploading="false" darkWidth="822" darkHeight="1062" showCaption="false"}

- **Item Index Variable** – Name of the variable that has the index of the product in the list of products.
- **Row Index Variable** – Name of the variable that has the index of the row you are rendering in the content.
- **Column Index Variable** – Name of the variable that has the index of the column you are rendering in the content.

## Advanced personalization

For advanced personalization, use custom liquid. You can find the reference material on the [Shopify Liquid website](https://shopify.github.io/liquid/). You should contact your customer success manager before proceeding with advanced personalization. 
