For the complete documentation index, see llms.txt. This page is also available as Markdown.

gameanalytics

Use GameAnalytics when the buyer's project uses the GameAnalytics platform.

GameAnalytics setup

1

Install the GameAnalytics Unity SDK

Install the official GameAnalytics Unity SDK through its supported UPM or custom package workflow.

Alternatively, import the official GameAnalytics Unity package.

2

Open the GameAnalytics window

Open:

Window > GameAnalytics
3

Configure the keys

Configure the buyer's game key and secret key.

4

Create the GameAnalytics object

Create exactly one GameAnalytics object in the first scene.

The GameAnalytics object must be present when the game starts.

Only one GameAnalytics object should exist in the entire game.

5

Save the scene

Save the scene.

6

Add the SDK define if needed

If the installed package does not define it automatically, add:

GAMEANALYTICS_SDK
7

Select GameAnalytics

Select GameAnalytics in GameSettings.

GameAnalytics IDs and keys

The following values belong in the GameAnalytics settings:

  • game key

  • secret key

GameAnalytics event mapping

The provider maps events as follows:

  • Level start, completion, and failure are sent as GameAnalytics progression events.

  • Ad impression, completion, reward, failure, and click are sent through the native GameAnalytics ad API.

  • Gameplay, popup, and IAP events are sent as GameAnalytics design events.

  • Common analytics parameters are sent as custom fields.

The Unity Analytics Schema Setup Wizard is not required for GameAnalytics.

Official documentation