Roblox
The Analyse module for Roblox experiences: install it, turn on HttpService and track purchases, credits and custom events.
The Analyse module is a single server-side ModuleScript. Require it once with your API key and it tracks players, sessions and servers on its own. Your code adds what only it knows: Robux purchases, credits and custom events.
What it tracks automatically
| Event | When |
|---|---|
| Server startup | When Analyse.new runs |
| Join | PlayerAdded, plus anyone already in the server at startup, with country and join data |
| Leave | PlayerRemoving, with how long they were in the server |
| Heartbeat | Every 30 seconds, with players online |
| Shutdown | On BindToClose: everyone still in gets a leave, then the server shuts down cleanly |
Join data includes LaunchData, ReferredByPlayerId and SourcePlaceId from Player:GetJoinData(), which is how tracked links, referrals and teleports are attributed.
What we do with the data
Analyse is analytics for your own experience, and nothing else.
- It stays with your experience. Players are never followed from one experience to another, and nothing is joined up with data from other creators' experiences.
- We don't sell or share it. Your data is never passed to advertising networks, data brokers or any other third party for their purposes.
- No profiles or ad targeting. We don't build advertising profiles of players, fingerprint devices, or link a player to accounts outside Roblox.
- What is sent: the Roblox user id of players in your experience, their sessions, purchases in your experience, and any events your own code sends. It's used to show you retention, funnels, progression, spending and experiment results for that experience.
- You stay in control. Deleting the module stops it at once, and you can ask us to delete your experience's data at any time. See the privacy policy.
This follows Roblox's rules on third-party integrations, which allow analytics for your own experience but not cross-experience tracking or sharing player data with advertisers.
In this section
- Install the module: add it to ServerScriptService, enable HttpService, set the key.
- API reference: every function, with examples for purchases, credits and events.