TypeAlias.LoyaltyMetrics
type LoyaltyMetrics = {
activeAccounts: number;
netCirculation: string;
pointsBurned: string;
pointsInCirculation: string;
tierDistribution: {
accountCount: number;
requiredVisits: number;
tierName: string;
}[];
totalVisits: number;
walletInstallation?: {
appleInstalled: number;
applePercentage: number;
combinedInstalled: number;
combinedPercentage: number;
googleInstalled: number;
googlePercentage: number;
totalAccounts: number;
};
};
Loyalty metrics for tracking program engagement and customer behavior.
Used by the metrics dashboard to monitor loyalty program health.