All software should, regardless of it being open-source or not. It should also be opt-in.
Not even anonymizing the data is also a MASSIVE red flag