2
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

Angular のアナリティクスをグローバルで設定する方法

Last updated at Posted at 2025-02-14

Angular では最初にコマンドを使用したときに Would you like to share anonymous usage data with the Angular Team at ... などと聞かれ、その結果に応じて angular.jsoncli.analytics が追加される。
この設定はプロジェクトごとの設定だが、グローバルに設定したかった。

ドキュメントを辿れば書いてあるが、ググってもそのものは出てこなかったのでメモ。

有効にしたい場合:
ng analytics enable --global=true
無効にしたい場合:
ng analytics disable --global=true

また、現在のグローバル、プロジェクトの設定は ng analytics info で両方確認できる。

2
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
2
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?