Skip to content

Commit

Permalink
chore(analytics): improve user prompt and link to policies (#3806)
Browse files Browse the repository at this point in the history
* chore(analytics): improve user prompt and link to policies

* run `make format`

---------

Co-authored-by: Danilo Pantani <[email protected]>
Co-authored-by: Pantani <Pantani>
  • Loading branch information
salmad3 and Pantani authored Dec 5, 2023
1 parent 64b6aa4 commit 3c07f75
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions ignite/internal/analytics/analytics.go
Original file line number Diff line number Diff line change
Expand Up @@ -96,10 +96,12 @@ func checkDNT() (anonIdentity, error) {
i.DoNotTrack = false

prompt := promptui.Select{
Label: "Ignite collects metrics about command usage. " +
"All data is anonymous and helps to improve Ignite. " +
"Ignite respect the DNT rules (consoledonottrack.com). " +
"Would you agree to share these metrics with us?",
Label: "Ignite uses anonymized metrics to enhance the application, " +
"focusing on features such as command usage. We do not collect " +
"identifiable personal information. Your privacy is important to us. " +
"For more details, please visit our Privacy Policy at https://ignite.com/privacy " +
"and our Terms of Use at https://ignite.com/terms-of-use. " +
"Do you consent to the collection of these usage metrics for analytics purposes?",
Items: []string{"Yes", "No"},
}
resultID, _, err := prompt.Run()
Expand Down

0 comments on commit 3c07f75

Please sign in to comment.