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

# Abandoned checkouts

> Checkouts started and left unfinished: count, value, and how many customers came back to complete, by product and discount code.

Checkouts started and left unfinished: count, value, and how many customers came back to complete, by product and discount code.

## Example

```sql theme={null}
FROM abandoned_checkouts
  SHOW abandoned_checkouts, abandoned_checkout_value
  GROUP BY product_title
  SINCE startOfMonth(-1m) UNTIL today
  ORDER BY abandoned_checkouts DESC
```

## Metrics

| Metric | Type | Description |
| - | - | - |
| `abandoned_checkouts` | Number | Checkouts started and left unfinished. |
| `abandoned_checkout_value` | Currency | What the abandoned checkouts came to. |
| `recovered_checkouts` | Number | Abandoned checkouts the customer came back and completed. |
| `checkout_recovery_rate` | Percent | Abandoned checkouts later completed, as a share of them. |
| `recovered_checkout_value` | Currency | What the recovered checkouts came to. |

## Dimensions

| Dimension | Description |
| - | - |
| `discount_code` | A code entered at the checkout. |
| `product_title` | A product on the checkout. A checkout with several products counts under each. |

## Linked records

Fields of the records this dataset reaches can be shown, grouped by and filtered on, written with a dot after the record (for example `customer.name`). Each record's page lists its fields.

| Write | Record | Reached through |
| - | - | - |
| `customer.<field>` | [Customer](https://docs.queryful.app/queryfulql/records/customer.md) | Customer |
| `customer.company.<field>` | [Company](https://docs.queryful.app/queryfulql/records/company.md) | Customer › Company |
| `shop.<field>` | [Store](https://docs.queryful.app/queryfulql/records/shop.md) | Store |

## Related datasets

* [Draft orders](https://docs.queryful.app/queryfulql/datasets/draft_orders.md)
* [Discount catalogue](https://docs.queryful.app/queryfulql/datasets/discount_catalog.md)
* [Discounts](https://docs.queryful.app/queryfulql/datasets/discounts.md)


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