Recipe: SaaS Drop-off Recovery

For Stripe/Lemon/Paddle

Recover revenue from users who sign up but drop off at the payment screen. This is critical for SaaS businesses.

1. Capture on Sign Up
Identify the user as soon as they type their email.
tsx
// On your signup form input, track immediately
// This creates a "shadow cart" for the user before they even click buy
<input 
  type="email" 
  onBlur={(e) => {
    // 🔥 Magic: Capture the lead immediately
    retake.track({
      type: 'upgrade',
      email: e.target.value,
      userId: session.id, // or getSessionId()
      value: 29.00,
      items: [{ 
        id: "pro_monthly", 
        name: "Pro Plan (Monthly)", 
        price: 29.00
      }]
    });
  }} 
/>
2. Clear on Success
Stop the emails when they actually pay.
tsx
// On your success page / webhook handler
await retake.trackConversion({
  userId: session.id,
  value: 29.00,
  transactionId: "sub_123456" // Stripe/Paddle ID
});