Quickstart
Get from an uninstrumented scene to your first heatmap in three steps.
-
Install the connector for your engine.
Terminal window npm i @uptimizr/babylonTerminal window npm i @uptimizr/threeTerminal window npm i @uptimizr/playcanvasTerminal window npm i @uptimizr/r3fTerminal window npm i @uptimizr/aframe -
Call
trackScenewith your project id and collector endpoint.import { trackScene } from "@uptimizr/babylon";const tracker = trackScene(scene, {projectId: "my-3d-app",endpoint: "https://collector.example.com",});// later, on teardowntracker.dispose(); -
Open the dashboard and watch heatmaps fill in as users explore your scene.
What you get out of the box
Section titled “What you get out of the box”With the one-call setup above, Uptimizr captures — at privacy-safe default rates — camera/gaze pose, pointer movement and clicks, mesh picks, performance, and session lifecycle. Discrete events (clicks, mesh interactions, scene changes, custom events) are always captured at 100%; continuous channels (camera, pointer, perf) are sampled at conservative defaults you can raise.
Custom events
Section titled “Custom events”Track your own domain events on the same envelope:
tracker.track("add_to_cart", { sku: "ABC-123", price: 49 });tracker.setScene("level-2"); // segment analytics by scene/area/levelNext steps
Section titled “Next steps”- Prefer a
<script>tag over npm — see Install via CDN / script tag. - Tune capture fidelity, scene actors, and opt-in channels — see the configuration reference and mesh & object tracking.
- Capture custom events, input actions, and scene changes — see custom events & input.
- Track game levels, viewers that swap models, or multi-room walkthroughs in one session — see multi-scene experiences.
- Re-drive a session in your own scene — see session replay.
- Understand events, heatmaps, and replay — see Concepts.
- Run the collector and dashboard yourself — see Deploy & self-host.