TapCub is live — analytics, insights and live chat, free on one platform
Glossary

What Is Meant by Customer Loyalty? Behavioral vs Attitudinal and How to Measure It

Customer loyalty is repeat behavior backed by preference. Behavioral loyalty (repeat purchase, retention, recency) can be measured from your data; attitudinal loyalty needs asking. A formula table, one 1,000-customer example crossed with an NPS survey, and what behavior data cannot tell you.

Sophia Bennett Reviewed by Oliver Reed Also called brand loyalty Last updated Nov 28, 2026 Glossary

Quick answer

Customer loyalty is a customer's tendency to keep choosing the same company despite alternatives. It has two halves: behavioral loyalty (repeat purchases, retention, recency), measurable from your data, and attitudinal loyalty (preference, willingness to recommend), which needs surveys.

Formula: Repeat purchase rate = customers with 2+ orders ÷ all customers in the period; NPS = % promoters (9–10) − % detractors (0–6)

What is meant by customer loyalty?

Customer loyalty is a customer's tendency to keep choosing the same company over time, buying again, returning, staying subscribed, even when competitors are available and switching would be easy. Richard Oliver's widely cited 1999 definition in the Journal of Marketing describes it as "a deeply held commitment to rebuy or repatronize a preferred product/service" consistently in the future, despite situations and competitor efforts that could cause switching.

That definition has two parts, and most confusion about loyalty comes from mixing them:

  • Behavioral loyalty: what customers do. They buy again, come back, renew. You can observe it in order and usage data.
  • Attitudinal loyalty: what customers feel and say. They prefer you, would recommend you, intend to buy again. You can only learn it by asking.

Dick and Basu's 1994 framework in the Journal of the Academy of Marketing Science combined the two: loyalty is strongest when a favorable relative attitude and repeat patronage occur together. The practical consequence: behavior data can tell you who is acting loyal; it cannot tell you why, or whether they would stay if a better offer appeared. Measuring loyalty well means knowing which half each number covers.

Behavioral vs attitudinal loyalty

AspectBehavioral loyaltyAttitudinal loyalty
What it isRepeat actions: purchases, visits, renewalsPreference, commitment, intention to return or recommend
Typical evidenceRepeat purchase rate, purchase frequency, retention, recencyNet Promoter Score, stated preference, intent-to-repurchase questions
Data sourceOrders, events, subscription recordsSurveys, interviews, reviews
Measured from behavior data?YesNo, needs asking
StrengthObjective, complete for all customers, updates continuouslyExplains motivation; can predict defection before behavior changes
WeaknessCannot tell habit or lack of alternatives from preferenceSelf-reported, sampled, biased toward customers who answer

Neither is "real" loyalty on its own. A customer who buys every month only because you are the nearest store shows behavioral loyalty without attitude; a fan who loves the brand but buys once a year shows attitude without much behavior.

The four loyalty conditions

Crossing the two dimensions gives four groups, following Dick and Basu's framework:

Repeat behavior: highRepeat behavior: low
Relative attitude: highLoyalty: buys again and prefers youLatent loyalty: prefers you but buys rarely (price, access, need)
Relative attitude: lowSpurious loyalty: buys again out of habit, convenience or lack of choiceNo loyalty

Each group needs a different action:

  • Loyalty: protect it; these customers respond to recognition and early access, not discounts.
  • Latent loyalty: remove the barrier. If they like you but rarely buy, the problem is usually price, availability or reminders.
  • Spurious loyalty: the riskiest group, because it looks loyal in behavior data. A competitor that matches convenience can take it overnight.
  • No loyalty: acquire or let go; do not spend loyalty budget here.

How do you measure customer loyalty?

MetricFormulaLoyalty half it measures
Repeat purchase rateCustomers with 2+ orders in the period ÷ all customers in the periodBehavioral
Purchase frequencyOrders ÷ customers in the periodBehavioral
Customer retention rateCustomers from the previous period who bought again this period ÷ customers in the previous periodBehavioral
RecencyDays since last purchase or visitBehavioral
RFM loyal shareCustomers in the top recency-frequency-monetary groups ÷ all scored customersBehavioral
Net Promoter Score% promoters (9–10) − % detractors (0–6) on a 0–10 "would you recommend" questionAttitudinal (survey)

The NPS scoring follows Bain & Company's published method: customers answer on a zero-to-ten scale, 9 and 10 are promoters, 7 and 8 passives, 0 to 6 detractors.

Worked example: one store, 12 months of customers

Sample data: an online store looks at the 1,000 customers who ordered at least once in the last 12 months, and runs one recommendation survey that 400 of them answer.

Behavioral metrics

MetricCalculationResult
Repeat purchase rate280 customers with 2+ orders ÷ 1,00028.0%
Purchase frequency1,540 orders ÷ 1,000 customers1.54 orders per customer
Frequency among repeat buyers(1,540 − 720 single orders) ÷ 2802.93 orders
Year-over-year retention240 of the 800 previous-year customers bought again ÷ 80030.0%
RFM loyal share60 in the top group + 110 in the next ÷ 1,00017.0%

Attitudinal metric

AnswerRespondentsShare
Promoters (9–10)18045%
Passives (7–8)14035%
Detractors (0–6)8020%
NPS45% − 20%+25

Both together (respondents only)

Repeat buyerOne-time buyerTotal
Promoter120 (loyalty)60 (latent loyalty)180
Not a promoter60 (spurious loyalty)160 (no loyalty)220
Total180220400

What the example shows:

  • A third of repeat buyers are spurious. 60 of the 180 repeat buyers who answered are not promoters. Behavior data alone would count them as loyal.
  • Latent loyalty is a sales opportunity. 60 promoters bought only once; a reminder, a subscription option or a better price for repeat orders is likely to work on them.
  • Survey respondents are not the customer base. 180 of 400 respondents (45%) are repeat buyers against 28.0% of all customers, so NPS from this survey over-represents the most engaged customers. Report the response rate and the repeat-buyer mix with the score.

What behavior data can and cannot tell you

QuestionAnswerable from behavior data?How
Who buys again, and how often?YesRepeat rate, frequency, RFM
Who is slipping away?YesRecency, lifecycle stage, falling frequency
Did a loyalty program change behavior?PartlyCompare members and similar non-members; members self-select
Do customers prefer us or just find us convenient?NoSurvey, interviews
Would they recommend us?NoNPS or a recommendation question
Why did they stop buying?NoExit survey, support conversations, reviews

Customer loyalty vs retention vs satisfaction

The three are related but not interchangeable:

  • Retention is an outcome you measure from behavior: did the customer stay or buy again in a period. It is the behavioral half of loyalty, counted.
  • Satisfaction is an attitude about a specific experience, usually measured right after it. Satisfied customers can still leave if a competitor is cheaper or closer.
  • Loyalty is the broader concept: repeat behavior backed by preference. High retention with low attitude is the spurious loyalty from the example.

Common mistakes in measuring loyalty

  • Calling repeat purchase "loyalty" without checking attitude. It may be habit or lack of choice.
  • Using a 12-month window for a product people buy weekly. Pick the window from the natural purchase cycle.
  • Reporting NPS without response rate and respondent mix. In the example, respondents were far more often repeat buyers than the customer base.
  • Mixing loyalty program membership with loyalty. Members joined because they already buy; the program's effect is the difference from comparable non-members, not the members' high repeat rate.
  • Averaging over everyone. A 28% repeat rate can hide a small core that buys monthly and a large group that never returns; segment before acting.

How to see behavioral loyalty in TapCub

The behavioral half of the example can be measured in TapCub from purchase events; the attitudinal half cannot, because TapCub does not run NPS or other surveys.

  1. Send purchases as events or orders. In All-platform analytics › Users › Segments & tags, create a segment of type RFM on your purchase event and amount property. Customers are scored in quintiles and placed in 10 buckets, including Champions and Loyal; the segment is recomputed daily and moves between buckets are stored, so you can see how many loyal customers slipped to "at risk" this month.
  2. If purchases are on the order ledger, All-platform analytics › Business › Commerce & revenue shows RFM segments for the last 365 days with headcounts compared with 30 days earlier and the largest moves between segments.
  3. In All-platform analytics › Behavior › Behavior analysis, the lifecycle view splits each week or month into New, Returning, Resurrecting and Dormant, which shows whether repeat behavior is growing or being replaced by new customers. The retention view follows one cohort forward.
  4. Use a bucket as a cohort in a funnel or retention analysis to compare, for example, Champions with "need attention" customers on the same checkout funnel.

Anonymous visitors have no profile and do not enter segments, so loyalty analysis covers identified customers. For the attitude side, run a survey in a separate tool and compare its results with the RFM buckets of the same customers.

Sources

Was this explanation clear?

We use your answers to fix and expand this page.

Sophia Bennett

Product Adoption Consultant

Explores customer onboarding, live conversations, and self-service, turning common usage questions into practical guidance and improvements.

FAQ

Questions people ask

Short answers to the follow-up questions that come up most.

Still have a question?

Chat with the team behind TapCub — we usually reply within a few hours on business days.

What is meant by customer loyalty?

It means customers keep choosing your company over time: they buy again, return and renew even when switching would be easy. Researchers split it into behavioral loyalty, what customers do, and attitudinal loyalty, what they prefer and would recommend. Real loyalty is strongest when both are present.

What is the difference between behavioral and attitudinal loyalty?

Behavioral loyalty is observed repeat behavior such as repeat purchases, retention and recency, measured from order or usage data. Attitudinal loyalty is preference and intention, such as willingness to recommend, measured only by asking. A customer can show one without the other, which is why both are needed.

How do you measure customer loyalty?

Use behavioral metrics from your own data, such as repeat purchase rate, purchase frequency, retention rate and RFM groups, and an attitudinal metric from a survey, such as Net Promoter Score. In the example, 28.0% repeat rate and 30.0% retention sit next to an NPS of +25 from 400 respondents.

What is spurious loyalty?

Customers who buy repeatedly without a real preference, out of habit, convenience or lack of alternatives. They look loyal in behavior data but leave when a competitor matches convenience. In the example, 60 of the 180 surveyed repeat buyers were not promoters, a third of them.

See this number on your own site

Add one script tag for web and apps, and the first reports fill in within minutes.

See your data clearly. Find your growth.

Every click, backed by data. Install one line of code and see your first numbers in a minute.

No credit card · Free plans for analytics and chat · Cookieless analytics