Per the documentation here https://shopify.dev/docs/api/web-pixels-api/standard-events/checkout_completed I am expecting that checkout.data.subtotalPrice.amount would never include taxes, shipping charges, or duties. It appears that sometimes it is including shipping and taxes and is causing error in GA4 reporting. There is also ambiguity when it comes to how the subtotalPrice is calculated and how it responds to line-item discounts.
Any information on how to understand the subtotalPrice field more accurately? We prefer to track subtotal rather than total
