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

# View Cart Value: Total Cart Value Tracked

> Track the total monetary value of view cart events. Understand cart value patterns and optimize your Shopify store's checkout funnel.

<Tip>
  View Cart Value measures the total monetary value of all view cart events tracked by the Upstack pixel.
</Tip>

## Formula

<Info>
  **View Cart Value** = **SUM** ( Cart Value ) **WHERE** event = view\_cart
</Info>

### Formula Components

| Metric                 | Definition                                                              |
| ---------------------- | ----------------------------------------------------------------------- |
| **Cart Value**         | The monetary value of items in the cart when a visitor views their cart |
| **event = view\_cart** | Filters to only include view cart events tracked by the pixel           |

| Metadata        |                         |
| --------------- | ----------------------- |
| **Type**        | Currency                |
| **Data Source** | [Upstack Pixel](/pixel) |
| **Aggregation** | Sum                     |

***

## Example

Your store tracked **\$47,500** in View Cart Value last month across 1,250 view cart events.

| Period | View Cart Events | View Cart Value | Avg Cart Value |
| ------ | ---------------- | --------------- | -------------- |
| Week 1 | 285              | \$10,650        | \$37.37        |
| Week 2 | 312              | \$12,480        | \$40.00        |
| Week 3 | 298              | \$11,170        | \$37.48        |
| Week 4 | 355              | \$13,200        | \$37.18        |

***

## How It Works

View Cart Value sums the monetary value of all cart contents when visitors view their shopping cart. The value is captured from the Upstack pixel's `view_cart` event, which includes the total value of items in the cart at that moment.

***

## When to Use

| Scenario                  | Action                                                              |
| ------------------------- | ------------------------------------------------------------------- |
| Measuring cart engagement | Track how much potential revenue is sitting in carts                |
| Comparing to purchases    | Identify revenue gap between carts viewed and purchases completed   |
| Analyzing abandoned value | Understand the dollar amount at risk from cart abandonment          |
| Funnel optimization       | Monitor whether cart values trend upward with merchandising changes |

***

## Related Metrics

| Metric                                                                        | Relationship                                         |
| ----------------------------------------------------------------------------- | ---------------------------------------------------- |
| [View Cart](/reference/metrics/funnel/engagement/view-cart)                   | Count of view cart events (this metric tracks value) |
| [Cost per View Cart](/reference/metrics/funnel/engagement/cost-per-view-cart) | Ad spend efficiency for driving cart views           |
| [Add to Cart Value](/reference/metrics/funnel/engagement/add-to-carts-value)  | Value added to cart (earlier funnel stage)           |

[See all Engagement metrics →](/reference/metrics/funnel/engagement)
