If it's not opt in, it's spyware.
There is literally no data generated by my machine that you can take without me making an active choice to give it to you without being a bad human being. It is not your data. It's mine. There are zero exceptions.
There is exactly one valid way to collect user data. You ask permission, with precise details on how you intend to use it and how you will anonymize it. Then you respect the answer.
Literally every single bit of data you collect without explicit opt in is malicious and unacceptable.
There is no possible theoretical excuse for collecting anything from someone else's hardware (without a very deliberate opt in from them) that is forgivable, let alone valid. It is not your data to collect.
If you actually think it benefits the user, you should have no issue asking them for permission and telling them how it's in their interest. The fact that you won't just ask for permission is implicit acknowledgment that users don't agree with you and won't freely give it.