How to turn off or Opt-Out of Homebrew Google Analytics GA Reporting?
I recently came across a thread where the author was complaining about Homebrew sending usage data to Google Analytics (probably using the Google Analytics server side events API). Here goes the infamous quote spitted out by almost every developer out there: "As a developer, I am frankly not comfortable sending out my brew command usage data".
Okay. You need not send it out. Here is how you turn off or opt-out of Homebrew's Google Analytics reporting:
Option 1: You can set this variable in your environment:
export HOMEBREW_NO_ANALYTICS=1
Option 2: Alternatively, this will prevent analytics from ever being sent. Run this command in your terminal:
brew analytics off
My Opinion: It is high time Open-source software developers start owning up analytics and push for basic analytics in the code they right, with an option for users to opt-out.
Although, the code written is for free, having meaningful usage data not only helps the developers in steering a project to the right direction, but also helps the users in the community as a whole.