Unity Adobe Analytics | Community
Skip to main content
October 7, 2019
Question

Unity Adobe Analytics

  • October 7, 2019
  • 0 replies
  • 750 views

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.

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.