What does each engine give me for analytics?
Mostly an HTTP client, not a dashboard. Unreal has an analytics interface that needs a provider. GameMaker has HTML5 options for Flurry or Google Analytics. Godot, Construct and Phaser give you a way to make web requests. The table shows what each engine documents and the route to Manalens.
| Engine | What the engine documents | Route to Manalens |
|---|---|---|
| Unreal Engine | An abstract interface for analytics providers, with File Logging, Flurry and Multicast providers and Blueprint nodes | HTTP from C++ with FHttpModule; no SDK |
| Godot 4 | The HTTPRequest node for HTTP(S) requests | Godot SDK (GDScript addon, all export targets) |
| GameMaker | HTML5 options for Flurry or Google Analytics (one at a time); analytics_event is marked deprecated; http_request for any request | HTTP with http_request; no SDK |
| Construct 3 | The AJAX plugin to post data; JavaScript or TypeScript scripting | Web SDK in an HTML5 export on your own domain or on a portal host in Allowed origins; or app events with AJAX posts |
| Phaser | A JavaScript framework installed from npm or a CDN | Web SDK from npm on your own domain or on a portal host in Allowed origins; or app events with fetch() |
| Unity (for reference) | Unity Analytics in Unity Gaming Services | Unity SDK (Unity 2021.3 or later) |
Sources: Unreal Engine, Godot, GameMaker, Construct and Phaser documentation; Manalens SDK documentation.
How do I add analytics to a Godot game?
Use the Godot SDK. Copy the addon into addons/, enable the plugin, and call Manalens.init() once. It sends launches, sessions, errors and crashes for you, and it queues events on disk when the player is offline.
Sources: Manalens Godot SDK documentation.
How do I add analytics to an Unreal game?
Send events over HTTP from a C++ subsystem. There is no Manalens plugin for Unreal. Your code keeps a saved anonymous ID, starts sessions, adds a message ID to each event and sends batches of up to 50. A dedicated server can use the Node.js SDK in server mode.
Sources: Manalens app events and Node.js SDK documentation; Unreal Engine documentation, IHttpRequest.
How do I add analytics to a GameMaker game?
Call http_request with POST, a DS map of headers and a JSON body. The GameMaker manual says http_request takes the URL, the method, a DS map of headers and an optional body, and returns an async request ID. The result arrives in the Async HTTP event.
The built-in analytics options sit in the HTML5 game options, and the manual marks analytics_event as deprecated. So build the event envelope yourself, as for Unreal. Set engine to other, because the engine field takes godot, unity, unreal or other. Keep the anonymous ID in a save file, and send game_open, session_start and session_end with the convention names.
GML
var _headers = ds_map_create();
ds_map_add(_headers, "Content-Type", "application/json");
ds_map_add(_headers, "x-publishable-key", "YOUR_PUBLISHABLE_KEY");
var _body = json_stringify({
events: [{
type: "track", event: "level_complete", channel: "app", version: "0.1.0",
message_id: new_uuid(), // your own UUID helper
anonymous_id: global.anonymous_id, // a UUID kept in a save file
session_id: global.session_id,
original_timestamp: iso_now(), // your own UTC time helper
context: { app: { platform: "windows", storefront: "steam", build: "571", engine: "other" } },
properties: { level: 3, score: 1200 }
}]
});
request_id = http_request("https://YOUR_COLLECTOR_ENDPOINT/v0/events", "POST", _headers, _body);
ds_map_destroy(_headers);Sources: GameMaker manual, http_request, HTML5 Game Options and analytics_event; Manalens app events documentation.
How do I add analytics to a Construct or Phaser game?
Use the web SDK, because both run in a browser. Phaser installs from npm, so import the SDK in your game code. Construct supports JavaScript or TypeScript code in place of events, and its manual says scripts can use the browser Fetch API. You can also add the snippet to the exported HTML page, or post events with the AJAX plugin.
Set the app option, so every event carries the build, version, platform and storefront. The web SDK does not send game events for you: send game_open, session_start and session_end with track(). Construct projects can use the data-app attributes of the snippet instead of the npm options.
- How to add analytics to a Construct 3 game →
- How to add analytics to a Phaser game →
- Best analytics tools for three.js games in 2026 →
TypeScript (Phaser)
import { createAnalytics } from '@manalens/web';
const analytics = createAnalytics({
publishableKey: 'YOUR_PUBLISHABLE_KEY',
endpoint: 'https://YOUR_COLLECTOR_ENDPOINT',
app: { platform: 'web', storefront: 'itch', app_version: '1.4.0', build: '571', engine: 'other' },
});
analytics.track('game_open', { is_first_open: true });
analytics.track('session_start');
analytics.track('level_complete', { level: 3, score: 1200 });Sources: Manalens web SDK and app events documentation; Construct 3 manual, Scripting overview and AJAX; Phaser documentation, Installing.
How do I add analytics in other engines?
Send HTTP from the engine, as for Unreal and GameMaker. No other engine has a Manalens SDK today. Each guide below has the HTTP code in the engine's own language, with a saved player ID, an offline queue with retries, a consent flag and the rules for web, desktop and mobile builds.
- How to add analytics to a GameMaker game →
- How to add analytics to a Construct 3 game →
- How to add analytics to a Defold game →
- How to add analytics to a Bevy game →
- How to add analytics to a Phaser game →
- How to add analytics to a LÖVE (Love2D) game →
- How to add analytics to an RPG Maker MZ game →
- How to add analytics to a Ren'Py game →
- How to add analytics to a Pico-8 game →
- How to add analytics to a GDevelop game →
- How to add analytics to a MonoGame game →
- How to add analytics to a Raylib game →
- How to add analytics to a HaxeFlixel game →
- How to add analytics to a Stride game →
| Engine | HTTP call | Web build |
|---|---|---|
| GameMaker | http_request(), reply in the Async HTTP event | Yes (HTML5, GX.games) |
| Construct 3 | fetch() in a script, or the AJAX plugin | Yes; desktop and mobile exports also run in a browser engine |
| GDevelop | fetch() in a JavaScript code event; the network action has no header field | Yes; desktop and mobile exports also run in a browser engine |
| Phaser | Browser fetch() | Yes (browser only) |
| RPG Maker MZ | A plugin: Node https in NW.js, fetch() on the web | Yes |
| Ren'Py | renpy.fetch() with headers (Ren'Py 8.3 or later) | Yes |
| Defold | http.request() with a callback | Yes (HTML5) |
| LÖVE | lua-https in a love.thread (12.0, or built for 11.5) | No official web export |
| Pico-8 | No networking: GPIO bytes read by JavaScript in the HTML shell | HTML export only |
| Bevy | A crate such as ureq on the IoTaskPool | Needs a separate fetch sender |
| MonoGame | .NET HttpClient | No web target |
| Stride | .NET HttpClient, polled from a SyncScript | No web target |
| Raylib | libcurl on desktop, emscripten_fetch() on the web | Yes, with Emscripten |
| HaxeFlixel | haxe.Http (a thread on native targets) | Yes (HTML5) |
Sources: Manalens app events documentation.
What changes between a native build and a web build?
The channel and the origin rules. A native build (Unreal, GameMaker desktop, Godot desktop) sends app events: channel app, context.app and no page. Its HTTP client sends no Origin header, and the collector accepts the event with the Publishable key. The OS comes from the platform you send.
A web build runs in a browser, so the browser sends an Origin header. The request must come from your project domain, its subdomains or a host in Allowed origins. A web event (the web SDK, with context.page) also needs a page URL on one of those hosts. *.itch.zone is allowed by default, so app events and web events from an itch.io HTML5 build work without setup. The device, OS and browser come from the browser user agent.
Sources: Manalens app events documentation.
Which route should I choose?
Choose the one with the least code you must maintain. An SDK is less work than HTTP, because it already handles IDs, sessions, retries and offline queues.
- Godot or Unity: use the SDK. It sends sessions, launches, errors and crashes on its own.
- Phaser, Construct or any HTML5 game: use the web SDK with the app option, and send the three lifecycle events yourself.
- Electron desktop builds of web games: the web SDK in the renderer, and the Node.js SDK in app mode for the main process if you need it.
- Unreal or GameMaker: send HTTP, and copy the rules of the app event conventions exactly. Test with one curl request first.
- Any engine with a dedicated server on Node.js: add the Node.js SDK in server mode for server events.
Sources: Manalens SDK documentation.
How do I check that my events arrive?
Send one test event from a development build and look for it in the activity feed. The event detail shows the platform, storefront, app version, build and engine. If the event is missing, check the response code first.
Use a separate test project with its own Publishable key, so test sessions do not mix into real retention and crash numbers.
- Send game_open with is_first_open true and one session_start from a development build.
- A response of {"accepted":1} means the collector took the event. A 400 response refuses the batch, for example when an app object is not valid or a timestamp is more than 7 days old.
- A 403 response from a web build means the page host is not your project domain or one of its allowed origins. itch.io hosts (*.itch.zone) are allowed by default.
- Open the activity feed and check that the engine and build fields are set.
- Remove the test project key before you ship, and use the production Publishable key.
Sources: Manalens app events documentation.
How do I start?
Manalens is the analytics and growth engine built for games. Pick your engine's route, send the lifecycle events, and compare builds, platforms and storefronts in one project.
Sources: Manalens product documentation.
Frequently asked questions
Which game engines have a Manalens SDK?
Godot 4 and Unity 2021.3 or later have SDKs that send launches, sessions, errors and crashes for you. Browser games built with Phaser, Construct or other HTML5 engines use the web SDK. Unreal and GameMaker send events over HTTP to the same endpoint with the Publishable key.
Does GameMaker have built-in analytics?
Its manual lists HTML5 game options to enable Flurry Analytics or Google Analytics, one at a time, and marks the analytics_event function as deprecated. For desktop builds, or for your own tool, send events with http_request and a JSON body.
Does Unreal Engine have built-in analytics?
It has an abstract analytics interface. Your game calls the interface and a provider plugin sends the data. Epic documents File Logging, Flurry and Multicast providers and Blueprint analytics nodes. Manalens has no Unreal provider, so Unreal games send events over HTTP.
Can games from different engines share one project?
Yes. Every route sends the same envelope to the same endpoint. Set the engine field (godot, unity, unreal or other) and use the same event names, and the Game KPIs and Game health boards compare them. Filter or break down any report by engine, platform or build.
Sources and implementation
- Unreal Engine 5.9 documentation: In-Game Analytics (Epic Games, read 18 November 2026) ↗
- Godot documentation 4.7: HTTPRequest (read 18 November 2026) ↗
- GameMaker manual: http_request (read 18 November 2026) ↗
- GameMaker manual: HTML5 Game Options, Analytics (read 18 November 2026) ↗
- GameMaker manual: analytics_event, marked deprecated (read 18 November 2026) ↗
- Construct 3 manual: Scripting overview (Scirra, read 18 November 2026) ↗
- Construct 3 manual: AJAX plugin (Scirra, updated 11 March 2026) ↗
- Phaser documentation: Installing (read 18 November 2026) ↗