google-analytics-opt-out

Install command:
brew install --cask google-analytics-opt-out

Name: Google Analytics Opt Out

Prevent website visitor's data from being used by Google Analytics JavaScript

https://tools.google.com/dlpage/gaoptout

/api/cask/google-analytics-opt-out.json (JSON API)

Cask code on GitHub

Current version: 1.0.1

Requires: macOS >= 10.12

google-analytics-opt-out is built for Intel macOS and so requires Rosetta 2 to be installed.
You can install Rosetta 2 with:
    softwareupdate --install-rosetta --agree-to-license
Note that it is very difficult to remove Rosetta 2 once it is installed.

Analytics:

Installs (30 days)
google-analytics-opt-out 12
Installs (90 days)
google-analytics-opt-out 47
Installs (365 days)
google-analytics-opt-out 153
Fork me on GitHub