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

# Added to cart

> Sessions with an add-to-cart event from the Shopify-admin funnel.

| Contract           | Value                       |
| ------------------ | --------------------------- |
| Metric key         | `shopify.add_to_cart_count` |
| Source             | Shopify                     |
| Status             | active                      |
| Type               | source                      |
| Semantic version   | 1                           |
| Catalog visibility | Picker-eligible             |

## How it's calculated

```text theme={null}
value = ShopifyQL sessions_with_cart_additions for one shop reporting day.
```

### Built from

* `ShopifyQL sessions_with_cart_additions`

## Known caveats

* Funnel stage, not cart-item count.
* The Shopify sync can replace the live partial reporting day; it is not guaranteed to be finalized until the day closes.

## Where this appears

* Overview KPI strip
* Checkout funnel

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

    **Join and identity keys**

    * 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.** Finalized daily snapshot from Shopify.
  </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>
