LogoStacked
Analytics SDK

Overview

Server-side SDKs for tracking player events and managing campaigns

The Analytics SDK provides server-side libraries for tracking player events, managing player data, and handling campaign offers and rewards.

Server-Side SDK

Analytics SDKs run in server environments. For client-side offer management, use the Client SDK.


Available SDKs

The Analytics SDK is available for Node.js/TypeScript and Go, with support for server-side event tracking and campaign management. All documentation includes examples in both languages.

See the Getting Started guide to begin integrating the SDK into your server application.

Core Features

  • Event Tracking - Track player sign-in/sign-up, currency transactions, item gains, progression, quests, and custom events
  • Campaign Management - Fetch offers, claim rewards, and generate JWTs for client authentication
  • Event Batching - Automatically batches events and sends them in configurable intervals
  • Automatic Retry - Exponential backoff retry logic for failed requests
  • Graceful Shutdown - Flushes event queue on process exit signals