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

# Lapsed Purchases

> Track lapsed customer purchases for your Shopify store. Measure win-back conversions from customers who returned after extended inactivity.

> [!TIP]
>
> Lapsed Purchases counts purchase events from customers who returned to buy after an extended period of inactivity.

## Formula

> [!NOTE]
>
> **Lapsed Purchases** = **COUNT** ( `lapsed_purchase` events )

### Formula Components

| Metric | Definition |
| - | - |
| [**`lapsed_purchase` event**](https://docs.upstackdata.com/event-tracking/event-taxonomy/upstack-generated/lapsed-purchase) | Generated for a `purchase` when the customer's previous order was created 12 or more calendar months earlier |

| Metadata | |
| - | - |
| **Type** | Number |
| **Data Source** | [Upstack Pixel](https://docs.upstackdata.com/pixel.md), [Shopify](https://docs.upstackdata.com/sources/catalog/shopify.md) |
| **Aggregation** | Count |

***

## Example

Your Shopify store recorded **347 lapsed purchases** in Q1. Each one came from a customer whose previous order was at least 12 months old:

| Month | Lapsed Purchases |
| - | - |
| January | 98 |
| February | 121 |
| March | 128 |
| **Q1** | **347** |

***

## How It Works

Upstack checks each `purchase` event that has a customer ID and an order ID. It finds the customer's most recent earlier order in Upstack's order records. If that order was created 12 or more calendar months before Upstack processes the new purchase, Upstack generates a [`lapsed_purchase`](https://docs.upstackdata.com/event-tracking/event-taxonomy/upstack-generated/lapsed-purchase) event. This measure counts those events.

A customer with no earlier order never generates `lapsed_purchase`. The check is separate from the new or returning classification, so a lapsed customer's order usually also counts in [Returning Customer Purchases](https://docs.upstackdata.com/reference/metrics/funnel/conversions/returning-customer-purchases.md), but not always.

***

## When to Use

| Scenario | Action |
| - | - |
| Evaluating win-back campaigns | Track lapsed purchases to measure reactivation campaign effectiveness |
| Identifying dormant customer value | Quantify revenue potential from inactive customer segments |
| Refining audience exclusions | Decide whether to advertise to or exclude customers past a certain dormancy threshold |

***

## Related Metrics

| Metric | Relationship |
| - | - |
| [Returning Customer Purchases](https://docs.upstackdata.com/reference/metrics/funnel/conversions/returning-customer-purchases.md) Purchases from customers Upstack already has a record for. Decided by a separate check | |
| [Total Purchases](https://docs.upstackdata.com/reference/metrics/funnel/conversions/all-purchases.md) | Sum of all customer purchase types |
| [Lapsed Purchase Value](https://docs.upstackdata.com/reference/metrics/funnel/conversions/lapsed-purchase-value.md) | Total revenue from lapsed customer orders |

[See all Conversions metrics →](https://docs.upstackdata.com/reference/metrics/funnel/conversions)


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