# Popular audiences

Explore the most common audiences across different use cases.

The list below is a compilation of the most common audiences across different use cases in our user base.

> **Question: How to combine two or more criteria?**
>
> You can combine two or more criteria using [and](/reference/cql/expressions/operations/logical/and) and [not](/reference/cql/expressions/operations/logical/not) operators:
>
> ```cql
> location's state's code is "NY" and cart's total is greater than 100
> ```
>
> ```cql
> campaign's name matches "remarketing" or user is returning
> ```
>
> If you want to negate a condition, use the [not](/reference/cql/expressions/operations/logical/not) operator:
>
> ```cql
> user is not returning
> ```
>
> ```cql
> device's category is not "bot”
> ```

## Marketing campaign

Target users based on the marketing campaigns that the user engaged with.

```cql
campaign's medium is "cpc"
```

```cql
campaign's source is "google"
```

```cql
campaign's name matches "sale"
```

```cql
campaign's content matches "discount"
```

```cql
campaign's term matches "personalization"
```

```cql
user has viewed a campaign in the last month
```

## Location

Target users based on the current geographic location of the user.

```cql
location's city's name is "New York"
```

```cql
location's city's name is in ["New York", "Los Angeles"]
```

```cql
location's state's code is "NY"
```

```cql
location's state's code is in ["NY", "CA"]
```

For more information, check the [Location variables](/reference/cql/context#location).

## Technology

Target users based on the devices and technologies they use.

```cql
device's category is "mobile"
```

```cql
device's category is "desktop"
```

```cql
device's category is not "bot"
```

```cql
device's name matches "iPhone"
```

```cql
device's os matches "Windows"
```

```cql
device's vendor matches "Apple"
```

For more information, check the [Technology variables](/reference/cql/context#technology).

## Session

Target users based on the current session.

```cql
session is starting
```

```cql
user's stats' sessions is greater than 3
```

```cql
session's landingPage matches "something"
```

```cql
session's landingPage ends with "something"
```

```cql
session's landingPage starts with "https://example.com/something"
```

```cql
session's referrer matches "something"
```

For more information, refer to [Session variables](/reference/cql/context#session).

## Interests

Target users based on declared or inferred interests.

> **Data collection required**
>
> To use this information, you must [track user interests](/reference/event/types/engagement/interest-shown).

```cql
user has shown interest in ["shoes", "clothes"]
```

```cql
user has not shown interest in "clothes"
```

```cql
user has shown interest in "shoes" yesterday
```

## Activities

Target users based on the activities they have performed in your application.

> **Data collection required**
>
> To use this information, you must [track user activities](/reference/event/types/user-account/user-profile-changed).

```cql
user's activities includes "login"
```

```cql
some activity in user's activities satisfies activity matches "login"
```

## Goal

Target users based on the goals they have completed in your application.

> **Data collection required**
>
> To use this information, you must [track goal completed](/reference/event/types/engagement/goal-completed).

```cql
user has completed goal "checkout-started"
```

```cql
user has completed goal "cta-clicked" exactly 3 times
```

## User

Target users based on whether they are returning or new users.

```cql
user is returning
```

```cql
user is not returning
```

Target users based on whether they are logged in or has signed up.

> **Data collection required**
>
> To use this information, you must track [User signed up](/reference/event/types/user-account/user-signed-up), [User signed in](/reference/event/types/user-account/user-signed-in), and [User signed out](/reference/event/types/user-account/user-signed-out) events. Otherwise, the user is always treated as [anonymous](/explanation/application/anonymity-scope).

```cql
user is anonymous
```

```cql
user is identified
```

```cql
user has signed up
```

Target users based on the [user profile](/explanation/user-profiles/introduction).

> **Data collection required**
>
> To use this information, you must [collect user profile data](/reference/event/types/user-account/user-profile-changed).

```cql
user's email is not known
```

```cql
user's company is defined
```

```cql
user's age is greater than 21
```

```cql
user's something is "something"
```

For the full list of supported user profile variables, refer to the [User Profile variables](/reference/cql/context#user).

## Navigation

Target users based on the journey they have taken through your application.

```cql
page's path matches "/products"
```

```cql
page's url matches "/pricing"
```

```cql
page's referrer starts with "https://example.com"
```

```cql
user has viewed a page with path "/pricing"
```

For more details, refer to [Page variables](/reference/cql/context#navigation).

## Shopping cart

Target users based on shopping cart information.

> **Data collection required**
>
> To use this information, you must track [Cart Viewed](/reference/event/types/ecommerce/cart-viewed), [Cart Modified](/reference/event/types/ecommerce/cart-modified), and [Checkout Started](/reference/event/types/ecommerce/checkout-started) events.

```cql
cart is empty
```

```cql
cart's total is greater than 100
```

```cql
cart's total is between 100 and 150
```

```cql
count of cart's items is greater than 3
```

```cql
some item in cart's items satisfies item's name matches "t-shirt"
```

```cql
no item in cart's items satisfies item's name matches "t-shirt"
```

```cql
user has abandoned a cart at least 2 times
```

```cql
user has abandoned a product yesterday
```

For more details, refer to [Cart variables](/reference/cql/context#shopping).

## Order

Target users based on their purchase history.

> **Data collection required**
>
> To use this information, you must track the [Order placed](/reference/event/types/ecommerce/order-placed) event.

```cql
user's stats' orders is not 0
```

```cql
user's stats' orders is 0
```

```cql
user has ordered a product exactly 3 times
```

## Explore

- [Examples](examples/): Explore examples of audiences for different use cases.
- [CQL](/reference/cql/syntax): Get the basics on how to write conditions to define audiences.
