Configures the gathering of Angular CLI usage metrics.
ng analyticsYou can help the Angular Team to prioritize features and improvements by permitting the Angular team to send command-line command usage statistics to Google. The Angular Team does not collect usage statistics unless you explicitly opt in. When installing the Angular CLI you are prompted to allow global collection of usage statistics. If you say no or skip the prompt, no data is collected.
Usage analytics include the commands and selected flags for each execution. Usage analytics may include the following information:
Only Angular owned and developed schematics and builders are reported. Third-party schematics and builders do not send data to the Angular Team.
This command has the following sub-commands:
| Option | Description | Value Type | Default Value |
|---|---|---|---|
--help | Shows a help message for this command in the console. | boolean |
ng analytics disableng analytics offDisables analytics gathering and reporting for the user.
| Option | Description | Value Type | Default Value |
|---|---|---|---|
--global | Configure analytics gathering and reporting globally in the caller's home directory. Aliases: -g | boolean | false |
ng analytics enableng analytics onEnables analytics gathering and reporting for the user.
| Option | Description | Value Type | Default Value |
|---|---|---|---|
--global | Configure analytics gathering and reporting globally in the caller's home directory. Aliases: -g | boolean | false |
ng analytics infoPrints analytics gathering and reporting configuration in the console.
ng analytics promptPrompts the user to set the analytics gathering status interactively.
| Option | Description | Value Type | Default Value |
|---|---|---|---|
--global | Configure analytics gathering and reporting globally in the caller's home directory. Aliases: -g | boolean | false |
© 2010–2023 Google, Inc.
Licensed under the Creative Commons Attribution License 4.0.
https://angular.io/cli/analytics