Shopify2023-10-18Explainer
How Shopify Built An In-Context Analytics Experience
Summary
Shopify’s Analytics section gave merchants access to business data, but research and quantitative analysis found that they often moved between it and admin pages while making decisions. The team therefore designed an in-context experience for the Orders page, selecting metrics through workflow analysis, segmenting merchants by factors such as order volume and fulfillment process, and examining each metric’s usefulness, variability, and time horizon. Data scientists prototyped visualizations with real, segmented data and created a specification sheet so Web, Android, and iOS used consistent queries, data sources, fields, and aggregations; the project also tested batch models before streaming them. The launched experience surfaces order and fulfillment metrics for daily, seven-day, and thirty-day periods, with comparison indicators, and links to reports covering orders, returns, products, and fulfillment, shipping, and delivery times.
Context
Shopify found that merchants often navigated between the Analytics section and other admin pages to make data-informed decisions. The work aimed to put relevant data directly into the Orders page, the most visited admin page, so merchants could make decisions about orders and fulfillment workflows faster.
Approach / What changed
The team analyzed merchant workflows and goals, validated candidate metrics across segments such as order volume, entrepreneurial stage, fulfillment process, geography, and industry, and examined their usefulness, variability, and suitable time periods. They prototyped visualizations with real data, created a data specification sheet to establish a single source of truth across Web, Android, and iOS, and prototyped models in a batch environment before making them streaming.
Takeaways
Metrics were shown only where the underlying data was applicable; metrics that stayed constant or required longer time periods were excluded from the Orders page or reserved for reports.
Prototyping with real merchant data changed the planned visualizations, including the addition of a histogram to show the distribution of fulfillment, delivery, and in-transit event durations.
The launched Orders page surfaces total orders, ordered items, returns, fulfilled and delivered orders, and median fulfillment time for daily, seven-day, and thirty-day periods, with comparison indicators.
Source and freshness
- Source
- shopify.engineering
- Published
- Added to Yomu
- Last updated
Summaries are generated from the original by a language model. Check the original before relying on it.
Keep reading
Related reading
The Good Stuff
Paid picks we use ourselves. Links carry a referral code — a subscription through one earns us a commission at no extra cost to you.
The best engineering reads, once a week
One useful email. Unsubscribe anytime.