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

# Revenue in Upstack doesn't match Shopify order totals

> Shopify reports gross revenue including tax and shipping; Upstack reports the Purchase event value (typically cart subtotal). Learn how to compare the two accurately and account for refunds.

**Likely cause:** Differences in how revenue is calculated — Shopify reports gross revenue including taxes and shipping by default, while Upstack reports the `Purchase` event value as sent by the pixel, which typically reflects the cart subtotal.

**How to reconcile:**

1. In Shopify admin, go to **Analytics → Reports** and export the order data for the time range you're comparing.
2. Note whether Shopify includes taxes, shipping, discounts, and refunds in the total.
3. In Upstack, the `Purchase` event captures the `value` property from the checkout. This usually equals the cart subtotal before tax and shipping.
4. To compare accurately:
   * Shopify gross revenue **minus** taxes **minus** shipping should approximate Upstack's reported revenue.
   * If you've configured Upstack to include tax/shipping in the event value, the numbers should be closer.
5. Refunds also cause drift — Shopify retroactively adjusts revenue, while Upstack records the purchase at the time it occurred. Check **Events → Purchase** and filter by the date range to see the raw event values.

***

**Still stuck?** Contact [support@upstackdata.com](mailto:support@upstackdata.com) with your Pixel ID and a description of the issue. We typically respond within a few hours.
