Skip to content

axieinfinity/unity-axie-tracking

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

unity-axie-tracking

Tracking SDK for Unity Editor

Installation

Download and setup unity-axie-tracking package at this LINK Note: We will use the Import Asset Package option in the Unity Engine, follow the steps described in the official documentation.

Quick Implementation

1. Create API_KEY

  • Create new App on this
  • Fill info, app logo in Information section
  • Request App Tracking on App Permission then wait for approve.
  • After that you can generate new API KEY from App Tracking/Setting

2. Initializing Client & Identify

With this you can see Overview data like DAU, Retention DAU

AnalyticManager.InitManager(YOUR_API_KEY);
AnalyticManager.IdentifyLocalUser(); //INIT IDENTIFY LOCAL USER
// You can custom user data by use AnalyticManager.IdentifyCustomUser

3. Screen

You can you this for see: how players experience your game, where they stuck,... Screen

AnalyticManager.AddEvent(EventTypes.Screen, AnalyticConst.NewScreenEvent("game_over"));

4. Other Track

Use this for advanced data that depends on each project.

Track

AnalyticManager.AddEvent(EventTypes.Track, AnalyticConst.NewTrackGameOver(score));