Marketing technology  /  Loyalty and retention

Marketing technology · Category 11

Loyalty and retention

The cheapest revenue in the business and the easiest to get wrong with a points scheme nobody redeems. Retention technology is only worth building when the churn data can tell you who to keep.

What this layer controls

  • Recurring billing, dunning and involuntary churn
  • Points, tiers and redemption economics
  • Who is at risk, and what happens to them
  • Whether the programme is net-positive after rewards cost

What it looks like when it is wrong

These are the symptoms that show up in a marketing report or a Monday meeting. Each one has a technical cause in this layer, and each is cheaper to fix before it has a quarter of history behind it.

  • Churn is reported monthly with no cohort view
  • Involuntary churn from failed cards is not separated from voluntary churn
  • Points liability is not on any balance sheet
  • Win-back emails go to customers who already returned
  • Nobody can say what the programme costs per retained customer

An open-source stack for this layer

Every project below is open source and self-hostable, with the licence the project publishes today. This is a reference build, not a recommendation to run all of it: pick the layers your stack is missing.

LayerProjectLicenceWhat it does
SubscriptionsWooCommerce Subscriptions (or platform-native)GPL-3.0Recurring orders, dunning and status transitions.
Billing engineStripe Billing APIAPI termsRecurring invoices and retry logic when the card fails.
Cohortsdbt-core + warehouseApache-2.0Cohort retention and churn-reason models, with tests.
LifecycleMauticGPL-3.0Win-back and at-risk journeys driven by cohort membership.
LoyaltyYour own points ledgern/aAn append-only ledger beats a plugin option row when you need to audit liability.

Evaluation checklist

Answer each of these about your current stack. A ‘no’ is a work item, and the count is a fair summary of the layer’s health.

  • Is churn split into voluntary and involuntary?
  • Does dunning retry on a schedule with a real card-update flow?
  • Is points liability measurable and reported?
  • Are win-back audiences excluded once they return?
  • Is programme ROI computed net of rewards, not gross?
  • Does every retention message have a measured incremental effect?

What to instrument

Numbers that make the layer’s health visible before a customer complains.

  • Cohort retention at 30/90/365 days
  • Involuntary churn share
  • Repeat purchase rate
  • Programme cost per retained customer

Scope. This page describes the category and an open-source way to build it. It does not publish 5 Kings’ internal method, client data or vendor terms, and it is not an endorsement of every project listed: check the licence and the maintenance activity against your own constraints before you adopt one.

Open-source Guides & PDFs