Waterbase guide

Unity setup

Download the Waterbase Unity SDK before setting up your project.

  1. In Unity 2022.3 LTS or later, open Package Manager and choose Add package from tarball. Select the downloaded .tgz file.
  2. Use the HTTPS address of your Waterbase deployment and the public key provisioned for your game and environment.
  3. Initialize the SDK on Unity’s main thread when consented gameplay analytics begins. Send a test event and check the dashboard’s recent events for your game.
using Waterbase.Analytics;

Analytics.Initialize(
    "https://analytics.example.com",
    "your-public-game-key",
    "1.2.0");
Analytics.Track("level_complete");

The SDK queues events locally when connectivity drops. Store trusted purchase credentials on your backend.

Metric definitions

Daily active players
Distinct installations with qualifying gameplay activity on a UTC date. Period active players are counted once across the selected period.
Retention
The share of a first-play cohort that returns on the exact target day, such as day 1, 7, or 30. A cohort becomes eligible after the target UTC day ends.
Revenue
Net revenue subtracts full refunds from gross purchases within the selected period. The dashboard keeps each currency separate.
Custom events
Accepted events you define in Unity. Event reports show event counts and distinct players and support filters on tracked properties.