Segment by value
Segment by Value for SMS Marketing
Use customer economics to choose a relevant message, offer, or pause. A large order history does not establish future demand, permission to text, or a reason to discount.
Write the measurement contract first
Give every segment an owner, purpose, version, as-of timestamp, source refresh deadline, and reporting currency. Define an observation window and timezone with explicit inclusive start and exclusive end boundaries. Choose windows from the product's purchase cycle and available history; compare customers with similar opportunity to buy. Keep lifetime totals separate from rolling-window measures.
- Recency: elapsed time since the most recent qualifying purchase as of the snapshot. Decide whether a fully returned order ceases to qualify and recompute accordingly.
- Frequency: count distinct qualifying orders in the window. Deduplicate order IDs and exclude test, cancelled, and unpaid orders under the written policy. Subscription renewals and replacements need explicit treatment.
- Observed contribution: net retained sales less product cost and attributable variable fulfillment, payment, return, and service costs. Exclude tax collected for authorities; treat shipping revenue and shipping expense consistently. Revenue alone is a different measure.
Record discounts and refunds in net sales once. Reverse refunded items and cancelled value; retain costs actually incurred rather than assuming every return restores all margin. For late refunds, choose and label either restated purchase cohorts or a current-period adjustment ledger. Do not switch methods between reports. Unsettled returns make recent contribution provisional.
Join order and consent records using verified customer identifiers. Do not merge people solely because they share a phone number or device. Quarantine ambiguous duplicates and reassigned numbers. Convert transactions using a documented rate source and date policy before adding currencies; preserve original amounts for reconciliation. Missing cost data means contribution is unknown, not zero.
Separate history, prediction, and intent
Observed value describes a past window. Predicted value estimates a future horizon under a model's assumptions; store its horizon, model version, training cutoff, coverage, and calibration results separately. Check predictions against later realized contribution on customers excluded from model fitting, including new-customer and seasonal cohorts. Avoid using future refunds or orders as inputs to a historical test.
Keep first-time buyers and customers with incomplete history in an explicit learning cohort. A new subscriber with no purchases has unknown purchase value. Offer preference collection or relevant education when permitted; do not label sparse history as low potential. If predictions are unavailable or poorly calibrated, use transparent observed cohorts and acknowledge uncertainty.
Within a comparable product and tenure cohort, inspect the distribution before setting value bands. Document ties, minimum data coverage, and boundary behavior. A one-off gift purchase can have high spend and low repeat intent; a frequent buyer can have low contribution after returns. Combine value with current product interest and lifecycle state rather than letting a single score own every campaign.
Translate cohorts into a job
- Repeat buyers with retained contribution and relevant product interest: test access or useful availability information before introducing an incentive.
- Previously valuable customers now outside their expected purchase cycle: check seasonality, support issues, and product fit before a recovery offer.
- Discount-associated orders with thin contribution: test whether a smaller incentive or no promotional send preserves more contribution. Past code use does not prove price sensitivity.
- Uncertain history: gather better data or use a permitted educational journey rather than forcing a VIP or low-value label.
Keep essential order and support communications outside promotional value prioritization. Use offer discipline for incentive design and channel coordination to resolve competing jobs.
Eligibility wins over segment membership
Build the candidate cohort, then intersect it with current permission for the intended channel and message purpose, destination eligibility, applicable sending restrictions, and reachable identity. Apply opt-outs, support-related pauses, purchase exits relevant to the job, frequency controls, and experiment exclusions again at dispatch. A delayed queue must not rely on yesterday's permission snapshot. If required evidence or suppression sync is missing, pause the affected promotional send.
Use the consent guide and quiet-hours guide to define the store's operating checks. Permission for one channel does not automatically authorize another. Value labels must never override a suppression.
Refresh on a documented schedule and on material order, refund, identity, or permission changes. Monitor source lag, join coverage, membership changes, and refund reconciliation. Give each queued job an expiry and recheck membership before sending; cancel a recovery message after a qualifying purchase. On segment replacement, retire old triggers and queued jobs, preserve audit and holdout records, and check for duplicate enrollment before enabling the new version.
Proposed acceptance fixtures
These scenarios are hypothetical checks for an implementation, not merchant results or universal thresholds.
- A fixture uses a 180-day window. An order exactly at its inclusive start counts; one at its exclusive end belongs to the next snapshot. A duplicate import must not increase frequency.
- A customer has 200 currency units in sales after discounts and a 50-unit refund. Retained sales are 150. If recorded attributable costs are 90, observed contribution is 60; do not subtract the discount or refund again.
- A buyer's only order is fully cancelled. Under a completed-order policy, frequency becomes zero and recency is unknown. Preserve any cancellation cost separately.
- A first-time buyer lacks product costs and a predictive score. Route to the learning cohort with unknown contribution; do not infer zero value or invent a prediction.
- A high-contribution customer opts out after audience export. Dispatch must exclude that customer. A later purchase must cancel a queued winback job even if the segment refresh has not run.
- Two profiles share an unverified phone and have orders in different currencies. Quarantine the join and normalize currency before any value-band assignment.
Measure incremental contribution and recover safely
Within each eligible cohort, randomly assign stable customer-level treatment and holdout groups before sending. Keep the holdout out of competing promotional jobs that would contaminate the comparison; continue required service communications. Predefine the observation and return windows, primary metric, sample requirements, and stopping rules. Small cohorts may not support a reliable lift estimate.
Compare mean realized contribution per assigned customer in treatment and holdout over the same window, then subtract incremental messaging and campaign operating costs per assigned customer. Use net sales after discounts and refunds, with product and variable costs counted once. Include nonbuyers and failed deliveries in assignment-based results. Report uncertainty, opt-outs, complaints, and return load alongside the estimate; attributed revenue and predicted value are not experimental lift.
For a hypothetical pilot, treatment contribution of 8 units per assigned customer versus 7 in holdout gives a 1-unit difference. With 0.20 units of incremental campaign cost, estimated incremental contribution is 0.80 per assigned customer before uncertainty and fixed overhead. Separately model total subscription and implementation costs when deciding whether the program is economically worthwhile; see pricing economics.
If data lag, refund corrections, duplicate jobs, or guardrail breaches invalidate the audience, stop new enrollments and pause queued promotional sends. Reconcile the source ledger, rebuild a versioned snapshot, test the fixtures, and reconcile counts before resuming. Keep an incident record and avoid compensating for a failed campaign with an automatic extra send. Retire segments that no longer produce a distinct useful decision; review the remaining calendar with campaign restraint.