Skip to content

Flying-Acorn/Analytics-Middleware-for-Unity

Repository files navigation

Dependencies:

Core

Per Adapter

Firebase

AppMetrica

GameAnalytics

Installation

After adding each adapter from the Release section, you need to add pass it to the AnalyticsManager in the Initialize method. Here is an example of how to add FirebaseAnalytics:

// DemoInitCall.cs
AnalyticsManager.SetDebugMode(true); // Optional, turn off in production
AnalyticsManager.SaveUserIdentifier(customUserId); // Optional
AnalyticsManager.Initialize(new List<IAnalytics> // Mandatory
{
    new GameAnalyticsEvents(),
    new FirebaseEvents(),
    new AppMetricaEvents("KEY")
});

See DemoInitCall scene within Demo folder for more details.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published