# What is a game analytics SDK?

> A game analytics SDK is a code library in your game that sends events, keeps a player ID, tracks sessions and queues events while the player is offline.

By Yos Riady. Updated 2026-11-18. Published 2026-11-18. Canonical URL: https://manalens.dev/glossary/sdk

A game analytics SDK is a code library that you add to your game to send events. It creates a player ID, starts and ends sessions, keeps events in a queue while the player is offline and sends them in batches. Manalens has SDKs for Godot, Unity, the web and Node.js.

## Key points

- Manalens has SDKs for Godot, Unity, the web and Node.js, and other engines can send events over HTTP.
- The Unity SDK needs Unity 2021.3 or later and sends no device ID, hardware details or IP address.
- The Godot and Unity SDKs send every 10 seconds or when 20 events wait.

## What does the SDK do for me?

The Godot and Unity SDKs send game_open, session_start, session_end, app_unclean_exit and error without any code. A session ends after 30 minutes without focus or events, and it is at most 24 hours old. Your code sends the game events, such as level_complete, and identify after a login.

The Unity SDK is plain C# with no native code. It works on Windows, macOS, Linux, Android, iOS and WebGL, and it needs Unity 2021.3 or later. It sends no device ID, no hardware details and no IP address. For another engine, send the same events over HTTP to POST /v0/events.

Sources: Manalens Godot SDK, Unity SDK, game events and app events documentation.

## What does an example look like?

Example numbers: with the default settings, the Godot and Unity SDKs send every 10 seconds or when 20 events wait. A player who makes 45 events in one minute causes about 2 sends of 20 events, and the last 5 go out on the next timer, on focus loss or on quit.

Sources: worked example; Manalens Godot SDK and Unity SDK documentation.

## Why does the SDK matter for indie PC and web games?

An SDK saves you from writing session logic, retries and a disk queue yourself. Check that it supports your engine and your platforms before you choose a tool.

An SDK that stores an ID and sends it also has a privacy side. The EDPB says software that sends stored information to an API endpoint is gaining access under Article 5(3) of the ePrivacy Directive. The Godot and Unity SDKs have a consent mode that records nothing before consent.

- [How to add analytics to a Godot game](https://manalens.dev/blog/godot-analytics)
- [How to add analytics to a Unity game](https://manalens.dev/blog/unity-analytics-without-gameanalytics)
- [Engine analytics compared](https://manalens.dev/blog/game-engine-analytics-compared)
- [Game tracking plan generator](https://manalens.dev/tools/game-tracking-plan-generator)

Sources: EDPB Guidelines 2/2023; Manalens Godot SDK and Unity SDK documentation.

## Frequently asked questions

### Which engines does Manalens have an SDK for?

Godot and Unity, plus a web SDK and a Node.js SDK. The Unity SDK needs Unity 2021.3 or later. A game in another engine can send the same events over HTTP to POST /v0/events with the publishable key and an app context.

### Does the SDK send a device ID?

No. The Unity SDK sends no device ID, no hardware details and no IP address. Each event carries a random anonymous ID, a session ID, the user ID after identify, and the app context: platform, storefront, version, build and engine.

### Can I use Manalens without an SDK?

Yes. A game in any engine can send the same events over HTTP to POST /v0/events with the publishable key and an app context. You then write the session logic, the retries and the disk queue yourself. The Godot and Unity SDKs do this work for you and send events every 10 seconds or at 20 events.

## Sources

- [EDPB: Guidelines 2/2023 on Technical Scope of Art. 5(3) of ePrivacy Directive, version 2.0 (adopted 7 October 2024)](https://www.edpb.europa.eu/system/files/documents/2024-10/edpb_guidelines_202302_technical_scope_art_53_eprivacydirective_v2_en_0.pdf)
- [Godot Engine documentation: File paths in Godot projects (read 19 November 2026)](https://docs.godotengine.org/en/stable/tutorials/io/data_paths.html)
- [Unity documentation: Application.persistentDataPath (read 19 November 2026)](https://docs.unity.com/en-us/engine/current/script-reference/unityengine/application/persistentdatapath)

## Related guides

- [How to add analytics to a Godot game](https://manalens.dev/blog/godot-analytics)
- [How to add analytics to a Unity game](https://manalens.dev/blog/unity-analytics-without-gameanalytics)
- [Game tracking plan generator](https://manalens.dev/tools/game-tracking-plan-generator)
- [Offline event queue](https://manalens.dev/glossary/offline-event-queue)
- [Event](https://manalens.dev/glossary/event)
