How to Use SKU-Level Performance Analysis in Squarespace: Step-by-Step Tutorial
By MCP Analytics Team | Published , updated
See Which Products Bring In the Most Revenue, and Which Ones Have No Sales Yet
Introduction to SKU-Level Performance Analysis
A SKU (Stock Keeping Unit) identifies one sellable variant of a product. Squarespace's order export lists each line item with its SKU, quantity and price, so you can total sales by SKU and see which variants bring in the revenue.
An order export alone can answer questions about what was bought:
- Which SKUs generated the most revenue and units in the period?
- What share of revenue do the top few SKUs account for?
- Which SKUs appear on very few orders?
- Which line items have no SKU at all?
It cannot answer questions that need an exposure count. A conversion rate for a SKU needs the number of visits (or product views) as a denominator, and the export contains only purchases. Whether a SKU with no orders should be dropped also needs a full catalog and cost data. The sections below say how to bring those in.
The figures in the worked example come from a small synthetic data set generated for this tutorial, not from any store.
Prerequisites and Data Requirements
Account Access
- A Squarespace Commerce site with order history and permission to export orders
- SKUs on your products: line items with a blank "Lineitem sku" cannot be grouped by SKU
- A date range chosen for a reason: a window long enough to include your normal selling pattern (for example a full season), not a fixed number of days. Longer windows give more orders per SKU, but they also mix in products that were added or retired during the window
Data Quality Checklist
According to Squarespace's help page on exporting Commerce orders, the order export includes columns such as "Lineitem quantity", "Lineitem name", "Lineitem price", "Lineitem sku" and "Lineitem variant", plus "Discount Amount", "Amount Refunded" and "Currency". Check for:
- Blank SKUs
- Test orders you placed while setting up the store
- Refunded or cancelled orders, which you should include, exclude or net out on purpose
- More than one currency
- Discounts: "Lineitem price" is the item price, so revenue computed from price and quantity is before order-level discounts (an assumption to check against the Discount Amount column in your file)
Technical Requirements
- A spreadsheet program or Python with pandas for reviewing the file
- Basic understanding of CSV files
Step-by-Step: Analyzing SKU Performance
Step 1: Export Your Squarespace Order Data
These steps follow Squarespace's help page on exporting Commerce orders:
- Open the Products & Services panel and click Orders
- Click Export data, then Download CSV
- Choose the order statuses to include
- Choose a date range (the export covers orders created within it)
- Choose All products
- Click Download
Menu labels can change, so if yours differ, follow the help page. The export has one row per line item; for an order with several products the help page says order-wide details appear only in the first row with that order ID. Revenue by SKU uses the line-item columns, so it is not affected, but order-level columns such as Total must be taken once per order.
Step 2: Compute Revenue, Units and Share by SKU
For each SKU, revenue is the sum of "Lineitem quantity" times "Lineitem price". The code below also reads a catalog list so that SKUs with no sales stay in the table (an order export only contains products that were ordered), and keeps line items with a blank SKU visible instead of dropping them.
import pandas as pd
# Synthetic line items made up for this tutorial. Column names follow the Squarespace
# order export (one row per line item); the values do not come from any store.
lines = pd.DataFrame({
"Order ID": [2001, 2001, 2002, 2003, 2004, 2005, 2005, 2006],
"Lineitem name": ["Tote bag", "Mug", "Tote bag", "Poster", "Tote bag", "Mug", "Sticker", "Notebook"],
"Lineitem sku": ["TOTE-1", "MUG-1", "TOTE-1", "POSTER-1", "TOTE-1", "MUG-1", "STICKER-1", None],
"Lineitem quantity": [2, 1, 1, 1, 3, 2, 5, 1],
"Lineitem price": [30.00, 12.00, 30.00, 20.00, 30.00, 12.00, 3.00, 9.00],
})
# A full catalog (a separate product export). NOTE-1 and PIN-1 have no orders in the period.
catalog = ["TOTE-1", "MUG-1", "POSTER-1", "STICKER-1", "NOTE-1", "PIN-1"]
lines["sku"] = lines["Lineitem sku"].fillna("(blank SKU)")
lines["line_revenue"] = lines["Lineitem quantity"] * lines["Lineitem price"]
by_sku = lines.groupby("sku").agg(
orders=("Order ID", "nunique"),
units=("Lineitem quantity", "sum"),
revenue=("line_revenue", "sum"),
)
# Keep catalog SKUs that sold nothing, instead of dropping them.
by_sku = by_sku.reindex(sorted(set(by_sku.index) | set(catalog))).fillna(0)
by_sku = by_sku.sort_values("revenue", ascending=False)
by_sku["revenue_share_pct"] = 100 * by_sku["revenue"] / by_sku["revenue"].sum()
by_sku["cumulative_share_pct"] = by_sku["revenue_share_pct"].cumsum()
print(by_sku.round(1).to_string())
print()
print("SKUs in catalog:", len(catalog), "| catalog SKUs with sales:", int((by_sku.loc[catalog, "revenue"] > 0).sum()))
top_n = 2
print("Revenue share of top", top_n, "SKUs:", round(by_sku["revenue_share_pct"].head(top_n).sum(), 1), "%")
Output:
orders units revenue revenue_share_pct cumulative_share_pct
sku
TOTE-1 3.0 6.0 180.0 69.2 69.2
MUG-1 2.0 3.0 36.0 13.8 83.1
POSTER-1 1.0 1.0 20.0 7.7 90.8
STICKER-1 1.0 5.0 15.0 5.8 96.5
(blank SKU) 1.0 1.0 9.0 3.5 100.0
NOTE-1 0.0 0.0 0.0 0.0 100.0
PIN-1 0.0 0.0 0.0 0.0 100.0
SKUs in catalog: 6 | catalog SKUs with sales: 4
Revenue share of top 2 SKUs: 83.1 %
Step 3: Read the Table
- Concentration: here TOTE-1 accounts for 69.2% of revenue and the top two SKUs for 83.1%. In your data the share is whatever it is; measure it with the cumulative column rather than assuming a rule such as 80/20 holds.
- Zero-sale SKUs: NOTE-1 and PIN-1 are in the catalog but not in the orders, so only the catalog join reveals them. Zero sales in one window is not a reason to drop a SKU: it may be seasonal, new, out of stock, or a lead-in to other purchases.
- Blank SKU: the "(blank SKU)" row is revenue you cannot attribute until the SKU is added in Squarespace or you map the product name to a SKU by hand.
- Revenue is not profit: ranking by revenue ignores cost, returns and discounts. Add cost data before deciding what to stop selling.
Step 4: Questions That Need Extra Data
- Conversion rate by SKU: needs product page views or sessions by product, joined on SKU or product name. The order export has no such column.
- Trend by SKU: group by month as well as SKU, and treat a few orders per month as noisy.
- Effect of a change (price, promotion, placement): compare against a control or use a planned test. See A/B testing statistical significance.
Verification: Checking Your Numbers
Revenue Reconciliation
Sum of line revenue (quantity times price) will not equal the "Total" column, because Total is an order-level measure that differs from line revenue. Reconcile on comparable measures: compare the sum of line revenue with the sum of "Subtotal" (taking Subtotal once per order), then explain any gap with "Discount Amount" and "Amount Refunded". Any remaining difference should be explained by order status filters or a different date range, not ignored.
Unit Count
Total units in your table should equal the sum of "Lineitem quantity" over the same rows. In pandas: lines["Lineitem quantity"].sum().
Top SKU Check
Filter your export to the top SKU in a spreadsheet and add up its quantity and line revenue by hand. They should match the table exactly, since both come from the same rows.
Partly Refunded Orders
The help page says "Lineitem price" shows the full purchase price for partially refunded orders. So line revenue from this code is before refunds. To net them out, use the order-level "Amount Refunded" column, taken once per order, and note that it is not split by SKU in the file.
Number of SKUs
The count of SKUs in an order export is the number of SKUs sold in the period, not the size of your catalog. Join a full product export to see SKUs with no orders.
Run It on Your Own Squarespace Export
Export your orders from Squarespace as a CSV and upload it at MCP Analytics, then ask the question in plain language; the report names the method. Nothing connects to your Squarespace account.
Next Steps with Squarespace SKU Analysis
1. Add Cost and Catalog Data
Join unit cost and a full product export to the SKU table so that margin and zero-sale SKUs are visible.
2. Add Traffic Data
If you want a conversion rate by SKU, bring in product page views by product and define the rate as orders divided by views.
3. Compare Periods
Export a second period with the same filters and compare revenue by SKU. Differences between periods are descriptive until you rule out seasonality and changes in what was on sale.
Learn More
Troubleshooting Common Issues
Issue: Many Line Items Have a Blank SKU
Cause: The product or variant had no SKU when it was ordered.
- Add SKUs to the products in Squarespace so new orders carry them.
- For past orders, map "Lineitem name" and "Lineitem variant" to a SKU in your own copy of the CSV.
Issue: Revenue Does Not Match Squarespace's Own Reports
Cause: Different definitions. Line revenue is before order-level discounts and excludes shipping and taxes; other reports may differ, and refunds, statuses and date ranges also change totals.
- Compare like with like (see the Verification section) and use the same statuses and date range.
Issue: A Product Is Missing From the Results
Cause: It had no orders in the export, or its name or SKU changed.
- Search by SKU, which is usually more stable than the product name.
- Widen the date range, and check that the status filter did not exclude the orders.
Issue: Totals Look Doubled
Cause: Order-level columns such as Subtotal and Total can appear only on the first row of each order (the help page names Order ID, financial status and shipping address as examples; check your file), so take them once per order. Joining other order-level data onto every row duplicates it. Count orders by Order ID.
Still Having Issues?
- See Squarespace's help page on exporting Commerce orders for the export itself.
Sources
- Squarespace Help: Export Commerce orders (export steps, column names, first-row rule, partial refunds), read November 2, 2026
- Numbers: the table in Step 2 comes from the eight synthetic line items in the code, run on November 2, 2026 with pandas 2.3.1
Your turn
Bring your own data and the question you actually need answered.
MCP AnalyticsData science by email Send us your data and your question, and we will reply. ds@mcpanalytics.ai
Explore more: Squarespace Analytics: all tools, tutorials, and guides →
Not sure which plan? Compare plans →