---
title: >-
  Web Pixels API: event.data.checkout.subtotalPrice.amount value change on the
  new /thank-you page and checkout events - Shopify developer changelog
description: >-
  Shopify’s developer changelog documents all changes to Shopify’s platform.
  Find the latest news and learn about new platform opportunities.
source_url:
  html: >-
    https://shopify.dev/changelog/web-pixels-api-eventdatacheckoutsubtotalpriceamount-value-change-on-the-new-thank-you-page-and-checkout-events
  md: >-
    https://shopify.dev/changelog/web-pixels-api-eventdatacheckoutsubtotalpriceamount-value-change-on-the-new-thank-you-page-and-checkout-events.md
metadata:
  effectiveApiVersion: ''
  affectedApi: []
  primaryTag:
    displayName: API
    handle: api
  secondaryTag:
    displayName: Update
    handle: update
  indicatesActionRequired: true
  createdAt: '2025-04-18T14:21:45-04:00'
  postedAt: '2025-04-30T13:30:00-04:00'
  updatedAt: '2025-04-30T13:23:56-04:00'
  effectiveAt: '2025-04-24T09:00:00-04:00'
---

April 30, 2025

Tags:

* Action Required
* API

# Web Pixels API: `event.data.checkout.subtotalPrice.amount` value change on the new `/thank-you` page and checkout events

The `event.data.checkout.subtotalPrice.amount` value in the [Web Pixels API](https://shopify.dev/docs/api/web-pixels-api/standard-events/checkout_completed#properties-propertydetail-data) has been updated.

Previously, this value included the sum of all line item prices and product-level discounts, but not order-level discounts. Now, `event.data.checkout.subtotalPrice.amount` reflects the sum of all line item prices after applying both product and order-level discounts. This update aligns the definition with the `event.data.checkout.subtotalPrice.amount` field on the old `/thank_you` page.

The `event.data.checkout.subtotalPrice.amount` changes will affect the following events:

* `checkout_completed` (on the new `/thank-you` page only)
* `checkout_started`
* `checkout_address_info_submitted`
* `checkout_shipping_info_submitted`
* `checkout_contact_info_submitted`
* `payment_info_submitted`

If you use any of the above events, you should ensure that your pixel expects both product and order-level discounts to be included in this field.
