Skip to main content
The count of customers who placed orders and have at least one prior purchase on record.

Formula

Returning Customers = COUNT DISTINCT ( Customer ID ) WHERE customer_type = returning_customer

Formula Components

MetricDefinition
Customer IDUnique identifier for each customer from Shopify
customer_type = returning_customerFilters to customers with at least one prior purchase
Metadata
TypeNumber
Data SourceShopify
AggregationCount

Example

Your store served 1,847 returning customers in February:
WeekReturning CustomersNew CustomersTotal Unique
Week 1428284712
Week 2412272684
Week 3467289756
Week 4540155695
Your returning customer base grew throughout the month as early February buyers placed repeat orders.

How It Works

Shopify tracks each customer’s purchase history. A returning customer is anyone who has completed at least one order before the current one. This metric counts distinct returning customers—each repeat buyer counts once regardless of how many orders they placed in the period.

When to Use

ScenarioAction
Tracking retention successMonitor growth in repeat buyers month over month
Evaluating loyalty programsCompare returning customer counts before and after initiatives
Sizing your repeat buyer baseUnderstand how many loyal customers are actively purchasing
Cohort retention analysisTrack which acquisition cohorts produce the most repeat buyers

MetricRelationship
New CustomersFirst-time buyers (the complement)
Unique CustomersTotal distinct customers (New + Returning)
Returning Customer %Returning orders as percentage of total
Returning Customer Gross RevenueRevenue from repeat buyers
See all Customers metrics →