Skip to content

Conversation

AlexD717
Copy link
Member

@AlexD717 AlexD717 commented Aug 21, 2025

Task

Add more analytics events

AARD-2097

Symptom

Our analytics system currently only tracks basics analytics and robot import events. This means that there is some data about how users use our product that could be helpful to us, but we don't record.

Solution

Add more analytics events that could be helpful

Match Mode Events

  • Match Start (called on match start)
  • Match End (called on match end)
  • Match Mode Config Created (created config with gui tool)
  • Match Mode Config Uploaded (successfully uploaded a valid json match mode config)
    These can be helpful to see how match mode is utilized, and what is tools are most often used.

Graphic Settings Event

  • Calls when graphics settings are changed
    Already send events about average fps and performance sample. Can be useful to identify what settings most users are using.

Drag Mode Events

  • Drag Mode Enabled
  • Drag Mode Disabled (plus how long it was enabled for)

Can be useful to determine if drag mode is being utilized and how much

Mode Selected Event

  • Called when pressing "singleplayer", "multiplayer", or "load default" in main menu.
    Useful to determine which mode is most used and how many people actually tried to use multiplayer/singleplayer

Verification

Navigating onto our google analytics page and going into debug view, results in the events being called at the corresponding time with the appropriate parameters.


Before merging, ensure the following criteria are met:

  • All acceptance criteria outlined in the ticket are met.
  • Necessary test cases have been added and updated.
  • A feature toggle or safe disable path has been added (if applicable).
  • User-facing polish:
    • Ask: "Is this ready-looking?"
  • Cross-linking between Jira and GitHub:
    • PR links to the relevant Jira issue.
    • Jira ticket has a comment referencing this PR.

@AlexD717 AlexD717 self-assigned this Aug 21, 2025
@AlexD717 AlexD717 marked this pull request as ready for review August 21, 2025 17:23
@AlexD717 AlexD717 requested review from a team as code owners August 21, 2025 17:23
@AlexD717 AlexD717 requested a review from rutmanz August 21, 2025 18:23
Copy link
Member

@ryanzhangofficial ryanzhangofficial left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Definitely will unearth important insights!

@BrandonPacewic BrandonPacewic mentioned this pull request Aug 28, 2025
@BrandonPacewic BrandonPacewic merged commit 4857ff4 into dev Aug 28, 2025
17 checks passed
@BrandonPacewic BrandonPacewic deleted the alexey/2097/more-analytics branch August 28, 2025 21:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants