Most of the time yes, but not always. I can see a number of cases in which consent is called for, but it should be local and overwhelmingly clear why (eg. a direct survey involving sensitive data). In all other cases I would assume you’re doing sth not in the user’s interest.