Analytics Report - KhalisFoundation/sttm-desktop GitHub Wiki

Analytics Events Documentation

This document contains all analytics events tracked in the SikhiToTheMax desktop application.

Event Structure

All events follow this structure:

  • category: The category/group of the event
  • action: The specific event name
  • label: Additional context/label (optional)
  • value: The value/data associated with the event (optional)

Event Report for 9.3.0 version until the date of 20-nov-2025: https://docs.google.com/spreadsheets/d/1Opfn064nOfDPTw_Wmwq-nW2QH07mGac3MOFx8CZ6Po4/edit?usp=sharing


Notes

  1. Some events are triggered multiple times with different parameters (e.g., codePresented is called twice).
  2. The value field can contain various data types: strings, numbers, booleans, or objects.
  3. Some events use i18n translation keys for labels/values, which may vary based on language settings.
  4. Events are only sent when the application is online (checked via isOnline()).
  5. The analytics system uses Aptabase for event tracking.

File Locations

  • Analytics class: analytics.js
  • Main app initialization: app.js
  • Most event tracking: Various component files in www/main/