Skip to main content
Complete queries to paste into the query editor and adjust. Each answers a real question. See Datasets for every metric, dimension and filter.

Best-selling products last month

Your top products by net sales, with the items sold behind them.

Sales by channel, month on month

Each sales channel’s net sales last month, with the change against the month before.

This year against last, by week

Net sales week by week this year, drawn against the same weeks last year.

Gross profit by vendor

What each vendor earned you after cost of goods, for products with a cost recorded.

New and returning customers

How much of each month’s sales came from first-time customers.

Sales by the customer’s country

Where your buyers are, using the country on the customer behind each order.

Top three products for each vendor

The best sellers within each vendor, with everything else in an “Other” row.

Discount codes and what they brought in

Each discount code’s orders and sales, from the sales and discounts datasets together.

Most-returned products and why

The products returned most this year, by return reason.

Stock about to run out

Products by how many days their stock will last at last month’s rate of sale, soonest to sell out first.

Best customers by lifetime spend

Customers with more than one order, by what they’ve spent with you.

Conversion rate by device

How many online store sessions turned into orders, on mobile, desktop and tablet.

Payouts this quarter

Each Shopify Payments payout, with the fees taken from it.

Abandoned checkouts recovered

How many abandoned checkouts came back and bought, week by week.

Fulfilment speed by location

The median time from order to shipping at each location.