Loading...

The Consent Stitcher

A medium Pipeline Design interview practice problem on DataDriven. Write and execute real pipeline design code with instant grading.

Domain
Pipeline Design
Difficulty
medium
Seniority
staff

Problem

Our platform gets 100 million visitors a month and we monetize through health advertising and a premium membership. The problem is that most visitors start as anonymous users, then some create accounts during the session. Right now our analytics treats the pre-login and post-login parts of the same visit as two separate users, so we undercount engagement and overcount unique visitors. Design a pipeline that stitches sessions and handles the consent propagation required when users change their privacy settings.

Practice This Problem

Solve this Pipeline Design problem with real code execution. DataDriven runs your solution and grades it instantly.