Why does data volume matter?SourceMedium ingests your complete historical data to power accurate LTV calculations, cohort analysis, and customer journey insights. Larger data volumes take longer to process—and for very large stores, we may recommend a phased approach to get you up and running faster.
What You’ll Need
- Shopify Admin access with permissions to view Analytics/Reports
- 5 minutes to run a simple query and share the results
Step-by-Step Instructions
Open the ShopifyQL Editor
- Log into your Shopify Admin at
https://your-store.myshopify.com/admin - Click Analytics in the left sidebar
- Click the Reports tab (or go to Analytics → Reports)
- Click Create custom report (or look for “Explore” / “New exploration”)
Copy and Paste the Query
Copy this entire query and paste it into the ShopifyQL Editor:
About the
SINCE date: We use 2010 to capture most stores’ full history. If your store is older, adjust to an earlier date. ShopifyQL will only return data from when your store actually started.Run the Query
Click the Run button (or press
Sum up the Order Count column to get your total.
Cmd/Ctrl + Enter) to execute the query.You’ll see a table with one row per year showing:- Order Count — Number of orders placed that year
- Units Sold — Total quantity of items sold (e.g., an order with 2 shirts and 1 hat = 3 units)
- Customer Count — Number of unique customers that year
| Year | Order Count | Units Sold | Customer Count |
|---|---|---|---|
| 2019 | 45,000 | 95,000 | 32,000 |
| 2020 | 120,000 | 260,000 | 85,000 |
| 2021 | 180,000 | 400,000 | 125,000 |
| … | … | … | … |
| Current year (YTD) | 85,000 | 190,000 | 60,000 |
Share the Results
Take a screenshot of the table or copy the numbers and share them with your SourceMedium onboarding contact via Slack or email.A screenshot of the results works great, or just copy/paste the table. Include:
- The year-by-year breakdown
- Your total order count
- When your store launched (first year with data)
What Happens With Your Results
Once you share your data volume, your SourceMedium contact will confirm your expected onboarding timeline. We always prefer full historical ingestion — it gives you the most accurate LTV calculations, complete cohort analysis, and reliable year-over-year comparisons. For very high-volume stores (think: 10+ years of history, millions of orders), full ingestion may take longer. If you have a specific go-live deadline, let us know and we can discuss options—such as starting with recent data while full history loads in the background.Why does historical data matter?Lifetime Value (LTV) calculations depend on seeing a customer’s complete purchase history. If we only load 2 years of data, a customer who first purchased 5 years ago will appear as a “new” customer—which understates their true LTV.Once full history is loaded, all calculations automatically update to reflect complete customer journeys.
Frequently Asked Questions
What if I don't see the ShopifyQL Editor?
What if I don't see the ShopifyQL Editor?
The exact location varies by Shopify plan and UI version. Try:
- Go to Analytics → Reports and look for “Create custom report” or “Explore”
- Go directly to:
https://your-store.myshopify.com/admin/reports
The query gives an error—what should I do?
The query gives an error—what should I do?
Common issues:
- “Syntax error” — Make sure you copied the entire query exactly, including the line breaks.
- “No data returned” — Your store may be very new. That’s fine—just let us know.
- “Access denied” — You may need different permissions. Ask your store owner to run it, or share what you see and we’ll help.
Can I see a breakdown by quarter instead?
Can I see a breakdown by quarter instead?
Yes — change
TIMESERIES year to TIMESERIES quarter in the query. This is helpful if you want to see seasonal patterns.Why do these counts matter?
Why do these counts matter?
These counts determine how long data ingestion takes:
- Orders — The primary driver of ingestion time
- Units Sold — Shows data density; more units per order means more data per order
- Customers — Used for LTV calculations, cohort analysis, and customer journey insights
What if I need my dashboard live sooner?
What if I need my dashboard live sooner?
If you have a specific go-live deadline and your data volume is high, let your SourceMedium contact know during onboarding. We can discuss options like starting with recent data while full history loads in the background.
What Happens Next
After sharing your data volume assessment:- We’ll confirm your onboarding timeline — Based on your volume, we’ll set realistic expectations
- You’ll receive integration instructions — Follow our Shopify Integration Guide to grant access
- Data ingestion begins — We’ll start pulling your data and notify you when it’s ready for review
Ready to integrate?
Continue to Shopify Integration Instructions →

