{ "id": "cli/analytics", "title": "ng analytics", "contents": "\n
\n
\n mode_edit\n code\n
\n \n\n\n
\n \n CLI\n
\n\n \n
\n

ng analyticslink

\n
\n\n\n \n\n
\n \n

Configures the gathering of Angular CLI usage metrics. See https://angular.io/cli/usage-analytics-gathering.

\n\n \nng analytics <setting-or-project> <project-setting> [options]\n\n\n\n \n

\n \n Description\n

\n

The value of settingOrProject is one of the following.

\n\n\n \n\n \n\n

Arguments

\n\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
ArgumentDescriptionValue Type
<setting-or-project>\n

Directly enables or disables all usage analytics for the user, or prompts the user to set the status interactively, or sets the default status for the project.

\n\n \n
on|off|ci|project|prompt
<project-setting>\n

Sets the default analytics enablement status for the project.

\n\n \n
on|off|prompt
\n\n\n \n\n

Options

\n\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
OptionDescriptionValue TypeDefault Value
\n --help\n \n \n

Shows a help message for this command in the console.

\n\n \n
true|false|json|JSONfalse
\n\n\n \n
\n
\n\n\n" }