Add anonymous analytics tracking like minecraft game version (1.21.10 or 1.8.9..) default disabled and opt#183
Open
jakubbbdev wants to merge 5 commits intoNoRiskClient:dev/curseforgefrom
Open
Conversation
added 2 commits
November 9, 2025 15:23
This commit integrates analytics event tracking for application behaviors, including launcher start, Minecraft start, tab clicks, profile creation/import, skin management, and more.
This commit introduces a reusable `dispatch_analytics_event` function, refactors analytics tracking methods to reduce duplication, and improves code maintainability by centralizing event property handling.
Contributor
|
Why should a open source launcher add user tracking??? |
Author
|
its for a new feature (trial dev project) |
…cepting/declining
Contributor
|
These are anonymous data so we can see how popular features and versions are. The data is completely player-independent, disabled by default, and can be turned off anytime. |
Contributor
|
looks nice ^-^ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This commit integrates analytics event tracking for application behaviors, including launcher start, Minecraft start, tab clicks, profile creation/import, skin management, and more.
Analytics Events
launcher_started: fired when the launcher boots (includes launcher version, Java version, OS info)minecraft_started: fired when a profile launches Minecraft (profile ID, game version, loader)tab_clicked: fired when the user switches sidebar tabsskin_added: fired when a skin is added (name, source type, source value)skin_deleted: fired when a skin is removed (name only)skin_selected: fired when a skin is applied (variant)skin_edited: fired when a skin is edited (name, variant)cape_selected: fired when a cape is equipped (cape hash, orunequipped)profile_created: fired when a profile is created (name, version, loader)profile_imported: fired when a profile is imported (name)color_changed: fired when the accent color changes (color name)beta_updates_toggled: fired when beta update checks are toggled (boolean)border_radius_changed: fired when the border radius slider changes (pixel value)