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

Avatar

Avatar
Level 1
ramona67947493
Level 1

Likes

0 likes

Total Posts

1 post

Correct Reply

0 solutions
View profile

Avatar
Level 1
ramona67947493
Level 1

Likes

0 likes

Total Posts

1 post

Correct Reply

0 solutions
View profile
ramona67947493
Level 1

07-10-2019

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.

Accepted Solutions (0)

Answers (0)