Simplified sample/opt-out implementation.