Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Optional Google Analytics #211

Open
Ash258 opened this issue Oct 24, 2021 · 1 comment
Open

Optional Google Analytics #211

Ash258 opened this issue Oct 24, 2021 · 1 comment
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@Ash258
Copy link
Owner

Ash258 commented Oct 24, 2021

As soon as shovel.ash258.com is ready and fully finished in these 2 months, it will be easy to combine and provide analytics for bucket maintainers and other interested entities.
No specific user tracking. Just anonymous environment data for future development and manifests usage.

config SHOVEL_ANALYTICS default to $true|1. Environment SHOVEL_DISABLE_ANALYTICS to 1

Gathered data:

  • Installations/downloads
    • Number of downloads (install/update/download) commands
    • Failed
    • Successful
      • Bucket/app@version
      • Architecture
      • URL/Bucket/local?
  • Environment
    • OS - Useragent
      • powershell version@architecture
    • Proxy used?
    • Download method aria/normal/other in future
  • Lessmsi/msiexec

Homebrew has it ideally and on point. Similar will be implemented.
https://docs.brew.sh/Analytics

Required implementation:

  • I like the idea about unique UUID stored in git config of $SCOOP_HOME
  • Differentiation from installations in CI and user is needed as main usage of Shovel should be Ci scenarios
  • Notify user while running first command after update
  • Public API for analytics consumers
  • Web UI to show them
@Ash258 Ash258 added the enhancement New feature or request label Oct 24, 2021
@Ash258 Ash258 added this to the Backlog milestone Oct 24, 2021
@Ash258 Ash258 self-assigned this Oct 24, 2021
@Ash258
Copy link
Owner Author

Ash258 commented Oct 24, 2021

In theory, additional layer of detailed information could be provided if user would want to take part.
Will see after the initial implementation

@Ash258 Ash258 mentioned this issue Oct 25, 2021
24 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant