As a user, if something like this was implemented in anything I use, as long as it’s opt-in (not opt-out), I would probably agree after I make sure I’m ok with the data I would be sharing.
Opt-out is always an instant “hell no” for me. It feels too much like a pusher.