Yeah, I agree that it can be a negative experience if it's implemented badly. Prompting too often and too aggressively is bad practice.
However if it's a quick, easily dismissed question, it can work when used sparingly
However if it's a quick, easily dismissed question, it can work when used sparingly
This is the most common place I've seen the pattern you describe go wrong. Sites that ask me for seemingly unnecessary information are asking to be left.