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

Published

This summary was written by ShopDigest AI from Shopify Changelog’s report. Read the full story ↗

The event.data.checkout.subtotalPrice.amount value in the Web Pixels API has been updated on the new /thank-you page and checkout events. Previous…

Overview

Shopify has updated the event.data.checkout.subtotalPrice.amount value in the Web Pixels API. The field now includes both product-level and order-level discounts, aligning with the old /thank_you page definition. This change affects several checkout events, including checkout_completed on the new /thank-you page.

What Changed

  • subtotalPrice.amount now reflects sum of line item prices after product and order-level discounts.
  • Previously, it only included line item prices and product-level discounts.
  • Affected events: checkout_completed (new /thank-you page), checkout_started, checkout_address_info_submitted, checkout_shipping_info_submitted, checkout_contact_info_submitted, payment_info_submitted.

Why It Matters

Merchants using Web Pixels for analytics or personalization must update their pixel logic to expect the new value. This ensures consistent tracking of subtotal amounts across checkout events.

About this story

Topics covered
Published
30 Apr 2025
Originally published at