Search Unity

Combine event data

Discussion in 'Unity Analytics' started by Nihil688, Jan 3, 2019.

  1. Nihil688

    Nihil688

    Joined:
    Mar 12, 2013
    Posts:
    373
    Hi all, I've recently started going in depth using Analytics and have been wondering whether there's a way
    to do combination events. At first that's what I thought would happen with the dictionary but instead it just gives me data in one place but disjointed.

    What I want to do is, create an event that tells me how long it took a user to unlock a room, I used this code:

    Code (CSharp):
    1.  
    2. CreateEvent( "Unlock Room", new Dictionary<string, object>()
    3.             {
    4.                 { "Room", CurrentRoom.Name },
    5.                 { "Time", span1.TotalMinutes },
    6.             } );
    7.  
    but it's not giving me what I need. Any idea how to manage that?
     
  2. Nihil688

    Nihil688

    Joined:
    Mar 12, 2013
    Posts:
    373
    Code (CSharp):
    1.  
    2. CreateEvent( "Unlock Room " + CurrentRoom.Name, new Dictionary<string, object>()
    3.             {
    4.                 { "Time", span1.TotalMinutes },
    5.             } );
    6.  
    I hope this is not the answer as this will just create a massive list of events rather an event with sub events if that makes sense
     
  3. JeffDUnity3D

    JeffDUnity3D

    Unity Technologies

    Joined:
    May 2, 2017
    Posts:
    3,685