low complexity v1.1 extracted Referral Program Confidence: 100%
2
Components
43
Shared
0
User Stories
Yes
Analyzed

Description

This feature provides coordinators and peer mentors with visibility into the outcomes of their referral activity - how many invites were sent, how many were accepted, and how many expired without a signup. A referral stats summary surfaces these metrics in the coordinator team report and within each peer mentor's personal statistics view. The tracking is intentionally non-competitive: the goal is to give individual mentors a contribution feedback loop and to give coordinators an operational signal for where recruitment momentum is building or stalling, not to create inter-mentor leaderboards. Referral counts feed into the annual summary wrapped feature as a visible impact metric.

Sources & reasoning

The priority matrix explicitly names rekruttering alongside invite-link as the two sub-capabilities of the referral feature, directly motivating this second feature. Tracking is the feedback mechanism that sustains referral behavior without which invite sharing loses motivational value. Fase 3 placement in the matrix normalizes to v1.1. Structural dependency on invite-link-qr-sharing is clear since tracking only produces meaningful data once invites exist.

No source references — this artifact was included based on reasoning alone (see above).

Analysis

Business Value

Without a feedback loop, referral programs decay quickly because referrers have no confirmation that their effort produced results. Recruitment tracking closes this loop for both peer mentors (personal motivation, pride of contribution visible in their statistics and annual summary) and coordinators (operational insight, ability to follow up on stalled invites before they expire). For organizations like HLF that are actively growing their peer mentor base, understanding which channels and individuals are driving recruitment is a strategic management capability. Surfacing referral counts in the personal statistics view and annual summary also reinforces the platform's value proposition as a recognition and visibility tool, not only a reporting tool - a goal explicitly shared by NHF, HLF, and Barnekreftforeningen in the gamification discussion.

Implementation Notes

Referral outcomes are tracked by joining referral_invites against user registration events, producing sent, accepted, pending, and expired counts per referrer. A Referral Stats Service aggregates these counts and exposes them via a dedicated API endpoint consumed by both the coordinator team report screen and the peer mentor statistics dashboard. The data model is append-only: each invite state transition is recorded with a timestamp rather than updated in place, preserving full audit history. GDPR compliance requires that referral metadata be anonymizable on user deletion - the referrer must not be able to see personally identifying information about who followed their link, only aggregate counts. Stats are scoped to the organization tenant so cross-org leakage is structurally prevented.

Components (45)

Service Layer (1)

Data Layer (1)

Shared Components

These components are reused across multiple features

User Stories

No user stories have been generated for this feature yet.