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

# New-customer events

> Legacy per-order customer marker.

| Contract           | Value                            |
| ------------------ | -------------------------------- |
| Metric key         | `shopify.new_customers`          |
| Source             | Shopify                          |
| Status             | supporting                       |
| Type               | source                           |
| Semantic version   | 1                                |
| Catalog visibility | Supporting or fixed-surface only |

## How it's calculated

```text theme={null}
value = 1 for each order that has a customer id. This is a legacy customer-present marker, not a verified first-purchase calculation.
```

### Built from

* `Order.customer.id`
* `Order.createdAt`

## Known caveats

* Current transform marks orders with a customer, not a verified first purchase.

## Where this appears

* Supporting input; not offered as a standalone dashboard metric

<AccordionGroup>
  <Accordion title="Grain and identity" icon="ruler">
    daily\_snapshot; entity: customer; same-day fold: sum; additivity: semi\_additive.

    **Join and identity keys**

    * customerId
    * snapshotDate
  </Accordion>

  <Accordion title="Filters and boundaries" icon="filter">
    * Organization and store are resolved from the authenticated request.
    * Reads use a half-open interval: recorded\_at >= start and recorded\_at \< end.
    * ShopifyQL sales values are used as reported; no extra paid-order filter is added by Aloftly.
  </Accordion>

  <Accordion title="Timezone, currency, and freshness" icon="clock">
    **Timezone.** ShopifyQL groups by the shop reporting date; Aloftly stores that date as a UTC-midnight label. Order lifecycle events retain their provider timestamp.

    **Currency.** Not applicable.

    **Freshness.** Cursor sync.
  </Accordion>

  <Accordion title="Version history" icon="clock-rotate-left">
    | Date       | Change                                                                     |
    | ---------- | -------------------------------------------------------------------------- |
    | 2026-08-03 | Bound the metric to the executable certified semantic release.             |
    | 2026-07-27 | Registered Shopify authority and metric contracts in the semantic catalog. |
  </Accordion>
</AccordionGroup>
