✦ What's new: Concurrent players on the Game KPIs board
☰
All featuresAttributionRetentionAudienceAnalyticsIntegrationsGrow Steam wishlistsSteam Next FestCreator marketingLaunch on SteamAsk AIFor game developersFor game studiosFor game publishersComparisonsPricingSecurityDocumentationFree toolsBlogGlossary

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.

  1. Install @manalens/web from npm.
  2. Create one SDK instance with your Publishable key and the app option.
  3. 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,
});

How to add analytics to a Three.js game →

See it in Manalens

Read the guides

Free tools

Keep players

Plan the events, then read retention, stability and lifetime value.

  1. Game tracking plan generator
  2. D1, D7, D30 retention calculator
  3. Crash-free rate calculator
  4. Player LTV calculator

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.

Measure what matters

Manalens makes growth simple, so you can focus on making games.

Book a demo