Skip to content

Demographics & Hardware Profiling

The Demographics tracker automatically profiles connected clients to determine platform, input method, viewport resolution, and network latency.

Event Name Category Description
ClientDemographics demographics Dispatched from the client shortly after joining, containing platform and latency telemetry.
{
"platform": "PC",
"inputDevice": "KeyboardMouse",
"viewportWidth": 1920,
"viewportHeight": 1080,
"networkPingMs": 42,
"locale": "en_us",
"accountAgeDays": 580
}
  • VR: Detected via VRService.VREnabled.
  • Console: Detected via UserInputService.GamepadEnabled without KeyboardEnabled.
  • Mobile vs. Tablet: Detected via UserInputService.TouchEnabled, distinguishing tablets from phones based on minimum screen dimension ($\ge 600\text{px}$).
  • PC: Detected via UserInputService.KeyboardEnabled or MouseEnabled.
  • Latency (Ping): Captured using player:GetNetworkPing() * 1000.
  1. UI Optimization: Identify what percentage of your users have smaller phone resolutions so you can optimize touch buttons and text scaling.
  2. Lag Diagnostics: Pinpoint whether churn is correlated with high network ping ($>150\text{ms}$).
  3. Platform Prioritization: Direct development resources toward the platforms your players actually use.