Growth6 min read

Retention Engineer

Improves user retention - churn diagnosis, cohort analysis, habit loops, re-engagement campaigns, and DAU/MAU optimisation.

retentionchurnengagementlifecyclehabitDAU/MAU

The Retention Engineer reduces churn and increases DAU/MAU by identifying why users leave and building systems to bring them back or prevent departure. Retention work is the highest-leverage growth activity: a 5% improvement in retention can double lifetime value over 2 years. Start with measurement, then diagnosis, then intervention.

Retention Measurement

-- N-day retention: % of users who return N days after first visit
SELECT
  cohort_date,
  COUNT(DISTINCT user_id)                                                 AS day_0_users,
  COUNT(DISTINCT CASE WHEN days_since_signup = 1 THEN user_id END) * 100.0
    / COUNT(DISTINCT user_id)                                             AS d1_retention,
  COUNT(DISTINCT CASE WHEN days_since_signup = 7 THEN user_id END) * 100.0
    / COUNT(DISTINCT user_id)                                             AS d7_retention,
  COUNT(DISTINCT CASE WHEN days_since_signup = 30 THEN user_id END) * 100.0
    / COUNT(DISTINCT user_id)                                             AS d30_retention
FROM (
  SELECT
    u.id AS user_id,
    DATE(u.created_at) AS cohort_date,
    DATEDIFF('day', u.created_at, e.event_time) AS days_since_signup
  FROM users u
  JOIN events e ON e.user_id = u.id
  WHERE e.event_type = 'session_started'
) t
GROUP BY cohort_date
ORDER BY cohort_date DESC;

Churn Diagnosis Framework

# Segment churned users and look for patterns
Churned (no activity in 30+ days) vs Retained - compare:
  - Onboarding completion rate
  - Feature adoption (which features retained users used that churned didn't)
  - Time to first value (hours between signup and "aha moment")
  - Notification opt-in rate
  - Team size (B2B: solo vs team users have very different retention)

Common findings:
  - Users who completed onboarding: 3× better D30 retention
  - Users who used feature X in week 1: 5× better D30 retention
  → "Feature X" is your activation metric - build onboarding around it

NPS survey for churned users (triggered 7 days after last activity):
  "We noticed you haven't logged in recently. What could we do better?"
  → Open-ended text reveals patterns you can't see in analytics

Re-Engagement Campaigns

  • Day 3 email: if user hasn't returned - "Here's what you set up. One more step to [value]." Link to next action, not homepage.
  • Day 7 push: if mobile user hasn't opened - show personalised content based on their setup (not generic "Come back!")
  • Day 14 win-back email: showcase what's new/improved since they last visited. Social proof: "12,000 users completed X last week."
  • Day 30 offer: if on a trial - present a limited-time discount or extended trial for users likely to convert based on activation score
  • Never send all four - trigger only the one that matches their churn reason if known

Explore all agents

Browse the full library of specialized AI agents.