Update RFV lifecycle to monthly windows
All checks were successful
Build and Deploy / build-and-deploy (push) Successful in 41s
All checks were successful
Build and Deploy / build-and-deploy (push) Successful in 41s
This commit is contained in:
@@ -36,12 +36,12 @@ const segmentDescriptions: Record<string, string> = {
|
||||
champions: 'Recentes, recorrentes e valiosos',
|
||||
potential_loyalists: 'Recentes e em evolução',
|
||||
new_customers: 'Primeira compra recente',
|
||||
loyal_customers: 'Bom histórico, compra entre 61 e 180 dias',
|
||||
need_attention: 'Perfil médio, compra entre 61 e 180 dias',
|
||||
about_to_sleep: 'Perfil baixo, compra entre 61 e 180 dias',
|
||||
at_risk: 'Histórico forte, sem compra entre 181 e 365 dias',
|
||||
hibernating: 'Sem compra entre 181 e 365 dias',
|
||||
lost: 'Sem compra há 366 dias ou mais'
|
||||
loyal_customers: 'Bom histórico, compra entre 8 e 15 dias',
|
||||
need_attention: 'Perfil médio, compra entre 8 e 15 dias',
|
||||
about_to_sleep: 'Perfil baixo, compra entre 8 e 15 dias',
|
||||
at_risk: 'Histórico forte, sem compra entre 16 e 29 dias',
|
||||
hibernating: 'Sem compra entre 16 e 29 dias',
|
||||
lost: 'Sem compra há 30 dias ou mais'
|
||||
};
|
||||
|
||||
const segmentActions: Record<string, string> = {
|
||||
@@ -351,7 +351,7 @@ const Rfm = () => {
|
||||
<p className="text-[10px] font-bold uppercase tracking-wider text-dark-muted">Rec. {recencyScore}</p>
|
||||
<p className="text-xs font-bold text-dark-text">{scoreLabel(recencyScore)}</p>
|
||||
<p className="mt-1 text-[10px] font-semibold text-dark-muted">
|
||||
{recencyScore === 3 ? '0 a 60 dias' : recencyScore === 2 ? '61 a 180 dias' : '181+ dias'}
|
||||
{recencyScore === 3 ? '0 a 7 dias' : recencyScore === 2 ? '8 a 15 dias' : '16+ dias'}
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user