We have an idea to add anonymous analytics reporting to get a glimpse of real usage (and places where people are struggling to improve), but are concerned if it’s ethical or not to do such intrusive things.
Is it acceptable for an open-source project to have this type of tracking, considering our materialistic plans to transform it into a business?
Supporting an option to opt-out of telemetry seems to be very ethical to me and in theory open source would allow one to unwind the telemetry so in some sense I think it is more ethical in open source than closed. In practice though I feel only a tiny percentage of people actually inspect let alone modify the open source they use so perhaps there is not practical advantage.
Now, I don't think an open-source project really needs usage analytics, because users can already get in contact with you and mention what they like/dislike about your product and what changes they expect.
On a website, or classic non-developer end-user project (e.g. website, web shop), customers rarely give feedback regarding the platform itself (or they rarely even know themselves what they want/how would they improve the platform).
It sends very minimal information about what command you ran
Analytics is pretty common with most collecting more, being on by default, and leaving you to discover the option in the docs. Not sure if this is compliant with GDPR, but asking seems more ethical or right to me
Note, you can track downloads in several ways if that is what you are most interested in.
The type of tracking also depends on what you are building. Is it a library, CLI tool, or full application with a UI? This will partially determine what is appropriate and available