RFM segmentation

RFM 세분화

Prioritize customers by recency, frequency, and monetary value.

···
html
<div class="rfm"><div class="three"><div><b>R</b><i id="r"></i><small id="rnum">5</small></div><div><b>F</b><i style="width:80%"></i><small>4</small></div><div><b>M</b><i style="width:100%"></i><small>5</small></div></div><div class="label" id="label">LOYAL CUSTOMER</div></div>
css
.rfm{width:min(88%,520px);font:900 clamp(10px,max(2vmin,1vw),17px)/1.2 sans-serif}.three{display:grid;gap:clamp(10px,2.6vmin,22px)}.three>div{display:grid;grid-template-columns:22px 1fr 18px;gap:12px;align-items:center}.three b{font-size:clamp(17px,4vmin,30px)}.three i{height:clamp(13px,3.5vmin,27px);background:var(--accent);transition:width .7s}.three small{text-align:right}.label{margin-top:clamp(14px,3vmin,28px);border:2px solid var(--fg);padding:clamp(9px,2vmin,18px);text-align:center;color:var(--accent)}small{font-size:max(.833em,10px,1vw)}
js
let score=5;function show(){document.querySelector('#r').style.width=score*20+'%';document.querySelector('#rnum').textContent=score;document.querySelector('#label').textContent=score>=3?'LOYAL CUSTOMER':'WIN-BACK CANDIDATE';score=score===1?5:score-1}show();setInterval(show,1700);

RFM combines how recently someone bought, how often they buy, and how much they spend. It can show the current health of a relationship better than cumulative revenue alone.

The demo lowers one customer's recency score as time passes. Even a frequent, high-value buyer may become a win-back candidate after a long absence.

Set score bands around your category's buying cycle. A rapid repurchase rule will misclassify buyers of infrequent products.

When to use

Use it to prioritize repeat purchase and VIP relationship programs.

Open as page ↗