Skip to content

Commit

Permalink
chore(analytics): improve user prompt and link to policies
Browse files Browse the repository at this point in the history
  • Loading branch information
salmad3 committed Dec 5, 2023
1 parent d6595bd commit 58a605c
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions ignite/internal/analytics/analytics.go
Original file line number Diff line number Diff line change
Expand Up @@ -98,12 +98,14 @@ 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()
if err != nil {
return anonIdentity{}, err
Expand Down

0 comments on commit 58a605c

Please sign in to comment.