> ## 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.

# all_purchase Event

> Track all purchases with unified customer segmentation — automatically generated by Upstack

> [!NOTE]
>
> **Automatically generated** — Upstack creates this event from your `purchase` events. You don't fire it.

Fires on every `purchase`.

## How It Works

For every `purchase` event it processes, Upstack generates an `all_purchase` copy under the new name and sends it to your destinations. Nothing is filtered out: new, returning and subscription orders all get one.

Upstack makes the copy after it has classified the purchase as [`nc_purchase`](https://docs.upstackdata.com/event-tracking/event-taxonomy/standard-events/nc-purchase) or [`rc_purchase`](https://docs.upstackdata.com/event-tracking/event-taxonomy/standard-events/rc-purchase), so the copy carries the same customer segmentation value. Meta receives it as `customer_segmentation` in custom data. A purchase with no Upstack identity isn't classified, and its `all_purchase` has no segmentation value.

## Parameters

You don't send this event. Upstack creates it from [`purchase`](https://docs.upstackdata.com/event-tracking/event-taxonomy/standard-events/purchase), so it carries the same standard parameters and user data.

## Destination Mapping

| Destination | Event name | Sent by default |
| - | - | - |
| Meta | `allPurchase` (custom event) | Yes |
| TikTok | `AllPurchase` | Yes |
| Pinterest | `custom` | Yes |
| Reddit | `all_purchase` (custom event) | Yes |
| Microsoft Ads | `all_purchase` (custom event) | Yes |
| Google Ads | The conversion action you map it to | No. Map it to a conversion action |
| Klaviyo, GA4 | Your choice | No. Add a [destination event mapping](https://docs.upstackdata.com/guides/custom-events/destination-event-mappings.md) |
| Snapchat, LinkedIn, AppLovin | Not sent | No |

Meta needs each custom event approved before you can optimize on it. See [How to approve Meta custom events](https://docs.upstackdata.com/destinations/catalog/meta-capi/how-to-approve-facebook-meta-custom-events.md).

## Relationship to Other Events

`all_purchase` is a copy of every `purchase`. Upstack separately classifies the same purchase as `nc_purchase` or `rc_purchase` when it has an Upstack identity, so most orders produce `purchase`, `all_purchase`, and one of the two.

## Related events

* [purchase](https://docs.upstackdata.com/event-tracking/event-taxonomy/standard-events/purchase.md) — The base purchase event
* [nc\_purchase](https://docs.upstackdata.com/event-tracking/event-taxonomy/standard-events/nc-purchase.md) — New customer purchases only
* [rc\_purchase](https://docs.upstackdata.com/event-tracking/event-taxonomy/standard-events/rc-purchase.md) — Returning customer purchases only


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