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

# Segment by household spend

> Find customers by what their whole household bought, and how household results, purchases and timing work.

This page explains how to find customers by what their whole household bought. The **Household** category on a **Member segment** block adds up purchases across the household. [Households](https://help.lobyco.com/business-documentation/households) explains what a household is.

## Household attributes

When households are on, the **Member segment** block has a **Household** category on its **Segment attributes** tab, after **Purchase**. Its attributes work like the **Purchase** ones, added up across the whole household. [Segment attributes](https://help.lobyco.com/business-documentation/audiences-and-data/segment-attributes.md) explains how attributes and operators work.

![The Member segment dialog on the orchestration canvas, on its Segment attributes tab. The category list on the left shows Consent, Purchase, Household, Promotions and Bonus, with Household directly after Purchase. Household is open on its six attributes: Household amount spent, Household items bought, Household number of members, Household product, Household purchase date and Household unique items bought. The segment builder on the right is empty.](https://mintcdn.com/lobyco-4c9fb3ad/-PQ2VeC_CnSlonqV/images/households-03-household-attributes.png?fit=max\&auto=format\&n=-PQ2VeC_CnSlonqV\&q=85\&s=262d22507b8cc7ea2fa852c6b7a227fe)

*The Household category, open on its six attributes*

| Attribute | What it measures |
| - | - |
| **Household amount spent** | How much the household spent in total |
| **Household items bought** | How many items the household bought in total |
| **Household unique items bought** | How many different items the household bought |
| **Household product** | Whether the household bought a product, or any product in a category |
| **Household purchase date** | When the household bought something: a date, or a period. See [Household purchase date](#household-purchase-date) |
| **Household number of members** | How many people are in the household now |

## How household results work

### The result is a list of customers

When a household matches, everyone in it now is in the result. That includes people who bought nothing themselves.

### Household purchase date

**Household purchase date** does two jobs, depending on what else is in the segment:

| How you use it | What you get | For example |
| - | - | - |
| On its own | Everyone in each household that bought something on that date, or in that period | Households that shopped last weekend |
| With another household purchase attribute | It sets the period that attribute looks at | Households that spent 500 or more in the last 30 days |

You can set a single date, or a period. A period can be fixed, such as 1 to 31 October, or rolling, such as the last 30 days. A rolling period includes its first day.

Without a **Household purchase date** rule, the other household purchase attributes look at the last 90 days. A hint under the rule says so.

### Mixing household and customer attributes

You can mix household and customer attributes in one segment. How the rules join decides the result.

| Join | What you get | For example |
| - | - | - |
| **AND** | Only customers who match both rules | Household spent over 1,000 **AND** the customer is over 30 |
| **OR** | Everyone in each matching household, plus each customer who matches the customer rule | Household spent over 1,000 **OR** the customer is over 30 |
| **AND NOT** on a household rule | Leaves out whole households | Everyone over 30, **AND NOT** in a household that spent over 1,000 |

[Join the rules with AND, OR or AND NOT](https://help.lobyco.com/business-documentation/audiences-and-data/create-a-segment.md#join-the-rules-with-and-or-or-and-not) shows how to change the join.

### When only part of a household is in the result

**AND** and **OR** with a customer attribute can return only some of the people in a household. An audience made from that result holds those customers, not the whole household. A shared offer or challenge targeted at the audience then reaches only them:

| | In the audience | In the household, but not in the audience |
| - | - | - |
| Sees the shared offer or challenge in the app | Yes | No |
| Sees a shared coupon someone else in the household activated | Yes | No |
| Can use the shared coupon in store | Yes | No |
| Their purchases count towards the shared challenge | Yes | No |
| Gets the coupon reward when the shared challenge is completed | Yes | Yes |

A redemption still uses the shared coupon up for the whole household. To include everyone in the household, build the segment from household attributes only. [Reach households with a shared activity](https://help.lobyco.com/business-documentation/households/shared-benefits.md#reach-households-with-a-shared-activity) explains how audiences reach shared activities.

### Spend tiers

Use **Greater or equal** for each tier's lower limit and **Less than** for its upper limit. A household right on a limit then lands in exactly one tier.

### Households of one

Customers who are alone in their household are included, as a household of one. To reach only households with two or more people, add the rule **Household number of members** **Greater or equal** 2.

## Which household a purchase belongs to

A purchase belongs to the household the customer was in when they made it. It stays there.

* A new person's earlier purchases don't count for the household they join.
* When someone leaves, their purchases stay with the household they left. Their new household starts with no purchase history.
* Someone who leaves and later rejoins doesn't bring back what they bought while they were away.
* A refund lowers the amount spent of the household the customer is in on the day of the refund, even when they made the purchase in a previous household. [Returns and refunds](https://help.lobyco.com/integration/pos-point-of-sale-integrations/returns-and-refunds#households) explains how refunds work with households, and why.
* Customer attributes aren't affected. A customer's own **Amount spent** always counts all their purchases, whichever household they were in.

**Household number of members** counts the people in the household now. Pending invitations and people who left don't count.

## Related

* [Households](https://help.lobyco.com/business-documentation/households) — what a household is, who can do what, and what happens when people join or leave.
* [Shared benefits](https://help.lobyco.com/business-documentation/households/shared-benefits.md) — share an offer or challenge with the household, and reach households with it through an audience.
* [Create an audience](https://help.lobyco.com/business-documentation/audiences-and-data/create-an-audience.md) — turn a segment's result into an audience.
* [Segment attributes](https://help.lobyco.com/business-documentation/audiences-and-data/segment-attributes.md) — how attributes, operators and categories work.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.