Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn more

View all

Sign in to view all badges

Unity Adobe Analytics

ramona67947493
Level 1
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