Search Unity

Is it possible to get an average number of each event parameters (ex : cause of death)

Discussion in 'Unity Analytics' started by Aladine, Oct 13, 2017.

  1. Aladine

    Aladine

    Joined:
    Jul 31, 2013
    Posts:
    195
    Hello,

    so in our game we have this Game over event code :

    Code (CSharp):
    1.  public static void gameOverEvent(string reason, int score, float averageSpeed, int coin)
    2.     {
    3.  
    4.         Analytics.CustomEvent("gameOver", new Dictionary<string, object>
    5.             {
    6.                 { "reason", reason },
    7.                 { "score", score },
    8.                 { "Average_Speed", averageSpeed },
    9.                 { "coin", coin }
    10.             }
    11.         );
    12.  
    13.   }
    It's working properly however am having a problem with the available data in the Unity Analytics dashboard,
    because we only have 6 "reason" parameters, in the Event Manager in UA dashboard we only see 4 of them :


    but plenty of the other parameters because most of the time they are always different but apparently if a player collect the same amount of coins again, it wont be sent ?

    What i want is a way to tell us how many time Player got killed by one of the 6 reasons we have, so we can tell which one is working properly and which is too hard and which is too easy, etc...

    We also want to know if there is a way to get the Average number of coins, score, and speed that players do every session.

    Is this possible ? if yes, can someone tell me how to do it ?

    Thank you
     
  2. ap-unity

    ap-unity

    Unity Technologies

    Joined:
    Aug 3, 2016
    Posts:
    1,519
    @Aladine

    You would be able to find all of that information on the Data Explorer page. The Event Manager page does not contain any data. It simply lists the events and parameters we have received. You can also disable disable unused events so they are not processed and no longer available in the dashboard.

    In the Data Explorer, you add each event and parameter you wish to see. There is a Pie Chart view that allows you to see the breakdown by parameter.

    pie-chart.png
    You can also view the average number of coins (or score, speed, etc.) per day in the Data Explorer as well. You will simply have to click the "+ Custom Event" link and add the gameOver event. Then you can select the parameter you are interested in (similar to the above image). Make sure you are checking the numeric parameter (with the # symbol). In the last box, you would select Average instead of count.
     
    Aladine likes this.
  3. Aladine

    Aladine

    Joined:
    Jul 31, 2013
    Posts:
    195
    @ap-unity

    Oh i see!

    Thanks a lot for the clarification :)

    One last "off topic" question please, is it possible to change the color of the data in the Data Explorer ? currently every new event gets a random color, and sometimes the colors are very close to each other, can we change that without removing/adding the event and hoping for a better color ?

    thanks
     
  4. ap-unity

    ap-unity

    Unity Technologies

    Joined:
    Aug 3, 2016
    Posts:
    1,519
    That feature is currently not supported, but you should consider adding it to our feedback site:
    http://feedback.unity3d.com/forums/unity/suggestions?category=analytics

    We use that site to determine where we can best focus our resources to provide features that developers are most interested in.

    I also wanted to mention one of the new Analytics features that you might find useful. We recently introduced Standard Events, a set of curated custom events focused on player experience.
    https://blogs.unity3d.com/2017/05/12/introducing-standard-events/

    In addition to helping you determine which events you want to add to your game, Standard Events will also grant you access to some of the upcoming features we have planned for our dashboard; features that require a deeper understanding of the different critical points in your game, like a "level_start" or "tutorial_complete", etc.

    The Analytics team is also working on a series of blog posts that go into each set of events in more detail.
    https://blogs.unity3d.com/2017/06/09/standard-events-explained-part-1-onboarding/
    https://blogs.unity3d.com/2017/08/09/standard-events-explained-part-2-application-and-progression/
     
    Aladine likes this.
  5. Aladine

    Aladine

    Joined:
    Jul 31, 2013
    Posts:
    195
    Thank you! will check these, really appreciate the help man :)