Skip to content

Customer Loyalty

Definition

Customer Loyalty is a measure of a customer’s likelihood to repeatedly engage with and purchase from a brand over time, often driven by positive experiences, satisfaction, and perceived value. Loyal customers show a strong preference for a brand, even when alternatives are available.

Description

Customer Loyalty is a key indicator of brand strength and long-term retention, reflecting how likely customers are to return, refer, and advocate for your product. It supports decisions across engagement, upsell readiness, and community building—and acts as a safeguard for your bottom line.

The relevance and interpretation of this metric shift depending on the model or product:

  • In B2B SaaS, it highlights renewal likelihood and willingness to expand
  • In eCommerce, it reflects repeat purchasing behavior and seasonal dependability
  • In community-led or DTC brands, it surfaces advocacy and share-of-wallet loyalty

A rising loyalty trend typically signals satisfaction, value realization, and emotional brand connection, while a drop may indicate poor CX, value erosion, or competitor encroachment. By segmenting loyalty by behavior, lifecycle stage, or demographic, you unlock insights for personalized engagement, retention strategy, and VIP program design.

Customer Loyalty informs:

  • Strategic decisions, like launching rewards programs or prioritizing retention over net-new acquisition
  • Tactical actions, such as targeting loyal users with referrals, upsells, or advocacy asks
  • Operational improvements, including CS team focus or automating milestone-based rewards
  • Cross-functional alignment, by connecting product, marketing, and CS around a shared view of true customer connection

Key Drivers

These are the main factors that directly impact the metric. Understanding these lets you know what levers you can pull to improve the outcome

  • Consistent Product Value Delivery: When users repeatedly get value from the product, loyalty increases. Fluctuating value or downtime erodes trust.
  • Emotional Connection to Brand: Loyalty deepens when customers feel aligned with your mission or community — not just your features.
  • Reward or Recognition for Advocacy: Programs that highlight or incentivize loyal behavior reinforce it. Without reinforcement, enthusiasm fades.

Improvement Tactics & Quick Wins

Actionable ideas to optimize this KPI, from fast, low-effort wins to strategic initiatives that drive measurable impact.

  • If loyalty is weak post-onboarding, add milestone rewards (e.g., badges, perks) for product achievements or long-term use.
  • Add NPS or referral prompts after repeat usage patterns, when users are already in a success mindset.
  • Run a “customer spotlight” campaign highlighting power users, reinforcing emotional connection and community.
  • Refine messaging to tie product success to user identity or mission (“You’re helping your team run smoother every week”).
  • Partner with customer marketing to launch a loyalty program or ambassador tier for long-time users.

  • Required Datapoints to calculate the metric


    • Repeat Purchase Rate: The percentage of customers who make additional purchases.
    • Average Purchase Frequency: How often customers buy from the brand over a specific period.
    • Net Promoter Score (NPS): Measures how likely customers are to recommend the product, indicating loyalty.
    • Engagement Metrics: Interactions with content, loyalty programs, referral programs, and user communities.
    • Customer Feedback and Reviews: Ratings and reviews can indicate loyalty and satisfaction.
  • Example to show how the metric is derived


    A retail brand evaluates loyalty through NPS:

    • Survey Results: 70% of respondents are Promoters, 20% are Passives, and 10% are Detractors.
    • NPS = (% Promoters − % Detractors) = 70% − 10% = 60

Formula

Formula

\[ \mathrm{Customer\ Loyalty\ Score} = \left( \frac{\mathrm{Repeat\ Purchase\ Rate} + \mathrm{Net\ Promoter\ Score} + \mathrm{Loyalty\ Participation\ Rate}}{3} \right) \]

Data Model Definition

How this KPI is structured in Cube.js, including its key measures, dimensions, and calculation logic for consistent reporting.

cube('CustomerLoyalty', {
  sql: `SELECT * FROM customer_loyalty`,

  measures: {
    repeatPurchaseRate: {
      sql: `repeat_purchase_rate`,
      type: 'number',
      title: 'Repeat Purchase Rate',
      description: 'The percentage of customers who make additional purchases.'
    },
    averagePurchaseFrequency: {
      sql: `average_purchase_frequency`,
      type: 'number',
      title: 'Average Purchase Frequency',
      description: 'How often customers buy from the brand over a specific period.'
    },
    netPromoterScore: {
      sql: `net_promoter_score`,
      type: 'number',
      title: 'Net Promoter Score',
      description: 'Measures how likely customers are to recommend the product, indicating loyalty.'
    },
    engagementMetrics: {
      sql: `engagement_metrics`,
      type: 'number',
      title: 'Engagement Metrics',
      description: 'Interactions with content, loyalty programs, referral programs, and user communities.'
    },
    customerFeedback: {
      sql: `customer_feedback`,
      type: 'number',
      title: 'Customer Feedback and Reviews',
      description: 'Ratings and reviews can indicate loyalty and satisfaction.'
    }
  },

  dimensions: {
    id: {
      sql: `id`,
      type: 'string',
      primaryKey: true,
      title: 'ID',
      description: 'Unique identifier for each record.'
    },
    customerId: {
      sql: `customer_id`,
      type: 'string',
      title: 'Customer ID',
      description: 'Unique identifier for each customer.'
    },
    createdAt: {
      sql: `created_at`,
      type: 'time',
      title: 'Created At',
      description: 'The time when the record was created.'
    }
  }
});

Note: This is a reference implementation and should be used as a starting point. You’ll need to adapt it to match your own data model and schema


Positive & Negative Influences

  • Negative influences


    Factors that drive the metric in an undesirable direction, often signaling risk or decline.

    • Fluctuating Product Value: Inconsistent delivery of product value erodes customer trust and loyalty, leading to decreased engagement.
    • Lack of Emotional Connection: Without an emotional connection to the brand, customers are more likely to switch to competitors, reducing loyalty.
    • Absence of Reward Programs: Without programs to reward or recognize loyal behavior, customer enthusiasm and loyalty can diminish over time.
    • Poor Customer Service: Negative experiences with customer service can significantly reduce customer loyalty, as customers may feel undervalued.
    • High Switching Costs: If customers perceive high costs or barriers to switching, they may remain out of necessity rather than loyalty, which can be detrimental if alternatives become more accessible.
  • Positive influences


    Factors that push the metric in a favorable direction, supporting growth or improvement.

    • Consistent Product Value Delivery: When customers consistently receive value from the product, their trust and loyalty increase, leading to repeat purchases and engagement.
    • Emotional Connection to Brand: Customers who feel an emotional connection to the brand are more likely to remain loyal, as they align with the brand's mission and community.
    • Reward or Recognition for Advocacy: Programs that reward or recognize loyal customers for their advocacy reinforce positive behavior and increase loyalty.
    • Customer Satisfaction: High levels of customer satisfaction lead to increased loyalty, as satisfied customers are more likely to return and recommend the brand.
    • Perceived Value: When customers perceive high value in the brand's offerings, they are more likely to remain loyal, even when alternatives are available.

Involved Roles & Activities


Funnel Stage & Type

  • AAARRR Funnel Stage


    This KPI is associated with the following stages in the AAARRR (Pirate Metrics) funnel:

    Retention

  • Type


    This KPI is classified as a Lagging Indicator. It reflects the results of past actions or behaviors and is used to validate performance or assess the impact of previous strategies.


Supporting Leading & Lagging Metrics

  • Leading


    These leading indicators influence this KPI and act as early signals that forecast future changes in this KPI.

    • Net Promoter Score: Net Promoter Score (NPS) directly measures a customer's likelihood to recommend the brand, which is a strong precursor and influencing signal for Customer Loyalty. High NPS values forecast increased loyalty, while drops can indicate looming loyalty risks.
    • Stickiness Ratio: The Stickiness Ratio (DAU/MAU) captures how habit-forming and engaging a product is. Frequent, repeat usage is a key behavioral driver of Customer Loyalty, making this ratio an early indicator and influencer of loyalty trends.
    • Customer Satisfaction Score: Customer Satisfaction Score (CSAT) reflects how satisfied customers are with their experiences. High satisfaction scores typically precede and contribute to increases in Customer Loyalty, while drops signal potential loyalty erosion.
    • Brand Awareness: Brand Awareness measures how familiar the target audience is with the brand. High awareness supports greater Customer Loyalty by increasing preference and emotional connection, and contextualizes loyalty shifts as the brand grows or contracts in the market.
    • Product Qualified Accounts: Product Qualified Accounts (PQAs) indicate accounts demonstrating high-value engagement and readiness to expand. They contextualize Customer Loyalty by identifying which customer segments are most likely to show high or increasing loyalty due to deep product fit and adoption.
  • Lagging


    These lagging indicators confirm, quantify, or amplify this KPI and help explain the broader business impact on this KPI after the fact.

    • Customer Retention Rate: Customer Retention Rate quantifies the percentage of customers who stay over time, providing a backward-looking confirmation and recalibration for Customer Loyalty measurement and strategy.
    • Churn Risk Score: Churn Risk Score predicts the likelihood of customer loss. Analyzing churn risk outcomes helps validate and refine leading loyalty indicators, improving loyalty forecasting and retention strategies.
    • Repeat Purchase Rate: Repeat Purchase Rate measures how often customers make additional purchases, quantifying the realized impact of Customer Loyalty and offering feedback for calibrating future loyalty initiatives.
    • Contract Renewal Rate: Contract Renewal Rate reflects how many customers choose to renew their contracts, providing concrete evidence of loyalty and helping to adjust loyalty-related forecasts and programs.
    • Net Revenue Retention: Net Revenue Retention (NRR) shows how retained and expanding revenue from existing customers tracks with predicted loyalty, allowing teams to recalibrate loyalty signals and refine strategies for future growth.