Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

Count total events received

Discussion in 'Unity Analytics' started by DroidifyDevs, Oct 10, 2016.

  1. DroidifyDevs

    DroidifyDevs

    Joined:
    Jun 24, 2015
    Posts:
    1,724
    Hello!

    So I decided to add analytics for my project (1/2 for fun, 1/2 for learning from players). The game is this:

    The player jumps to the left. As he moves, different challenges spawn, the player needs to get past those. If the player dies on a challenge, I do this:

    Code (CSharp):
    1. Analytics.CustomEvent("gameOver", new Dictionary<string, object>
    2.         {
    3.             { "DeathUnit", DeathObjectName},
    4.         });
    Basically, I'm telling Unity Analytics what challenge the player died on.

    I thought that I could then see the total amount of deaths for each challenge. For example, I was expecting data like this:

    ChallengeType1, 5 total
    ChallengeType2, 1 total
    ChallengeType3, 9 total

    If I had data like that, I could draw the conclusion that ChallengeType2 is too easy, and ChallengeType3 is too hard. However, all the data I got (after 2 days of waiting) is:

    ChallengeType1
    ChallengeType2
    ChallengeType3

    This data is in the Analytics dashboard > Event Manager > Events and Parameters.

    So my question is: Is it possible to send an event, then count the total amount of events received of the same type? That way I could see what challenges are too easy or hard for the player.

    Thanks for your ideas!
     
  2. Antistone

    Antistone

    Joined:
    Feb 22, 2014
    Posts:
    2,832
    I believe you want to go to Analytics > Data Explorer. On the graph, click "+ Custom Event".
     
    ap-unity and DroidifyDevs like this.
  3. DroidifyDevs

    DroidifyDevs

    Joined:
    Jun 24, 2015
    Posts:
    1,724
    THANK YOU. It's my 1st time using Analytics, I'm surprised it was that easy.

    Now I get an awesome graph and already see where I failed most :)

     
    rayw24 and ap-unity like this.