Expand my Community achievements bar.

Unity Adobe Analytics

Avatar

Level 1

Hello, I'm trying to implement Unity Analytics on my game, but I'm not too sure how to configure the events and variables.

Let's suppose I want to add a counter. The event is configured to be "event83" on the client workspace, so I use this syntax:

Dictionary<string, object> cdata = new Dictionary<string, object>();

cdata.Add("&&events", "event83=1");

ADBMobile.TrackAction("Game Launch", cdata);

Another example, I reached level 3 of my game, I want to add another counter (event76) alongside with the level id (stored on evar52), so I use this syntax:

Dictionary<string, object> cdata = new Dictionary<string, object>();

cdata.Add("&&events", "event76=1");

cdata.Add("evar52", 3);

ADBMobile.TrackAction("Game Advancement", cdata);

Is this correct? The Adobe Analytics for Unity is lacking documentation, and the sample test they provided does not work.

0 Replies