Game analytics for Three.js games.
Three.js game analytics shows who plays your game, where players stop, whether they come back, and which posts and creators brought them. A Three.js game sends events with the Manalens JavaScript SDK from your own game code. There is no Three.js plugin, and the same code works in React Three Fiber.
Updated
The questions Manalens answers
What does Manalens track in a Three.js game?
The web SDK counts visitors, sessions and page views. When the game state changes, call track(). Send asset loading failures and lost WebGL contexts as errors.
Custom events →Is there a complete Three.js example?
Yes. The with-threejs example on GitHub is a complete game built with Vite, with level events and error tracking, so you can copy the setup.
Three.js install guide →Where do players stop in the first session?
Funnels show each step from launch to the first level complete, and user journeys show the paths players take. Break any report down by platform, version or build to find the release that broke a step.
Funnels →Do players come back after day one?
Retention shows day 1, day 7, and day 30 returns by the week players started. So you see whether a patch or a demo update held more players.
Retention →Which posts and creators bring players?
Give each post and creator a tagged link. Attribution credits players, wishlists and sales to the campaign that brought them, and the Steamworks UTM report import joins Steam wishlists to the same campaigns.
Attribution →How to set up Three.js analytics
The setup takes a few minutes. Use the Publishable key from your project settings. It is safe to ship in a build.
- Install @manalens/web from npm.
- Create one SDK instance with your Publishable key and the app option.
- When a level starts or ends, call track(). Never call it in the render loop.
JavaScript
import { init } from '@manalens/web';
export const analytics = init({
publishableKey: 'YOUR_PUBLISHABLE_KEY',
app: { platform: 'web', engine: 'other', app_version: '1.0.0', build: '1' },
game: true,
});See it in Manalens
Funnels
Find the step where players stop, from launch to the first level complete.
Retention
See whether players come back on day 1, day 7 and day 30, release by release.
Read the guides
- Best analytics tools for Three.js games in 2026
- Poki vs CrazyGames vs GameDistribution: pay and rules
- Engine analytics compared: Unreal, Godot, GameMaker, Construct, Phaser
Free tools
Keep players
Plan the events, then read retention, stability and lifetime value.
Analytics for other game engines
Built for your team: Game analytics for game developers →
Frequently asked questions
Does it work with React Three Fiber?
Yes. The SDK is plain browser code, so create one instance outside your components and call track() from your game logic.
Can games from other engines share one project?
Yes. Every engine sends the same events to the same endpoint, with an engine field. Filter or break down any report by engine, platform or build.
Is there a free plan?
Not at this time. However, Growth and Scale come with a 14-day free trial, which you can cancel at any time. The free tools on this site need no account.