Demographics & Hardware Profiling
The Demographics tracker automatically profiles connected clients to determine platform, input method, viewport resolution, and network latency.
Events Dispatched
Section titled “Events Dispatched”| Event Name | Category | Description |
|---|---|---|
ClientDemographics |
demographics |
Dispatched from the client shortly after joining, containing platform and latency telemetry. |
Captured Demographics Data
Section titled “Captured Demographics Data”{ "platform": "PC", "inputDevice": "KeyboardMouse", "viewportWidth": 1920, "viewportHeight": 1080, "networkPingMs": 42, "locale": "en_us", "accountAgeDays": 580}Detection Logic
Section titled “Detection Logic”- VR: Detected via
VRService.VREnabled. - Console: Detected via
UserInputService.GamepadEnabledwithoutKeyboardEnabled. - Mobile vs. Tablet: Detected via
UserInputService.TouchEnabled, distinguishing tablets from phones based on minimum screen dimension ($\ge 600\text{px}$). - PC: Detected via
UserInputService.KeyboardEnabledorMouseEnabled. - Latency (Ping): Captured using
player:GetNetworkPing() * 1000.
Why This Matters
Section titled “Why This Matters”- UI Optimization: Identify what percentage of your users have smaller phone resolutions so you can optimize touch buttons and text scaling.
- Lag Diagnostics: Pinpoint whether churn is correlated with high network ping ($>150\text{ms}$).
- Platform Prioritization: Direct development resources toward the platforms your players actually use.