Push Notification to Session Funnel for Lapsed Facebook Users
Last updated: November 29, 2026
Quick Overview
For push notifications sent to users who had been inactive for 14 or more days, compute per notification type the share that were delivered, the share opened, and the share followed by a session of at least two minutes within one hour of sending.
Meta
November 29, 20260
0
0 solved
For push notifications sent to users who had been inactive for 14 or more days, compute per notification type the share that were delivered, the share opened, and the share followed by a session of at least two minutes within one hour of sending.
A reactivation funnel in the style of Meta's growth data science screens, where notifications are weighed against fatigue. The interviewer checks the eligibility definition, a send-anchored window, and that a quality session (not just an open) is the final step.
What the Interviewer Expects
- Defines lapsed users with a lookback before the send time
- Builds the funnel at the notification grain
- Anchors the one-hour window to the send time
- Requires a minimum session length for the last step
- Reports results by notification type with volumes
Key Topics to Cover
How to Approach This
- Clarify the schema and expected output format before writing queries.
- Use CTEs (WITH clauses) to break complex queries into readable steps.
- Consider window functions (ROW_NUMBER, RANK, LAG, LEAD) for ranking and sequential analysis.
- Watch for NULLs, duplicates, and edge cases in JOINs and GROUP BY.
- For pandas, prefer vectorized operations over row-by-row iteration.
Possible Follow-up Questions
- How would you measure the incremental effect of the notification rather than this funnel?
- How would you count notification disables as a cost?
- Why is the open rate misleading on Android versus iOS?
- How would you handle sessions started from the app icon soon after the notification?
Sharpen Your Skills on Codemia
Practice similar problems with our interactive workspace, get AI feedback, and track your progress.
Practice SQL ProblemsSample Answer
Clarify the Data
Tables: notif_sends(notif_id, user_id, notif_type, sent_ts), notif_status(notif_id, status, status_ts) with delivered and opened, and fb_sessions(user_id, start_ts, duration_s). Lapsed means...
Approach
Filter sends to lapsed users with NOT EXISTS on prior sessions. Pivot status events with conditional MAX. Check for a qualifying session with a correlated EXISTS inside a CASE. Aggregate by ty...