---
title: Create an Audience with Abandoned cart customers
slug: tesco-mobile-hol-2025/create-an-audience-with-abandoned-cart-customers
description: >-
docTags: 
createdAt: 2024-01-30T22:33:31.221Z
---

In this exercise, you’ll create an audience by making use of Adobe Experience Platform’s Audience Builder and Dynamic Variables.

## Audience Overview

:::hint{type="info"}
To log into the Adobe Experience Platform, check the [Welcome!](docId\:EBLj9S37kQWOUQgEWnQBf) section
:::

To get an overview of available audiences in Adobe Experience Platform:

1. In the menu on the left side, click on **Audiences**. You will see a dashboard overview with information on a specific audience.
2. Click on **Browse** at the tab bar. You will see an overview of all existing audiences.

## Create an Audience for Abandoned carts

We want to create a rule that will select all customer profiles that have added any product to the cart, but not purchased in the last 24 hours. Tesco mobile want to retarget these customers with offers for on top of the items in the cart.

To do this, we need to use Dynamic Variables in our audience definition. Dynamic variables solve the scalability problems marketers face when building audiences for campaigns.&#x20;

Unlike static audience rules which require you to explicitly capture every possible use case, Dynamic Variables can be used to build the rule logic and dynamically express relationships.

### Add  events

1. Click on **+ Create Audience**. This will open the Create Audience popup.
2. Select **Build Rule** as the create method. This will open the Rule Builder.

To define our audience:&#x20;

1. Select the **Events** tab in the Fields section.
2. Search for **Commerce Product**.
3. Drag the **Product List Adds** Event Type onto the canvas.

![](https://api.archbee.com/api/optimize/6H6rknlvdVrktAepVnpsA-llcnrLDasZoHsnBy78nLR-20250708-121235.png)

Now we want to add a second condition to look for profiles who have **not** made a purchase.

1. Select the **Events** tab in the Fields section.
2. Search for **Purchases**
3. Drag the **Commerce Purchases** Event Type onto the canvas, to the right of the Product List Adds event.&#x20;

Your audience definition should look like:&#x20;

![](https://api.archbee.com/api/optimize/6H6rknlvdVrktAepVnpsA-saepMOjQagDTd-rz8Over-20250708-121602.png)

1. To restrict the time period between Product List Adds and Purchases, select the **anytime** drop down.
2. Change the condition to **In Last 1 Day(s).**

::Image[]{src="https://api.archbee.com/api/optimize/6H6rknlvdVrktAepVnpsA-PylwTyZIZXuFvfGgBhe8Q-20250708-121743.png" size="62" width="872" height="782" position="center" showCaption="false"}

:::hint{type="warning"}
**IMPORTANT**: if you have used the search text box, clean the content by click the X icon on the right of the search text box.
:::

### Add dynamic variable

Now, we want to add a third condition that will ensure audience qualification only occurs when the two events reference the same product SKU.

This is our **Dynamic Variable.**

:::hint{type="info"}
**IMPORTANT**: for this part of the exercise **DON'T USE** the search text box. Navigate the folders tree to find the fields, as described in the guide.
:::

1. Select the Purchases event in the canvas by clicking on it. You’ll know you’ve done this correctly when the square has a blue border.
2. Select the **Events** tab in the Fields section.
3. From the **Browse variables** section (the box below Event Types)**,** select **Purchases >&#x20;**&#x74;hen select **Product List items >**  then **SKU**.
4. Drag **SKU** onto the canvas into the **Event Rules** section, where is says **Add event field.**&#x20;

Your audience should look like:&#x20;

![](https://api.archbee.com/api/optimize/6H6rknlvdVrktAepVnpsA-DxJVwpAtMzWpKdwe8OxIX-20250708-122044.png)

We need to compare the Product SKU of the Product List Add event to the Product SKU of the Purchases event.&#x20;

- Select the **Events** tab in the Fields section.
- From the **Browse variables** section (the box below Event Types), select **Product List Adds >&#x20;**&#x74;hen select **Product List items >**  then **SKU**.

![](https://api.archbee.com/api/optimize/6H6rknlvdVrktAepVnpsA-RpG35A3zmwOi0s1jN0A4j-20250708-123712.png)



- Drag **SKU** onto the canvas into the **Event Rules** section, into the **Equals** condition text box.
- As you drag the **SKU** over the text box you'll be given the option to **Compare Operands.**
- Drop the SKU into this area.

![](https://api.archbee.com/api/optimize/6H6rknlvdVrktAepVnpsA-37qAfUnBmNFe0gxkd0zKZ-20250708-124731.png)

### Add the exclusion

The final thing we want to do is add an exclusion rule to the Purchase event, since we want to only include customers who have **not** purchased the product.

- Click on the **Purchases** event.
- In the Event Rule, select the **include** drop down and change this to **exclude**.

Your final audience definition should look like:&#x20;

![](https://api.archbee.com/api/optimize/6H6rknlvdVrktAepVnpsA-QQv9ln9m06wy_jB6j20kq-20250708-124909.png)

### Publish the audience

Let's publish our audience.

1. Enter a **Name** for your audience using the following naming convention, e.g. `[your name] - Abandoned Carts`.
2. (optional) Enter a **Description**.
3. Select **Streaming** from the **Evaluation method** dropdown list.
4. Click on **Publish**.

You will be taken to the **Audience summary** screen, outlining your audience definition.

:::hint{type="success"}
​You have successfully created a Dynamic Audience.
:::

